Skip to content

Commit

Permalink
Remove -Werror. (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc authored May 15, 2023
1 parent 03ba845 commit 3578389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/config/CompilerFlagsHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ foreach(COMPILER_LANGUAGE ${SUPPORTED_COMPILER_LANGUAGE_LIST})
OR CMAKE_${COMPILER_LANGUAGE}_COMPILER_ID MATCHES "GNU"
OR CMAKE_${COMPILER_LANGUAGE}_COMPILER_ID MATCHES "Intel")
set(CMAKE_${COMPILER_LANGUAGE}_WARNING_ALL " -Wall -Wextra")
string(CONCAT CMAKE_${COMPILER_LANGUAGE}_WARNING_DEBUG " -Werror -Wshadow -Wnon-virtual-dtor -Wunused -Woverloaded-virtual -Wformat=2 -Wconversion -Wsign-conversion -Wno-error=deprecated-declarations"
string(CONCAT CMAKE_${COMPILER_LANGUAGE}_WARNING_DEBUG " -Wshadow -Wnon-virtual-dtor -Wunused -Woverloaded-virtual -Wformat=2 -Wconversion -Wsign-conversion -Wno-error=deprecated-declarations"
)
if(NOT CMAKE_${COMPILER_LANGUAGE}_COMPILER_IS_ICC)
string(CONCAT CMAKE_${COMPILER_LANGUAGE}_WARNING_DEBUG
Expand Down

0 comments on commit 3578389

Please sign in to comment.