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 #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.


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