From owner-freebsd-hackers Sun Jun 7 10:28:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06092 for freebsd-hackers-outgoing; Sun, 7 Jun 1998 10:28:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06063 for ; Sun, 7 Jun 1998 10:28:43 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id JAA06442; Sun, 7 Jun 1998 09:24:06 -0700 (PDT) Message-Id: <199806071624.JAA06442@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Matthew Hunt cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: Irritating cpp feature In-reply-to: Your message of "Sun, 07 Jun 1998 08:44:15 EDT." <19980607084415.A261@flarn.dyn.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 09:24:06 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, Jun 07, 1998 at 12:53:48AM -0700, Mike Smith wrote: > > > #if 0 > > This is pointless text with one of ' in it. > > #endif > [...] > > The code obviously builds OK on other gcc-wielding platforms; is there > > something funny about our preprocessor? > > I think there is something correct about our preprocessor. I Don't > Have The Standard In Front Of Me (TM) but I think code that is > #ifdef'ed out must still be syntactically correct, so the sample that > you provided above is incorrect code. If somebody is using #ifdef > around English text, that is wrong. > > Anybody with the Standard care to verify? The only one I have is > the reprint of the Library portion of the Standard in Plauger's book. Whilst I respsect our desire to be correct, my chances of convincing the "owners" of this code to DTRT are almost vanishingly small, especially since much of the offending code comes from third parties. Given that the product builds on all of the major Unix platforms as well as Win32 without this problem, I really need a workaround. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message