forked from Mirrors/openclonk
41c88ba863
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 |
||
---|---|---|
.. | ||
c4group | ||
config | ||
control | ||
editor | ||
game | ||
gamescript | ||
graphics | ||
gui | ||
landscape | ||
lib | ||
netio | ||
netpuncher | ||
network | ||
object | ||
platform | ||
player | ||
res | ||
script | ||
zlib | ||
C4Globals.cpp | ||
C4Include.cpp | ||
C4Include.h | ||
C4Prototypes.h | ||
C4Version.h.in |