[Bug c++/16883] Confusing error message with Boost.Spirit
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 5 02:03:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-05 02:03 -------
So it looks like the person is looking at the last error message rather than the first.
The reason for the error message which we output also comes from:
int f();
template <class T> T g(T *a){return f(a);}
void h(){g<void>(0);}
Which is correct because there is no f which has a return type of void. so closing as invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16883
More information about the Gcc-bugs
mailing list