[Bug c++/12093] [3.4 Regression] inconstitent error with templates/non-templates
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 28 13:59:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12093
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-28 13:59:14
date| |
------- Additional Comments From bangerth at dealii dot org 2003-08-28 13:59 -------
Clearly a bug. I thought at first that we should have an instantiation of g(), but
that doesn't change a thing. In fact, the error message already is in the template
function, which is reasonable since the call to temp() is in a non-dependent context,
so the error should be detected at definition time, not at instantiation time.
W.
More information about the Gcc-bugs
mailing list