Skip to content

Commit

Permalink
Treat warnings on return type as errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Oct 16, 2024
1 parent 53bafa1 commit 01ce845
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ set(ALBERT_COMPILE_OPTIONS
-Wextra
-Wpedantic

# warnings that should be errors
-Werror=return-type

# -Wconversion
# -Weffc++
-Winline
-Wmissing-field-initializers
-Wreturn-type
-Wshadow
-Wstrict-aliasing

Expand Down

0 comments on commit 01ce845

Please sign in to comment.