Skip to content

Commit

Permalink
Update compile flags
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kishor Kothakota <[email protected]>
  • Loading branch information
christophfroehlich and saikishor authored Nov 18, 2024
1 parent 5c32a72 commit 4cd5772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpio_controllers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wall -Wextra -Wpedantic -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow -Werror=format -Werror=range-loop-construct -Werror=missing-braces)
endif()

# find dependencies
Expand Down

0 comments on commit 4cd5772

Please sign in to comment.