From owner-freebsd-hackers Sun Jun 7 05:43:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA23768 for freebsd-hackers-outgoing; Sun, 7 Jun 1998 05:43:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from flarn.dyn.ml.org (mph@usr341.third-wave.com [147.72.122.152]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA23763 for ; Sun, 7 Jun 1998 05:43:54 -0700 (PDT) (envelope-from mph@flarn.dyn.ml.org) Received: (from mph@localhost) by flarn.dyn.ml.org (8.8.8/8.8.8) id IAA00293; Sun, 7 Jun 1998 08:44:15 -0400 (EDT) (envelope-from mph) Message-ID: <19980607084415.A261@flarn.dyn.ml.org> Date: Sun, 7 Jun 1998 08:44:15 -0400 From: Matthew Hunt To: Mike Smith , hackers@FreeBSD.ORG Subject: Re: Irritating cpp feature References: <199806070753.AAA04355@antipodes.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199806070753.AAA04355@antipodes.cdrom.com>; from Mike Smith on Sun, Jun 07, 1998 at 12:53:48AM -0700 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. -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message