all repos — mgba @ 2dbaf2edd62c5ca3e07d63f01731640b0f3c26ab

mGBA Game Boy Advance Emulator

Wii: Silence warnings
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Sep 2015 22:19:22 -0700
commit

2dbaf2edd62c5ca3e07d63f01731640b0f3c26ab

parent

320033e72427cc07075ce48d3b0bf7e936a2d20d

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -183,8 +183,12 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")

enable_language(ASM) endif() -if(PSP2) +if(PSP2 OR WII) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format") +endif() + +if(WII) + add_definitions(-U__STRICT_ANSI__) endif() include(CheckFunctionExists)