This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16883] Confusing error message with Boost.Spirit
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2004 02:03:04 -0000
- Subject: [Bug c++/16883] Confusing error message with Boost.Spirit
- References: <20040804232003.16883.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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