1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Enable -Wattributes warnings

This commit is contained in:
Nekotekina 2021-05-12 18:41:31 +03:00
parent 126141cdce
commit 5b6537674f

View File

@ -64,10 +64,6 @@ else()
endif() endif()
#TODO Clean the code so these are removed #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") if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-fconstexpr-steps=16777216) add_compile_options(-fconstexpr-steps=16777216)
add_compile_options(-Wno-unused-lambda-capture) add_compile_options(-Wno-unused-lambda-capture)