0ad/build
Ykkrosh dcf5a2667f CLogger: Use cppformat instead of sys_vswprintf.
sys_vswprintf relies on platform-specific printf implementations, which
vary widely between platforms (in handling of truncation, return values,
use of %s/%S/%hs/%ls for mixing char and wchar_t strings, etc) and are
therefore a pain.

Use cppformat's fmt::sprintf instead, which has very similar syntax to
sprintf but is more C++ish and is portable.

Also, wchar_t is stupid, so use char* strings (which are expected to be
UTF-8) in CLogger. This creates a bit of a pain with changing all
callers to convert to char* strings, but that's their fault for not
using UTF-8 already.

Refs #3011.

This was SVN commit r16182.
2015-01-22 20:30:05 +00:00
..
android Update Android support 2013-11-02 23:05:38 +00:00
autobuild2 Autobuilder startup service binary 2009-01-01 22:48:05 +00:00
bin Updated cxxtestgen.exe for cxxtest4.4 (created as described in #2450). 2014-08-27 12:39:04 +00:00
coverage Code coverage measurement support (with lcov) 2009-11-16 21:23:43 +00:00
dehydra Detect and fix printf signedness errors. Fixes #1086, #1087. 2012-01-01 16:43:10 +00:00
errorlist # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
premake CLogger: Use cppformat instead of sys_vswprintf. 2015-01-22 20:30:05 +00:00
resources Load the public mod by default. Fixes #2754. 2014-09-24 17:49:22 +00:00
svn_revision Clean up of the last commit. 2014-07-01 16:15:03 +00:00
workspaces Enable C++11 by default. 2015-01-18 13:44:03 +00:00