[Bug c++/36659] Confusing error message order 'error:=?UTF-8?Q?=20=E2=80=98functionname=E2=80=99=20declared=20as=20an=20=E2=80=98inline=E2=80=99=20variable?='

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 14 13:15:00 GMT 2011


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-14 13:14:34 UTC ---
(In reply to comment #4)
> Is there a fix for this or is this version flawed?  Can we be certain this bug
> will be fixed by the next release?  This is a basic declaration and should
> work.

Read the bugzilla report.  

It's not a bug, it's an enhancement request for a better error message.  The
compiler is correct to reject your code, but it could print a more helpful
message.

Your problem appears to be caused by failing to #include <stdint.h>, not a
compiler bug.



More information about the Gcc-bugs mailing list