diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-05-31 09:46:25 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-06-01 18:52:23 +0200 |
commit | 94f7606db6f8e3d6c1cc71be6be304e16ba06a66 (patch) | |
tree | a4467f67f098045a0e976a062b70bf43d18e8178 /configure.ac | |
parent | de5be4a693dfab791bb389e77944ed49b49ef0ce (diff) | |
download | bison-94f7606db6f8e3d6c1cc71be6be304e16ba06a66.tar.gz |
build: check -Wstrict-aliasing
* configure.ac (warn_common): Add -Wstrict-aliasing.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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' |