#257: Changeset [6613]  (really) fubars MSVC
-----------------------+----------------------------------------------------
 Reporter:  Buginator  |              Owner:                   
     Type:  defect     |             Status:  new              
 Priority:  blocker    |          Milestone:  2.2              
Component:  other      |            Version:  svn/trunk        
 Keywords:             |   Operating_system:  Microsoft Windows
Blockedby:             |           Blocking:                   
-----------------------+----------------------------------------------------

Comment(by Buginator):

 Looks like I finally got it to compile, but, I had to do it this way:
 {{{
 #ifndef _frame_h
 #define _frame_h

 #include "wzglobal.h"

 // Workaround X11 headers #defining Status
 #ifdef Status
 # undef Status
 #endif

 #include "types.h"
 #include "stdio_ext.h"
 #include "string_ext.h"
 }}}


 I know you have lots of other #include "lib/framework/string_ext.h" &
 #include "lib/framework/string_ext.h" split off now, so I am unsure how
 you want to handle this.  Adding those #includes to almost all files that
 we use string functions is rather messy/time consuming.

 The main issue (besides the adding/deleting files) is that it took us
 quite a while to make it so we use WZ's (custom) string routines, and NOT
 the ones in MSVC which were not C99 compliant.  This is causing tons of
 conflicts / linker errors.

 "These headers are no longer included by frame.h"
 They *need* to be included.  They must override the MSCRT routines.

 I will add the project & solution files myself when I get back as well.

 /me will be back this weekend.  (or should be back, about 99% sure)

-- 
Ticket URL: <http://developer.wz2100.net/ticket/257#comment:1>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to