From 94f7606db6f8e3d6c1cc71be6be304e16ba06a66 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 31 May 2020 09:46:25 +0200 Subject: [PATCH] build: check -Wstrict-aliasing * configure.ac (warn_common): Add -Wstrict-aliasing. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index edc05eb5..4108eb58 100644 --- a/configure.ac +++ b/configure.ac @@ -132,7 +132,7 @@ if test "$enable_gcc_warnings" = yes; then -fparse-all-comments -Wdocumentation -Wformat -Wimplicit-fallthrough -Wnull-dereference -Wno-sign-compare -Wno-tautological-constant-out-of-range-compare - -Wpointer-arith -Wshadow + -Wpointer-arith -Wshadow -Wstrict-aliasing -Wwrite-strings -wr188 -wr2259 -wr3179' warn_c='-Wbad-function-cast -Wstrict-prototypes'