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


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

--- Comment #11 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-09-21 15:46:59 UTC ---
(In reply to comment #10)
> (In reply to comment #9)
> > 
> > The second diagnostic from G++ does not make sense. Clang gives the correct
> > diagnostics in that case.
> 
> Ah, that's because you're using 4.5.2 -- stop it! ;)

Ah, ok, sorry for the noise. I don't have a recent GCC trunk around anymore.
Maybe I will find some free hours to set up one. Or GCC could have an online
demo like http://llvm.org/demo? ;-)


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