From owner-freebsd-current Fri Jan 7 3:30: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 6331615678 for ; Fri, 7 Jan 2000 03:30:01 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 126XaB-0003Uc-00; Fri, 07 Jan 2000 13:29:27 +0200 From: Sheldon Hearn To: David Malone Cc: current@FreeBSD.ORG Subject: Re: Lint still broken in -current (due to cpp). In-reply-to: Your message of "Fri, 07 Jan 2000 11:22:17 GMT." <200001071122.aa81066@salmon.maths.tcd.ie> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-ID: <13427.947244565.0@axl.noc.iafrica.com> Date: Fri, 07 Jan 2000 13:29:27 +0200 Message-ID: <13429.947244567@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ------- =_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 To: "David E. O'Brien" 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