Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 00:47:23 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 103927 for review
Message-ID:  <200608150047.k7F0lNqv071966@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103927

Change 103927 by jb@jb_freebsd2 on 2006/08/15 00:46:51

	Add a toggle to tell gcc to just STFU when it comes to "#pragma ident"
	that is used EVERYWHERE in OpenSolaris code.
	
	I want to be anble to warn up WARNS to have genuine warnings
	reported, but #pragma ident is just annoying, so just make it
	go away.
	
	This will allow me to undo a lot of the hacks that I've had to do
	to OpenSolaris files.

Affected files ...

.. //depot/projects/dtrace/src/share/mk/bsd.sys.mk#3 edit

Differences ...

==== //depot/projects/dtrace/src/share/mk/bsd.sys.mk#3 (text+ko) ====

@@ -52,5 +52,9 @@
 . endif
 .endif
 
+.if defined(IGNORE_PRAGMA)
+CWARNFLAGS	+=	-Wno-unknown-pragmas
+.endif
+
 # Allow user-specified additional warning flags
 CFLAGS		+=	${CWARNFLAGS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150047.k7F0lNqv071966>