Subject: Lint errors for traditional C compatibility
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 02/05/2005 21:02:06
Now we are changing the source tree so that it won't compile with a
non-ansiC compiler, is it worth stopping lint complaining about
#elif and #error ?

(these come from passing -Wtraditional to cpp)

	David

Index: xlint.c
===================================================================
RCS file: /cvsroot/src/usr.bin/xlint/xlint/xlint.c,v
retrieving revision 1.35
diff -u -p -r1.35 xlint.c
--- xlint.c     20 Jun 2004 22:20:17 -0000      1.35
+++ xlint.c     5 Feb 2005 20:51:13 -0000
@@ -358,7 +358,9 @@ main(int argc, char *argv[])
 
        appdef(&cflags, "lint");
 
+#if 0
        appcstrg(&lcflags, "-Wtraditional");
+#endif
 
        appcstrg(&deflibs, "c");


	David

-- 
David Laight: david@l8s.co.uk