Re: preprocessor/2882: code inside "#if 0" generates warnings with -pedantic

2001-05-20 Thread Carlo Wood
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 <[EMAIL PROTECTED]>

Re: preprocessor/2881: code inside "#if 0" generates warnings with -pedantic

2001-05-20 Thread Neil Booth
Markus F.X.J. Oberhumer wrote:- > #if 0 > // int bar =3D 1; > #endif Zack, what's you opinion of this? Whether we accept the // can affect tokenisation, which must still be valid in skipped blocks. In other words, acceptance of #if 0 // ' #endif depends upon whether we accept //. I'm tempted

Re: code inside "#if 0" generates warnings with -pedantic

2001-05-20 Thread David Starner
At 08:34 PM 05/20/2001 +0200, Markus F.X.J. Oberhumer wrote: > X-no-Archive: yes Please don't send messages to these lists with X-no-Archive: yes. Both of these lists are archived, and such a practice is necessary for open development. If you don't want it archived, don't send it. -- David Starner: