Skip to content

Commit

Permalink
Disable gcc warning (fires in description calc, which is protected)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Drago committed Oct 31, 2019
1 parent 7377048 commit 266a760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
add_definitions(-std=c99) # Enforce C99 for gcc
MESSAGE(STATUS "Enabling warnings (for colorist lib/bin) for GCC")
add_definitions(-Werror -Wall -Wextra -Wno-clobbered)
add_definitions(-Werror -Wall -Wextra -Wno-clobbered -Wno-stringop-truncation)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
MESSAGE(STATUS "Enabling warnings (for colorist lib/bin) for MS CL")
add_definitions(
Expand Down

0 comments on commit 266a760

Please sign in to comment.