From owner-freebsd-hackers Sun Jun 7 01:58:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26171 for freebsd-hackers-outgoing; Sun, 7 Jun 1998 01:58:20 -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 BAA26163 for ; Sun, 7 Jun 1998 01:58:12 -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 AAA04355 for ; Sun, 7 Jun 1998 00:53:49 -0700 (PDT) Message-Id: <199806070753.AAA04355@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: hackers@FreeBSD.ORG Subject: Irritating cpp feature Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 00:53:48 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm coming across an irritating cpp feature trying to port a large body of foreign code; namely: #if 0 This is pointless text with one of ' in it. #endif Despite the #if-fing out, the quote is still parsed. Unfortunately, this conflicts with a substantial body of #if'd documentation, which contains (you guessed it) more comment delimiters. The code obviously builds OK on other gcc-wielding platforms; is there something funny about our preprocessor? -- \\ 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