Subject: CVS commit: pkgsrc/mk/compiler
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/30/2004 21:39:24
Module Name: pkgsrc
Committed By: jlam
Date: Tue Mar 30 21:39:24 UTC 2004
Modified Files:
pkgsrc/mk/compiler: gcc.mk
Log Message:
GCC has this annoying behaviour where it advocates in a multi-line
banner the use of "#include" over "#import" when including headers.
This generates a _huge_ number of warnings when building practically all
Objective-C code where it is convention to use "#import". Suppress
the warning if we're building Objective-C code using GCC by passing
-Wno-import to the compiler.
To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 pkgsrc/mk/compiler/gcc.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.