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++/36659] Confusing error message order 'error: âfunctionnameâ declared as an âinlineâ variable'


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.


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