mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-26 02:57:45 +00:00
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>
This commit is contained in:
parent
eb6c296472
commit
b37547bc70
2 changed files with 2 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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; }
|
||||
|
|
|
@ -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}])
|
||||
|
|
Loading…
Reference in a new issue