Skip to content

Commit

Permalink
Reduce the warning level since -Wextra has too many false positives.
Browse files Browse the repository at this point in the history
  • Loading branch information
abergeron committed Aug 2, 2017
1 parent c445656 commit 039eee2
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 @@ -9,7 +9,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
if(MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W3")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Werror=format-security -Wdeclaration-after-statement -std=gnu89")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-parameter -Werror=format-security -Wdeclaration-after-statement -std=gnu89")
endif()

enable_testing()
Expand Down

0 comments on commit 039eee2

Please sign in to comment.