Follow-up Comment #10, patch #1093 (project wesnoth):

1. Actually I forgot to tell you that I added following codes to global.hpp
to made VC9 work (some messing warnings are also disabled):
     #ifdef _MSC_VER
       #undef snprintf
       #define snprintf _snprintf
       #pragma warning(disable: 4819)
       #pragma warning(disable: 4996)
     #endif
   the _snprintf is a VC specified function name which is not in C99(C99 uses
snprintf) so that we should define snprintf for VC.

2. VC9 only accepts the MASM style asm codes.
You can also check SDL_stdinc.h MACRO definitions that the patched asm code
is not included for VC compilers.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1093>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to