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]

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



------- 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


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