public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/2882: code inside "#if 0" generates warnings with -pedantic
@ 2001-05-20 13:56 Carlo Wood
  0 siblings, 0 replies; only message in thread
From: Carlo Wood @ 2001-05-20 13:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR preprocessor/2882; it has been noted by GNATS.

From: Carlo Wood <carlo@alinoe.com>
To: "Markus F.X.J. Oberhumer" <markus@oberhumer.com>
Cc: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org
Subject: Re: preprocessor/2882: code inside "#if 0" generates warnings with -pedantic
Date: Sun, 20 May 2001 22:46:38 +0200

 On Sun, May 20, 2001 at 08:39:40PM +0200, Markus F.X.J. Oberhumer wrote:
 > bug01.c:10:1: C++ style comments are not allowed in ISO C89
 ...
 > #if 0
 > // int bar =3D 1;
 > #endif
 
 Comments are processed before control lines.  I don't see why this
 would be a bug.
 
 -- 
 Carlo Wood <carlo@alinoe.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-20 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-20 13:56 preprocessor/2882: code inside "#if 0" generates warnings with -pedantic Carlo Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).