Skip to content

Commit

Permalink
Merge pull request #546 from marckleinebudde/activate-Wsign-compare
Browse files Browse the repository at this point in the history
cmake: add -Wsign-compare
  • Loading branch information
marckleinebudde authored Jun 7, 2024
2 parents 15dbb47 + f6db81d commit 8474860
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 @@ -21,7 +21,7 @@ endif()

add_definitions(-D_GNU_SOURCE)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-parentheses")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-parentheses -Wsign-compare")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSO_RXQ_OVFL=40")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPF_CAN=29")
Expand Down

0 comments on commit 8474860

Please sign in to comment.