This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12323] Constructor accepts wrong argument type silently
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2003 05:20:20 -0000
- Subject: [Bug c++/12323] Constructor accepts wrong argument type silently
- References: <20030918012028.12323.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12323
------- Additional Comments From igodard at pacbell dot net 2003-09-18 05:20 -------
I also (correctly) get an error on Bob; that's not the reported bug. The bug is that I do *not* get an arror on Baz. I put the Bob in only to show that the compiler correctly flags args *except* the nested template arg type. Remove the line where the compiler reports the error on the test case, and you get a clean compile - and should not.
Ivan