This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: FYI: avoid use of C++ keywords in gcc/java
- From: Tom Tromey <tromey at redhat dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: Ben Elliston <bje at au1 dot ibm dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, gdr at integrable-solutions dot net
- Date: Tue, 01 Jul 2008 13:55:44 -0600
- Subject: Re: Patch: FYI: avoid use of C++ keywords in gcc/java
- References: <m3tzfjuhk7.fsf@fleche.redhat.com> <1214445099.20696.2.camel@helios> <m3bq1pq66n.fsf@fleche.redhat.com> <Pine.GSO.4.58.0806252352370.17462@caipclassic.rutgers.edu> <m3k5gboq9y.fsf@fleche.redhat.com> <Pine.GSO.4.58.0807011353360.28892@caipclassic.rutgers.edu> <m3lk0lv5vl.fsf@fleche.redhat.com> <Pine.GSO.4.58.0807011537250.29416@caipclassic.rutgers.edu>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Kaveh" == Kaveh R GHAZI <ghazi@caip.rutgers.edu> writes:
>> It already is under the control of -Wc++-compat.
Kaveh> Shouldn't you have "OPT_Wc___compat" in the warning() call?
The check is done earlier, when deciding what keywords exist. But
yeah, I guess so ... I just copied the other -Wc++-compat warning,
which does not use this flag.
Kaveh> You can get past the -Werror failures temporarily by using
Kaveh> --disable-werror to get to the testsuite. That will at least tell you if
Kaveh> any testcases fail.
I'll do that.
Kaveh> The warnings can be fixed in the meantime (I'll help if you
Kaveh> like.)
Sure :)
Tom