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++/12323] Constructor accepts wrong argument type silently


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


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