Hi John, I tried to compile the current trunk on Windows using mingw and ran into a compilation error:
...wxLua/modules/wxbind/src/wxcore_bind.cpp: In member function 'virtual bool wxLuaBinding_wxcore::RegisterBinding(const wxLuaState&)': ...wxlua/wxLua/modules/wxbind/src/wxcore_bind.cpp:7495:46: error: 'wxEVT_COMMAND_DIRPICKER_CHANGED' was not declared in this scope ...wxLua/modules/wxbind/src/wxcore_bind.cpp:7496:46: error: 'wxEVT_COMMAND_FILEPICKER_CHANGED' was not declared in this scope This follows a warning about re-definition: ...wxLua/modules/wxbind/src/wxcore_bind.cpp:73:0: warning: "wxEVT_COMMAND_DIRPICKER_CHANGED" redefined [enabled by default] ...include/wx-2.9/wx/filepicker.h:418:0: note: this is the location of the previous definition ...wxLua/modules/wxbind/src/wxcore_bind.cpp:74:0: warning: "wxEVT_COMMAND_FILEPICKER_CHANGED" redefined [enabled by default] ...include/wx-2.9/wx/filepicker.h:417:0: note: this is the location of the previous definition The issue seems to be caused by this #if in modules/wxbind/src/wxcore_bind.cpp: #if defined(__MINGW32__) || defined(__GNUWIN32__) // FIX: "internal compiler error: output_operand: invalid expression as operand" I'm not sure if the comment still applies, but I removed this #if (and another one around line 7488 in the same file) and compiled without any errors/issues. Can you please take a look at this and check if this #if is still needed? It's seems like you can safely remove it. Thank you. I'm using the latest wxwidgets (2.9.5 release candidate) and gcc 4.6.2. Paul. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users