Removed -Wdeprecated-register for GCC

This commit is contained in:
Benoit Blanchon
2015-08-26 21:00:28 +02:00
parent 0cf8249b14
commit 01c287bc89

View File

@ -11,7 +11,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
-Wcast-qual
-Wconversion
-Wctor-dtor-privacy
-Wdeprecated-register
-Wdisabled-optimization
-Werror
-Wextra
@ -44,6 +43,7 @@ endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_definitions(
-Wc++11-compat
-Wdeprecated-register
)
endif()