[Bug preprocessor/33907] Empty macro definitions not considered equal
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Nov 27 09:10:00 GMT 2007
------- Comment #16 from rguenther at suse dot de 2007-11-27 09:10 -------
Subject: Re: Empty macro definitions not considered
equal
On Mon, 26 Nov 2007, manu at gcc dot gnu dot org wrote:
> ------- Comment #15 from manu at gcc dot gnu dot org 2007-11-26 17:47 -------
> (In reply to comment #14)
> >
> > I guess you are not explaining it wrong, but the situation is
> > extremely confusing:
> >
>
> Oh, I fully agree on that. But it is exactly the same situation that was there
> pre-4.3 for the C++ front-end. It is just that now CPP and C++ front-end
> defaults are consistent.
Yes.
> So for this bug, I am proposing that we only give the pointless diagnostic if
> the flag "pedantic" is set to 1 (either by using -pedantic or
> -pedantic-errors).
I like this idea (and as far as I understand this is what the patch you
pasted does).
Thanks,
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33907
More information about the Gcc-bugs
mailing list