From 137db0e38eff3e2369ab77f5ecc3f7a7a9b98ce2 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Thu, 14 Nov 2024 16:46:13 -0700 Subject: [PATCH] Meta: Add -Wlogical-op to the default compile options --- Meta/CMake/common_compile_options.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/CMake/common_compile_options.cmake b/Meta/CMake/common_compile_options.cmake index f38303c1a6a..f30caf33339 100644 --- a/Meta/CMake/common_compile_options.cmake +++ b/Meta/CMake/common_compile_options.cmake @@ -68,6 +68,7 @@ endif() add_cxx_compile_options(-Wcast-qual) add_cxx_compile_options(-Wformat=2) add_cxx_compile_options(-Wimplicit-fallthrough) +add_cxx_compile_options(-Wlogical-op) add_cxx_compile_options(-Wmissing-declarations) add_cxx_compile_options(-Wmissing-field-initializers) add_cxx_compile_options(-Wsuggest-override)