lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Will Leshner wrote:
On 3/26/07, Rici Lake <lua@ricilake.net> wrote:

What version of gcc are you using? I don't get that warning with either
-Wall or -Wall -O2 and it is clearly unwarranted (assuming you are
referring to the lua 5.1.1 source.)

Thanks. I'm going to play with my settings and try to figure out which
combination causes that warning to appear. I might point out I'm using
GCC 4 (from within Xcode, actually), if that makes a difference.

Apparently it's a bug in gcc which was introduced early in the 4.0 branch and fixed at 4.0.2. Here's the gcc bugzilla: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20624

So I don't think it warrants changing the Lua source code.