diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-08-15 15:13:41 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-09-04 21:39:06 +0100 |
commit | 598294dde8e86c894fbaa3ac97e15f346d76e323 (patch) | |
tree | 2ebad1170d744cb3409e16e22cdd090303da6deb | |
parent | 0ec7f4423dcb6f80bee020f98fd319b092f90581 (diff) | |
download | libdrm-598294dde8e86c894fbaa3ac97e15f346d76e323.tar.gz libdrm-598294dde8e86c894fbaa3ac97e15f346d76e323.tar.bz2 libdrm-598294dde8e86c894fbaa3ac97e15f346d76e323.zip |
configure: enable -Wshadow when available
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f07507b5..c2a8ed12 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,7 @@ MAYBE_WARN="-Wall -Wextra \ -Wstrict-aliasing=2 -Winit-self \ -Wdeclaration-after-statement -Wold-style-definition \ -Wno-missing-field-initializers -Wno-unused-parameter \ --Wno-attributes -Wno-long-long -Winline" +-Wno-attributes -Wno-long-long -Winline -Wshadow" # invalidate cached value if MAYBE_WARN has changed if test "x$libdrm_cv_warn_maybe" != "x$MAYBE_WARN"; then |