On 1/23/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > >>> ./../modules/wxbind/include/wxbind.h:127:6: warning: "wxUSE_WAVE" is > >>> not defined > >>> ./../modules/wxbind/include/wxbind.h:328:5: warning: > >>> "wxLUA_USE_wxCriticalSection" is not defined > >> > > Me too, at least the first, i just disabled it in luasetup.h to make it > > go away. > > > > #define wxLUA_USE_wxWave 0 > I've found the reason in wx/wave.h: > > #if wxUSE_SOUND // not wxUSE_WAVE !sdf > ... > #include "wx/sound.h" > // wxSound used to be called wxWave before wxWidgets 2.5.1: > typedef wxSound wxWave; > ... > #endif
Ok, I've added a new setting in wx.rules where you can add any additional code for the binding header. There is where I've placed #ifndef wxUSE_WAVE #define wxUSE_WAVE 0 #endif so that ti should work anywhere. It's a little bit of a hack, but I think this is all we can do to maintain backwards compatibility. Regards, John Labenski ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users