On Sat, Mar 30, 2013 at 11:35 AM, Victor Bombi <son...@telefonica.net> 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

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to