This is the mail archive of the gcc-patches@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: Patch: FYI: avoid use of C++ keywords in gcc/java


On Thu, 26 Jun 2008, Tom Tromey wrote:

> >>>>> "Kaveh" == Kaveh R GHAZI <ghazi@caip.rutgers.edu> writes:
>
> >> As for folks fixing it... eventually I hope we can do the poison
> >> thing, and then anyone changing it will get an error.
>
> Kaveh> I think Gaby is going to extend -Wc++-compat to warn about these so we
> Kaveh> won't have to poison them long-term (PR21759).
>
> Today I wrote an experimental patch to do this.  I've appended it, in
> all its ChangeLog-less glory.  This patch is kind of bogus, but it
> works well enough to prevent bootstrapping :).  I get a lot of errors
> (due to -Werror) from the C++ FE about uses of 'template' and
> 'namespace' as identifiers.
> Tom

What would it take to get this patch into shape?  ChangeLog, docs,
testcases, put it under the control of -Wc++-compat?  Anything else?

http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01698.html

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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