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


Ismail Dönmez <ismail@pardus.org.tr> writes:

| Hi again,
| 
| Wednesday 09 January 2008 00:28:54 tarihinde Manuel López-Ibáñez şunları 
| yazmıştı:
| > For your particular example, you could open a regression bug against
| > 4.3 that says:
| > * '"foo' redefined" is not mandated by the standard or it is not
| > serious enough, so it should not be a pedwarn just a normal warning;
| > or
| 
| Looks like this is actually mandated by standard :-( , thats what I am told on 
| #gcc anyway :)

    #define foo bar
    #define foo baz

is asking for trouble -- one should look for fixing the source of that
inconsistency. 

-- Gaby


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