[Bug c++/13106] [3.4 Regression] Wrong warning "no return statement ..." for void template function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 18 20:30:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-18 20:30 -------
Or even shorter than that:
template <typename T> T dummy() { } 

GCC should not warn about this because it does not know what the type is.

-- 


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



More information about the Gcc-bugs mailing list