From 72b211419977a211c871232d66e1a668e3cf702f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 2 Dec 2013 16:41:45 -0800 Subject: XORG_COMPILER_FLAGS: Add -Wlogical-op to default warning set We've fixed several bugs it uncovered already, only one warning left that it adds in a default build. Signed-off-by: Alan Coopersmith Reviewed-by: Gaetan Nadon --- xorg-macros.m4.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 0a547c7..200a36b 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -1650,11 +1650,11 @@ XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow]) XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn]) XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute]) XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) +XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op]) # These are currently disabled because they are noisy. They will be enabled # in the future once the codebase is sufficiently modernized to silence # them. For now, I don't want them to drown out the other warnings. -# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op]) # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses]) # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) -- cgit v1.2.3