[wx-dev] Re: #9653: wxMSW builds with BUILD=debug option are compiled without the __WXDEBUG__ flag.

wxTrac noreply at wxsite.net
Wed Jul 2 11:02:44 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9653#comment:2>

#9653: wxMSW builds with BUILD=debug option are compiled without the __WXDEBUG__
flag.
--------------------------+-------------------------------------------------
  Reporter:  umvarma      |       Owner:                                  
      Type:  build error  |      Status:  new                             
  Priority:  normal       |   Milestone:  2.8.9                           
 Component:  wxMSW        |     Version:  2.8.8                           
Resolution:               |    Keywords:  __WXDEBUG__,build,msw,DEBUG_FLAG
 Blockedby:               |       Patch:  0                               
  Blocking:               |  
--------------------------+-------------------------------------------------
Changes (by umvarma):

  * status:  infoneeded_new => new


Comment:

 Hi!

 I made no changes to either the makefile or the config.vc.  I am
 absolutely sure about it.  I just downloaded the wxMSW-2.8.8.zip(not the
 wxWidgets archive but wxMSW archive), and moved to the build/msw directory
 and ran nmake -f makefile.vc BUILD=debug.  It compiled fine.  Now, when I
 tried to link my application, I got the linker errors saying that entry
 point for the wxAppTraitsBase::GetAssertStackTrace method not found. When
 I explore further, I realized that libraries are built without the
 __WXDEBUG__ flag.  I went through the documentation, I rebuilt the
 libraries with the DEBUG_FLAG=1 option, the linker errors disappeared.

 I will try to reproduce the error again, and upload the makefile log.  It
 will help you to understand the problem if any.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9653#comment:2>


More information about the wx-dev mailing list