mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Build: Avoid compiler flag warning.
These are clang warnings.
This commit is contained in:
1 parent
63e623ecb2
commit
a009a04b2d
1 file changed
+2
-2
+2
-2
@@ -308,6 +308,8 @@ if(NOT MSVC)
|
||||
if(CLANG)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch -Wno-uninitialized")
|
||||
add_definitions(-Wno-nullability-completeness)
|
||||
add_definitions(-Wno-tautological-pointer-compare)
|
||||
add_definitions(-Wno-deprecated-register)
|
||||
endif()
|
||||
|
||||
if(USE_ASAN)
|
||||
@@ -341,8 +343,6 @@ if(NOT MSVC)
|
||||
|
||||
# Disable some warnings
|
||||
add_definitions(-Wno-multichar)
|
||||
add_definitions(-Wno-deprecated-register)
|
||||
add_definitions(-Wno-tautological-pointer-compare)
|
||||
|
||||
# Don't compile with strict aliasing, we're not 100% aliasing-safe
|
||||
add_compile_options(-fno-strict-aliasing)
|
||||
|
||||
Reference in new issue
Block a user