cmake: Turn back on some warnings that no longer need to be turned off.

This commit is contained in:
arcum42 2023-01-12 16:15:54 -08:00 committed by refractionpcsx2
parent a2e3522862
commit 8c21765c0f
1 changed files with 0 additions and 5 deletions

View File

@ -227,11 +227,6 @@ elseif(NOT MSVC)
set(AGGRESSIVE_WARNING -Wstrict-aliasing -Wstrict-overflow=1) set(AGGRESSIVE_WARNING -Wstrict-aliasing -Wstrict-overflow=1)
endif() endif()
if (USE_CLANG)
# -Wno-deprecated-register: glib issue...
list(APPEND DEFAULT_WARNINGS -Wno-deprecated-register -Wno-c++14-extensions)
endif()
if (USE_PGO_GENERATE OR USE_PGO_OPTIMIZE) if (USE_PGO_GENERATE OR USE_PGO_OPTIMIZE)
add_compile_options("-fprofile-dir=${CMAKE_SOURCE_DIR}/profile") add_compile_options("-fprofile-dir=${CMAKE_SOURCE_DIR}/profile")
endif() endif()