This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10618] Error message for function declarations with invalid return type could be improved
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2011 15:46:59 +0000
- Subject: [Bug c++/10618] Error message for function declarations with invalid return type could be improved
- Auto-submitted: auto-generated
- References: <bug-10618-4@http.gcc.gnu.org/bugzilla/>
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? ;-)