On Tue, Jun 26, 2012 at 8:56 AM, strawman <straw...@lavabit.com> 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to