openclonk/src
Günther Brammer 41c88ba863 Use _snwprintf instead of swprintf
Apparently the C standard committee and Microsoft couldn't agree on how
swprintf should work.
We previously tried to work around the resulting breakage, but I just got
the following compilation error. It's really better to avoid that function
entirely. Since we only used it in windows-specific code, the
windows-specific _snwprintf is a nicely compiler-independent replacement.

src/platform/PlatformAbstraction.h: In function ‘int swprintf(wchar_t*, size_t, const wchar_t*, ...)’:
src/platform/PlatformAbstraction.h:243:12: error: redefinition of ‘int swprintf(wchar_t*, size_t, const wchar_t*, ...)’
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/swprintf.inl:30:5: error: ‘int swprintf(wchar_t*, size_t, const wchar_t*, ...)’ previously defined here
2012-12-31 22:03:12 +01:00
..
c4group Use _snwprintf instead of swprintf 2012-12-31 22:03:12 +01:00
config Fix spelling mistake: ressource -> resource. 2012-10-21 22:20:43 +02:00
control Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
editor editor: Fix USE_CONSOLE 2012-11-16 00:05:58 +01:00
game Remove some unused variables 2012-12-31 22:03:12 +01:00
gamescript Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
graphics Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
gui Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
landscape Remove some unused variables 2012-12-31 22:03:12 +01:00
lib Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
netio Consolidate duplicated simple Log functions 2011-11-02 21:36:39 +01:00
netpuncher Consolidate duplicated simple Log functions 2011-11-02 21:36:39 +01:00
network Make network lobby command line processing available to the editor and dedi 2012-11-30 22:20:15 +01:00
object Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
platform Use _snwprintf instead of swprintf 2012-12-31 22:03:12 +01:00
player Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
res Win32: Add dummy fourth FILE/PRODUCTINFO resource component 2012-10-21 12:40:22 +02:00
script Don't crash on Call() 2012-12-31 22:03:12 +01:00
zlib Fix possible double close when attempting to open uncompressed files 2012-02-05 20:00:47 +01:00
C4Globals.cpp build fix 2012-10-12 20:15:37 +02:00
C4Include.cpp Reorganize C4Include.h and Standard.h 2010-01-02 01:11:54 +01:00
C4Include.h Move leak checking behind standard header inclusion 2012-06-04 01:18:28 +02:00
C4Prototypes.h Remove some forward declarations that are already in C4Prototypes.h 2012-12-31 22:03:12 +01:00
C4Version.h.in Remove build number aka C4XVER4 2012-10-18 23:54:50 +02:00