aboutsummaryrefslogtreecommitdiff
path: root/common/android_util.cpp
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2017-01-24 14:44:26 -0800
committerKarl Schultz <karl@lunarg.com>2017-01-26 09:18:23 -0800
commit9a085bc46296cd844f2ea9dc1109c0c9a074e8d9 (patch)
tree3c8dae2c583929d3b4453c80b8515c258fe66c88 /common/android_util.cpp
parent6fca903365725cd69d87c2787b2aab600f673207 (diff)
downloadusermoji-9a085bc46296cd844f2ea9dc1109c0c9a074e8d9.tar.xz
build: Turn on "treat warnings as errors" on Win
Also address compiler warnings: - Suppress warnings for inconsistently redefined snprintf on Windows with Visual Studio < 2015. Warnings for preprocessor redefinitions are still enabled on VS 2015 because snprintf is not redefined on VS 2015. - Turn off "changed behavior" warning with Visual Studio < 2015 for using initializers in constructors. MSFT "fixed" some forms of these initializers so that they clear members instead of just leaving them alone. Since clearing is usually desired, this isn't a problem in most cases. But if an object is reinstantiated on top of an existing object, via placement new for example, the clearing may not be desired if the first object's data was meant to be preserved. We don't count on this behavior. - Suppress linker warning for linking the loader in debug build on Windows. This warning is for mismatched runtime libraries and causes extra code to be linked in only for debug builds. Ignoring the warning is generally regarded as better than the alternatives. Change-Id: I8b0e311d3c80a8dd9ac0cc95f764ed1123efa86f
Diffstat (limited to 'common/android_util.cpp')
0 files changed, 0 insertions, 0 deletions