Meta: Add -Wlogical-op to the default compile options

This commit is contained in:
Andrew Kaster 2024-11-14 16:46:13 -07:00 committed by Andrew Kaster
parent 71eded0471
commit 137db0e38e
Notes: github-actions[bot] 2024-11-15 17:51:46 +00:00

View file

@ -68,6 +68,7 @@ endif()
add_cxx_compile_options(-Wcast-qual) add_cxx_compile_options(-Wcast-qual)
add_cxx_compile_options(-Wformat=2) add_cxx_compile_options(-Wformat=2)
add_cxx_compile_options(-Wimplicit-fallthrough) add_cxx_compile_options(-Wimplicit-fallthrough)
add_cxx_compile_options(-Wlogical-op)
add_cxx_compile_options(-Wmissing-declarations) add_cxx_compile_options(-Wmissing-declarations)
add_cxx_compile_options(-Wmissing-field-initializers) add_cxx_compile_options(-Wmissing-field-initializers)
add_cxx_compile_options(-Wsuggest-override) add_cxx_compile_options(-Wsuggest-override)