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

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

From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Neil Booth <neil@daikokuya.demon.co.uk>
Cc: <gcc-gnats@gcc.gnu.org>,  <zackw@stanford.edu>
Subject: Re: preprocessor/2881: code inside "#if 0" generates warnings with
 -pedantic
Date: Sun, 20 May 2001 22:44:02 +0100 (BST)

 On 20 May 2001, Neil Booth wrote:
 
 >  In other words, acceptance of
 >  
 >  #if 0
 >  // '
 >  #endif
 >  
 >  depends upon whether we accept //.  I'm tempted to leave it as it is,
 >  but we can turn of the warning if you think it's inappropriate.
 
 We should treat // as a comment in gnu89 or c99 mode, as two separate 
 tokens in strict c89 mode.  This includes in #if 0.
 
 -- 
 Joseph S. Myers
 jsm28@cam.ac.uk
 


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-20 14:46 preprocessor/2881: code inside "#if 0" generates warnings with-pedantic Joseph S. Myers

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).