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: Changes in C++ FE regarding pedwarns to be errors are harmful


On Jan 13, 2008 5:10 PM, Ismail Dönmez <ismail@pardus.org.tr> wrote:
> Sunday 13 January 2008 18:03:20 tarihinde Andreas Schwab şunları yazmıştı:
> > Ismail Dönmez <ismail@pardus.org.tr> writes:
> > > That was just an example, real life testcase shows that problem stems
> > > from autoconf and its config.h. Projects end up defining things like
> > > HAVE_STDLIB_H twice which is not harmful at all but now causes an error
> > > if g++ is used.
> >
> > Redefinitions with the same replacement list are not an error.
>
> Ok but that still doesn't cover the general use of
>
> #define PACKAGE_NAME foobar
>
> etc.

But that's just bugs that need to be fixed.

Richard.

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