c++/5685: g++ 3.0.2 allows multiple identical declaration of default argument

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sun Feb 17 09:30:00 GMT 2002


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



More information about the Gcc-bugs mailing list