This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Changes in C++ FE regarding pedwarns to be errors are harmful
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.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.