C99 usage in gcc

Neil Booth neil@daikokuya.co.uk
Tue Feb 3 07:13:00 GMT 2004


Zack Weinberg wrote:-

> That is true, however, there are other constructs that *will* be
> misinterpreted: for example,
> 
> #ifdef __cplusplus
> // can't happen
> #endif
> 
> It is too hard to tell the difference at the point where the warning
> issues.

In 3.4 we permit the unmatched ' because of many complaints, so
perhaps we should conditionalize the // warnings on !skipping.
I'd be OK with that.

Neil.



More information about the Gcc mailing list