This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36659] Confusing error message order 'error: âfunctionnameâ declared as an âinlineâ variable'
- From: "donmgeso at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Oct 2011 13:11:09 +0000
- Subject: [Bug c++/36659] Confusing error message order 'error: âfunctionnameâ declared as an âinlineâ variable'
- Auto-submitted: auto-generated
- References: <bug-36659-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659
--- Comment #4 from Don <donmgeso at hotmail dot com> 2011-10-14 13:11:09 UTC ---
Found this bug while trying to compile Spidermonkey 1.85 with gcc 4.6 (g++).
nanojit.h:183:26: error: 'isS32' declared as an 'inline' variable. The code
is:
static inline bool isS32(intptr_t i) {
return int32_t(i) == i;
}
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.