Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2000 16:46:31 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "David E. O'Brien" <obrien@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin Makefile src/usr.bin/cpp Makefile cpp.notraditional.sh cpp.sh src/gnu/usr.bin/cc Makefile src/gnu/usr.bin/cc/cpp Makefile 
Message-ID:  <2295.947169991@axl.noc.iafrica.com>
In-Reply-To: Your message of "Mon, 03 Jan 2000 19:48:09 PST." <200001040348.TAA76858@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 03 Jan 2000 19:48:09 PST, "David E. O'Brien" wrote:

>   Modified files:
>     usr.bin              Makefile 
>     gnu/usr.bin/cc       Makefile 
>     gnu/usr.bin/cc/cpp   Makefile 
>   Removed files:
>     usr.bin/cpp          Makefile cpp.notraditional.sh cpp.sh 
>   Log:
>   Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
>   wrapper.  /usr/bin/cpp knows about all the GCC predefined symbols and has
>   the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.

I think lint(1) might work with this given the following small patch.

Ciao,
Sheldon.

Index: xlint.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/xlint/xlint/xlint.c,v
retrieving revision 1.7
diff -u -d -r1.7 xlint.c
--- xlint.c	1999/01/25 11:25:24	1.7
+++ xlint.c	2000/01/06 14:03:29
@@ -321,7 +321,6 @@
 	libsrchpath = xcalloc(1, sizeof (char *));
 
 	appcstrg(&cppflags, "-lang-c");
-	appcstrg(&cppflags, "-undef");
 	appcstrg(&cppflags, "-$");
 	appcstrg(&cppflags, "-C");
 	appcstrg(&cppflags, "-Wcomment");


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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