This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C99 usage in gcc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]