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: gcc-in-cxx branch created


>>>>> "Kaveh" == Kaveh R GHAZI <ghazi@caip.rutgers.edu> writes:

Kaveh> We could also extend -Wc++-compat to warn about more things, using C++
Kaveh> reserved keywords like "class" in C comes to mind.

This isn't super hard, and IMO is worth doing (right now -Wc++-compat
seems almost silly in its limitations), but in lieu of implementing
this I've just been using #pragma GCC poison.

Tom


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