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++/16883] Confusing error message with Boost.Spirit


------- 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


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