summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-05-31 09:46:25 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-06-01 18:52:23 +0200
commit94f7606db6f8e3d6c1cc71be6be304e16ba06a66 (patch)
treea4467f67f098045a0e976a062b70bf43d18e8178 /configure.ac
parentde5be4a693dfab791bb389e77944ed49b49ef0ce (diff)
downloadbison-94f7606db6f8e3d6c1cc71be6be304e16ba06a66.tar.gz
build: check -Wstrict-aliasing
* configure.ac (warn_common): Add -Wstrict-aliasing.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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'