From owner-freebsd-hackers Tue May 9 18:42:43 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA03434 for hackers-outgoing; Tue, 9 May 1995 18:42:43 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA03428 ; Tue, 9 May 1995 18:42:37 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id SAA06135; Tue, 9 May 1995 18:42:17 -0700 From: "Rodney W. Grimes" Message-Id: <199505100142.SAA06135@gndrsh.aac.dev.com> Subject: Re: This one looks very very suspecious to me.... To: obrien@leonardo.net (Mike O'Brien) Date: Tue, 9 May 1995 18:42:17 -0700 (PDT) Cc: terry@cs.weber.edu, gj@FreeBSD.org, hackers@FreeBSD.org In-Reply-To: <199505092321.QAA00215@caern.protocorp.com> from "Mike O'Brien" at May 9, 95 04:21:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 864 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > One problem with #ifdef as opposed to commenting something out > is that the current version of GCC seems to (try to) parse character > constants inside #ifdef blocks. Use of apostrophes inside #ifdef > comment blocks caused me fits while trying to port the Rand editor, > for example. Previous versions of the compiler didn't care. I ran into this too, trying to fix -Wcomment by putting some of the offending comment blocks that would be hard to change to *not* have nested comments (go read the sources to indent, and compile them -Wcomment to see what I am talking about.) #if 0 /* We are going to get an error here /* even though this * is inside an #if 0 */ #endif > > Mike O'Brien > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD