mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Enable -Wattributes warnings
This commit is contained in:
parent
126141cdce
commit
5b6537674f
|
|
@ -64,10 +64,6 @@ else()
|
|||
endif()
|
||||
|
||||
#TODO Clean the code so these are removed
|
||||
if (NOT (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") OR (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.1))
|
||||
add_compile_options(-Wno-attributes)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-fconstexpr-steps=16777216)
|
||||
add_compile_options(-Wno-unused-lambda-capture)
|
||||
|
|
|
|||
Loading…
Reference in a new issue