Hi John, I'm trying to compile wxlua using the trunk version and ran into a strange issue that I've never seen before. I went back to r170, but it shows the same issue. Here is the error:
d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:39:77: error: declaration of C function 'BOOL DllMain(HANDLE, DWORD, LPVOID)' conflicts with BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID ); ^ In file included from d:\mingw\include\windows.h:62:0, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/msw/wrapwin.h:65, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/msw/init.h:19, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/init.h:58, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/app.h:23, from d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:21: d:\mingw\include\winbase.h:1051:13: error: previous declaration 'BOOL DllMain(HINSTANCE, DWORD, LPVOID)' here BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID); ^ make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/luamodule.cpp.obj] Error 1 make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 Is it my local setup or is it something that needs to be fixed in wxlua? I'm compiling this with wxwidgets 3.1 using mingw 4.8.1. Paul. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users