Skip to content

Commit

Permalink
Build: enable clang -Wmost
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 13, 2025
1 parent 926f93b commit 3b3cae8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/helpers/GdalCompilationFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ else ()
detect_and_set_cxx_warning_flag(suggest-override)
# clang specific only. Avoids that foo("bar") goes to foo(bool) instead of foo(const std::string&)
detect_and_set_cxx_warning_flag(string-conversion)
detect_and_set_cxx_warning_flag(most)

check_cxx_compiler_flag(-fno-operator-names HAVE_FLAG_NO_OPERATOR_NAMES)
if (HAVE_FLAG_NO_OPERATOR_NAMES)
Expand Down

0 comments on commit 3b3cae8

Please sign in to comment.