Date: Fri, 07 Jan 2000 13:29:27 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: David Malone <dwmalone@maths.tcd.ie> Cc: current@FreeBSD.ORG Subject: Re: Lint still broken in -current (due to cpp). Message-ID: <13429.947244567@axl.noc.iafrica.com> In-Reply-To: Your message of "Fri, 07 Jan 2000 11:22:17 GMT." <200001071122.aa81066@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <13427.947244565.1@axl.noc.iafrica.com>
On Fri, 07 Jan 2000 11:22:17 GMT, David Malone wrote:
> I tried lint again since David O'Brien committed the new /usr/bin/cpp,
> but it turns out that lint is hardwried to use /usr/libexec/cpp.
> I changed it to use /usr/bin/cpp, and it works, but gives some
> error messages.
I submitted a patch on the cvs-all list yesterday. No feedback yet.
Ciao,
Sheldon.
------- =_aaaaaaaaaa0
Content-Type: message/rfc822
Content-ID: <13427.947244565.2@axl.noc.iafrica.com>
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
In-reply-to: Your message of "Mon, 03 Jan 2000 19:48:09 PST."
<200001040348.TAA76858@freefall.freebsd.org>
Date: Thu, 06 Jan 2000 16:46:31 +0200
Message-ID: <2295.947169991@axl.noc.iafrica.com>
Sender: sheldonh@axl.noc.iafrica.com
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");
------- =_aaaaaaaaaa0--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13429.947244567>
