This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24657] [3.4/4.0/4.1 Regression] bizarre diagnostic on valid (?) constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2005 17:04:11 -0000
- Subject: [Bug c++/24657] [3.4/4.0/4.1 Regression] bizarre diagnostic on valid (?) constructor
- References: <bug-24657-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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