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:40:25 tarihinde Gabriel Dos Reis ÅunlarÄ yazmÄÅtÄ:
> | 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.
>
> The problem is that any semantics of the above -- that is not an error
> or silent ignorance -- is order-dependent, which is worse to debug.
True but lots of real world applications are falling apart, is it worth to
break them all anyway? Also with -pedantic you will still get an error. I
think its a good compromise.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.