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++/10618] Error message for function declarations with invalid return type could be improved


------- Additional Comments From giovannibajo at libero dot it  2004-08-16 10:56 -------
An easier example is also:

----------------------------------------
ostream& operator<<(ostream& os, const CVector& x);
----------------------------------------

which gives a generic parse error before '&', but should really emit two 
distinct error messages about 'ostream? and 'CVector' being undefined.

-- 


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


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