Sunday 13 January 2008 18:10:00 tarihinde Richard Guenther şunları yazmıştı: > On Jan 13, 2008 5:10 PM, Ismail Dönmez <[EMAIL PROTECTED]> wrote: > > Sunday 13 January 2008 18:03:20 tarihinde Andreas Schwab şunları yazmıştı: > > > Ismail Dönmez <[EMAIL PROTECTED]> 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.
I think we already agreed that this is just too many packages to fix and that this warning should only be an error with -pedantic. People already started adding #undef hacks to workaround this, others are building with -fpermissive. So we should should just let Manu finish up his patch and get a review as C++ FE maintainers agreed as well. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.