mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Fix compiler warnings on Android
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
246a91c45e
commit
d6a43fad90
@@ -274,6 +274,11 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(VVVVVV PRIVATE -Wno-c++11-long-long)
|
||||
endif()
|
||||
|
||||
# Disable warnings about flexible array members in C++ (from including FAudio)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(VVVVVV PRIVATE -Wno-c99-extensions)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# MSVC doesn't have /std:c99 or /std:c++98 switches!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user