[ wxwindows-Patches-1674514 ] Fix: DLL built NOPCH doesn't export wxHandleFatalExceptions

SourceForge.net noreply at sourceforge.net
Mon Mar 5 16:06:15 PST 2007


Patches item #1674514, was opened at 2007-03-05 16:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1674514&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kevin J Bluck (kbluck)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix: DLL built NOPCH doesn't export wxHandleFatalExceptions

Initial Comment:
This fixes Bug #1674506 which has already been closed in favor of this patch.

When building a Win32 DLL with NOPCH to turn off precompiled headers, "src/msw/main.cpp" fails to #include "wx/utils.h". As a result, symbol "bool ::wxHandleFatalExceptions(bool)" is not marked for export, although the build of the wxBase DLL does succeed.

This failure later causes links against the generated import lib to fail with an undefined symbol error if that function is referenced, since it is not exported in the import lib.

#including "wx/utils.h" inside the #if wxUSE_ON_FATAL_EXCEPTION conditional compile block near head of file resolves the problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1674514&group_id=9863




More information about the wx-dev mailing list