[Bug preprocessor/33907] Empty macro definitions not considered equal
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Mon Nov 26 09:56:00 GMT 2007
------- Comment #11 from rguenther at suse dot de 2007-11-26 09:56 -------
Subject: Re: Empty macro definitions not considered
equal
On Sun, 25 Nov 2007, manu at gcc dot gnu dot org wrote:
> ------- Comment #10 from manu at gcc dot gnu dot org 2007-11-25 22:59 -------
> (In reply to comment #8)
> >
> > Tom can probably do this. But I belive the patch will not work,
> > as CPP_PEDANTIC is set to true by the C++ frontend now.
>
> BTW, the patch works for the revision I diffed against. The testcases included
> in the patch pass.
I see. But sth changed in the cpp defaults for C++ in 4.3 as things
that were previously warnings (with 4.2) are now errors (with 4.3), such
as this one or the macro re-definition.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33907
More information about the Gcc-bugs
mailing list