Ok, these are more of the same. I have changed the generator to handle
these more gracefully. There shouldn't be any more errors, tested in
MSVC6

    John Labenski


On 3/18/07, klaas.holwerda <[EMAIL PROTECTED]> wrote:
> Hi John,
>
> Here the rest of more the same errors.
> And maybe putting in genwxbind.bat it is better to put:
> SET LUA=..\bin\vcd_lib\lua.exe
>
> That is compiled first i think, at least it is a chicken egg problem
> with wxlua-lua.exe
>
> Here the rest is all empty members array.
> After this it compiles again. Even in in release mode.
>
> Regards,
>
> Klaas
>
>        cl /c /nologo /TP /Fovcmsw_d\wxbind_lib_data.obj /MDd /DWIN32
> /I..\..\..\modules\wxbind\setup   /D__WXDEBUG__ /D__WXMSW__
> /ID:\soft\wxwin\wxWidgets-2.8.0\lib\vc_lib\mswd
> /ID:\soft\wxwin\wxWidgets-2.8.0\include  /W4 /Od  /Zi /D_DEBUG
> /Fd..\..\..\lib\vc_
> lib\wxlua_msw28d_wxbind.pdb  /I..\..\..\modules /I.\..\..\..
> /I..\..\..\modules\lua\include  /ID:\soft\wxwin\wxWidgets-2.8.0\contrib
> \include /GR /EHsc /Yu"wx/wxprec.h"
> /Fp"vcmsw_d\wxprec_wxbind_lib.pch"    ..\..\wxbind\src\data.cpp
> data.cpp
> ..\..\wxbind\src\data.cpp(92) : error C2466: cannot allocate an array of
> constant size 0
> ..\..\wxbind\src\data.cpp(92) : error C2440: 'initializing' : cannot
> convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return
> code '0x2'
> Stop.
>
>
>
>
>         cl /c /nologo /TP /Fovcmsw_d\wxbind_lib_mdi.obj /MDd /DWIN32
> /I..\..\..\modules\wxbind\setup   /D__WXDEBUG__ /D__WXMSW__  /
> ID:\soft\wxwin\wxWidgets-2.8.0\lib\vc_lib\mswd
> /ID:\soft\wxwin\wxWidgets-2.8.0\include  /W4 /Od  /Zi /D_DEBUG
> /Fd..\..\..\lib\vc_l
> ib\wxlua_msw28d_wxbind.pdb  /I..\..\..\modules /I.\..\..\..
> /I..\..\..\modules\lua\include  /ID:\soft\wxwin\wxWidgets-2.8.0\contrib\
> include /GR /EHsc /Yu"wx/wxprec.h"
> /Fp"vcmsw_d\wxprec_wxbind_lib.pch"    ..\..\wxbind\src\mdi.cpp
> mdi.cpp
> ..\..\wxbind\src\mdi.cpp(41) : error C2466: cannot allocate an array of
> constant size 0
> ..\..\wxbind\src\mdi.cpp(41) : error C2440: 'initializing' : cannot
> convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return
> code '0x2'
> Stop.
>
>
>
>         cl /c /nologo /TP /Fovcmsw_d\wxbind_lib_menutool.obj /MDd
> /DWIN32  /I..\..\..\modules\wxbind\setup   /D__WXDEBUG__ /D__WXMSW
> __  /ID:\soft\wxwin\wxWidgets-2.8.0\lib\vc_lib\mswd
> /ID:\soft\wxwin\wxWidgets-2.8.0\include  /W4 /Od  /Zi /D_DEBUG
> /Fd..\..\..\lib
> \vc_lib\wxlua_msw28d_wxbind.pdb  /I..\..\..\modules /I.\..\..\..
> /I..\..\..\modules\lua\include  /ID:\soft\wxwin\wxWidgets-2.8.0\con
> trib\include /GR /EHsc /Yu"wx/wxprec.h"
> /Fp"vcmsw_d\wxprec_wxbind_lib.pch"    ..\..\wxbind\src\menutool.cpp
> menutool.cpp
> ..\..\wxbind\src\menutool.cpp(3991) : error C2466: cannot allocate an
> array of constant size 0
> ..\..\wxbind\src\menutool.cpp(3991) : error C2440: 'initializing' :
> cannot convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return
> code '0x2'
> Stop.
>
>
> ..\..\wxbind\src\wx_bind.cpp(5057) : warning C4996:
> 'wxGetAccelFromString' was declared deprecated
>         D:\soft\wxwin\wxWidgets-2.8.0\include\wx/utils.h(573) : see
> declaration of 'wxGetAccelFromString'
> ..\..\wxbind\src\wx_bind.cpp(5245) : warning C4996: 'wxGetElapsedTime'
> was declared deprecated
>         D:\soft\wxwin\wxWidgets-2.8.0\include\wx/stopwatch.h(77) : see
> declaration of 'wxGetElapsedTime'
> ..\..\wxbind\src\wx_bind.cpp(6520) : warning C4996: 'wxStartTimer' was
> declared deprecated
>         D:\soft\wxwin\wxWidgets-2.8.0\include\wx/stopwatch.h(73) : see
> declaration of 'wxStartTimer'
> ..\..\wxbind\src\wx_bind.cpp(8434) : warning C4100: 'luaTable' :
> unreferenced formal parameter
> ..\..\wxbind\src\wx_bind.cpp(8434) : warning C4100: 'registerTypes' :
> unreferenced formal parameter
> ..\..\wxbind\src\wx_bind.cpp(8434) : warning C4100: 'wxlState' :
> unreferenced formal parameter
>         cl /c /nologo /TP /Fovcmsw_d\wxbind_lib_appframe.obj /MDd
> /DWIN32  /I..\..\..\modules\wxbind\setup   /D__WXDEBUG__ /D__WXMSW
> __  /ID:\soft\wxwin\wxWidgets-2.8.0\lib\vc_lib\mswd
> /ID:\soft\wxwin\wxWidgets-2.8.0\include  /W4 /Od  /Zi /D_DEBUG
> /Fd..\..\..\lib
> \vc_lib\wxlua_msw28d_wxbind.pdb  /I..\..\..\modules /I.\..\..\..
> /I..\..\..\modules\lua\include  /ID:\soft\wxwin\wxWidgets-2.8.0\con
> trib\include /GR /EHsc /Yu"wx/wxprec.h"
> /Fp"vcmsw_d\wxprec_wxbind_lib.pch"    ..\..\wxbind\src\appframe.cpp
> appframe.cpp
> ..\..\wxbind\src\appframe.cpp(3141) : error C2466: cannot allocate an
> array of constant size 0
> ..\..\wxbind\src\appframe.cpp(3141) : error C2440: 'initializing' :
> cannot convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> ..\..\wxbind\src\appframe.cpp(3159) : error C2466: cannot allocate an
> array of constant size 0
> ..\..\wxbind\src\appframe.cpp(3159) : error C2440: 'initializing' :
> cannot convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return
> code '0x2'
> Stop.
>
>
> ..\..\wxbind\src\help.cpp(870) : error C2466: cannot allocate an array
> of constant size 0
> ..\..\wxbind\src\help.cpp(870) : error C2440: 'initializing' : cannot
> convert from 'int' to 'wxLuaMethod_Type'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return
> code '0x2'
> Stop.
>
>
>
>
>
> John Labenski wrote:
> > Thank you for posting this stuff since my MSW build machine using 2005
> > is broken after installing service pack 1. It's still broken after
> > uninstalling it, deleting the directories and reinstalling. I wonder
> > if the service pack ruined the platform SDK and I have to reinstall
> > that too?
> >
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> wxlua-users mailing list
> wxlua-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to