Re: mc-4.6.1 release?



On Fri, Oct 22, 2004 at 11:30:25AM +0200, Roland Illig wrote:
> Jakub Jelinek wrote:
> >I don't see what is GNU style on it.
> >ISO C99, 6.10.1 says:
> >...
> >After all replacements due to macro expansion and the defined unary 
> >operator
> >have been performed, all remaining identifiers are replaced with the
> >pp-number 0, and then each preprocessing token is converted into a token.
> >...
> 
> Oh, I haven't seen that before. Interesting. But nevertheless gcc warns 
> about using #if with an undefined symbol.

Only if -Wundef is explicitely specified (-Wundef is not included in
-Wall nor -W, nor even e.g. -pedantic -std=c89 warns about it).
There are many warnings that are issued even for conforming code
if people commonly make errors in it.

	Jakub



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]