From: John L. <jla...@gm...> - 2012-06-28 04:18:47
|
On Tue, Jun 26, 2012 at 8:56 AM, strawman <str...@la...> wrote: > wxLua from SVN builds successfully against wxMSW 2.9.3 with USE_EXCEPTIONS=0 > (-fno-exceptions) set in wx's config.gcc, but building apps fails with the > attached error. Using -fno-exceptions in wxLua's makefile causes no issues. When you compile wxWidgets with USE_EXCEPTIONS=0 your wxWidgets/lib/vc_lib/mswud/wx/setup.h (adjust dir for your build) should have wxUSE_EXCEPTIONS=0, does it? If it does, put some invalid code into that file and recompile, do you get an error? If no then you're somehow not including that file as it should be, if you do get an error.. .then I don't know what's going on. > Additionally, building apps against wx with DEBUG_FLAG = 0 set in the > makefile produces a few thousand "undefined reference to > wxOnAssert/wxTheAssertHandler" errors, unless -DwxDEBUG_FLAG=0 is added to > wxLua's CPPFLAGS. I'm curious why you want to change these? I suppose you do not want __NO_VC_CRTDBG__, but for what reason? http://biolpc22.york.ac.uk/wx/docs/html/faqmsw.htm (search for __NO_VC_CRTDBG__) I grepped for wxDEBUG_FLAG though all of wxLua and wxWidgets 2.9.4 and didn't find it. Who is using this define and why would it fix anything? Regards, John |