build: check -Wstrict-aliasing

* configure.ac (warn_common): Add -Wstrict-aliasing.
This commit is contained in:
Akim Demaille
2020-05-31 09:46:25 +02:00
parent de5be4a693
commit 94f7606db6

View File

@@ -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'