all repos — mgba @ 9ba0a0250f3e16a1600afb1a00ff010e984417c5

mGBA Game Boy Advance Emulator

CMake: Disable MSVC type narrowing warning
Vicki Pfau vi@endrift.com
Mon, 27 Jul 2020 23:20:12 -0700
commit

9ba0a0250f3e16a1600afb1a00ff010e984417c5

parent

f8ced528f991446b7c8c64ad013ea2f1a3024cc1

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -25,7 +25,7 @@ # mingw32 likes to complain about using the "wrong" format strings despite them actually working

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format") endif() else() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS /wd4003 /wd4244 /wd4146") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS /wd4003 /wd4244 /wd4146 /wd4267") endif() if(NOT DEFINED LIBMGBA_ONLY)