Skip to content

Commit

Permalink
tests/runner: enable strict-prototypes warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
  • Loading branch information
d-tatianin committed Dec 18, 2024
1 parent 894f4ea commit 8045a59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/runner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ else ()
PRIVATE
-fsanitize=address,undefined -g3
)
add_compile_options(
$<$<COMPILE_LANGUAGE:C>:-Wstrict-prototypes>
)
endif ()

find_package(Threads REQUIRED)
Expand Down

0 comments on commit 8045a59

Please sign in to comment.