From: John L. <jla...@gm...> - 2013-03-30 19:53:04
|
On Sat, Mar 30, 2013 at 11:35 AM, Victor Bombi <so...@te...> wrote: > Hello, > > It worked when compiling for 5.1, but with 5.2 I get: > > O3 -DNDEBUG @CMakeFiles/wxLuaLib.dir/includes_CXX.rsp -o > CMakeFiles\wxLuaLib.dir\wxlconsole.cpp.obj -c C:\LUA\wxlua-sources > \wxlua\wxLua\modules\wxlua\wxlconsole.cpp > C:\LUA\wxlua-sources\wxlua\wxLua\modules\wxlua\wxlconsole.cpp: In member > function 'void wxLuaConsole::DisplayStack(const wxLu > aState&)': > C:\LUA\wxlua-sources\wxlua\wxLua\modules\wxlua\wxlconsole.cpp:233:26: error: > braces around scalar initializer for type 'unsig > ned char' > In file included from > C:\LUA\wxlua-sources\wxlua\wxLua\modules\wxlua\wxlconsole.cpp:21:0: > C:/LUA/wxlua-sources/wxlua/wxLua/art/wxlua.xpm: At global scope: > C:/LUA/wxlua-sources/wxlua/wxLua/art/wxlua.xpm:2:21: warning: 'LUA_xpm' > defined but not used [-Wunused-variable] > mingw32-make[2]: *** I don't have any time today, but I remember seeing something about "braces ... scaler initializer" on the Lua mailing list after the release of 5.2. I see that on that line I am trying to properly initialize a lua_Debug struct, probably the struct has changed since 5.1? You can rem that line out for now... lua_Debug luaDebug = INIT_LUA_DEBUG; Regards, John |