This is the mail archive of the gcc-bugs@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: c++/5685: g++ 3.0.2 allows multiple identical declaration of default argument


Synopsis: g++ 3.0.2 allows multiple identical declaration of default argument

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 17 09:24:36 2002
State-Changed-Why:
    You are right, this should be an error, according to [8.3.6].
    
    If you compile with the -pedantic switch, you will get
    a warning, but this should still be an error.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5685


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