[ox/std] Suppress warning about empyt variadic macro arguments for Clang
This commit is contained in:
parent
07c5ed07ef
commit
01c0397680
@ -74,6 +74,9 @@ if(NOT MSVC)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-variable")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-variable")
|
||||||
|
|
||||||
|
# disable warnings
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
|
||||||
|
|
||||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||||
include(GBA)
|
include(GBA)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
|
||||||
|
Loading…
Reference in New Issue
Block a user