diff options
author | Tobias Sargeant <tobiasjs@google.com> | 2017-03-24 12:51:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2017-03-24 16:13:31 +0000 |
commit | b37547bc7096ad28a9e9236ba068f50b11716324 (patch) | |
tree | 36c24673ca0071ba4013258b523736135eff9a94 | |
parent | Remove unused typedef (diff) | |
download | breakpad-b37547bc7096ad28a9e9236ba068f50b11716324.tar.xz |
add -Wunused-local-typedefs to the set of warning flags
This helps catch issues when rolling in Chromium.
Change-Id: I2e3f33df4a69b501d8c04799ee0ac03a4bed9ac9
Reviewed-on: https://chromium-review.googlesource.com/459477
Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -7295,7 +7295,7 @@ fi -for flag in -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-variable -Wvla ; do +for flag in -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-local-typedefs -Wunused-variable -Wvla ; do as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_${ax_compiler_flags_test}_$flag" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 $as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } diff --git a/configure.ac b/configure.ac index 8dd855d9..bc72017c 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ AX_APPEND_COMPILE_FLAGS(m4_flatten([ -Woverloaded-virtual -Wreorder -Wsign-compare + -Wunused-local-typedefs -Wunused-variable -Wvla ]), [WARN_CXXFLAGS], [${ax_compiler_flags_test}]) |