[Bug c++/24657] [3.4/4.0/4.1 Regression] bizarre diagnostic on valid (?) constructor

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 3 17:04:00 GMT 2005



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-03 17:04 -------
I tested a few different versions of gcc and added the results to known to
work/fail.  3.3.3 accepted this code.  before in 3.2.3 (and below), the error
message was :
t.cc:6: declaration of `void A::i()'
t.cc:4: changes meaning of `i' from `int i'


I don't know if this is valid or not, the issue is a namelookup issue.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|2.95.3 3.0.4 3.4.0 4.0.0    |2.95.3 3.0.4 3.4.0 4.0.0
                   |4.1.0                       |4.1.0 3.2.3
            Summary|bizarre diagnostic on valid |[3.4/4.0/4.1 Regression]
                   |(?) constructor             |bizarre diagnostic on valid
                   |                            |(?) constructor
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24657



More information about the Gcc-bugs mailing list