[ wxwindows-Patches-1674510 ] Fix: Win32 NOPCH build throws symbol redefinition warnings

SourceForge.net noreply at sourceforge.net
Mon Mar 5 15:59:08 PST 2007


Patches item #1674510, was opened at 2007-03-05 15:59
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=1674510&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: Build -- windows
Group: bug fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kevin J Bluck (kbluck)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix: Win32 NOPCH build throws symbol redefinition warnings

Initial Comment:
Fix for Bug report 1669417 (already closed in favor of this patch)

When building source with the "NOPCH" #define set, it appears that "wx/msw/missing.h" is sometimes #included prior to <windows.h>. This results in a number of symbol redefinition warnings once <windows.h> is #included, since a number of symbols have already been defined by "missing.h".

Simply adding an #include "wx/msw/private.h" directive to the head of "missing.h" seems to eliminate the problem with no apparent adverse effects.

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

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




More information about the wx-dev mailing list