mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-22 18:56:31 +00:00
turn on -Werror generally
This moves us to being warning free by default rather than being free of some specific warnings. This doesn't turn on any new warnings though. Change-Id: I60bb79d1790e85ec4618b3548dad6de5d9bf8ab5 Reviewed-on: https://chromium-review.googlesource.com/438565 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
cc1deb4452
commit
93c447a0de
|
@ -46,6 +46,7 @@ endif
|
||||||
if GCC
|
if GCC
|
||||||
# These are good warnings to be treated as errors
|
# These are good warnings to be treated as errors
|
||||||
AM_CXXFLAGS += \
|
AM_CXXFLAGS += \
|
||||||
|
-Werror \
|
||||||
-Werror=missing-braces \
|
-Werror=missing-braces \
|
||||||
-Werror=non-virtual-dtor \
|
-Werror=non-virtual-dtor \
|
||||||
-Werror=overloaded-virtual \
|
-Werror=overloaded-virtual \
|
||||||
|
|
|
@ -131,6 +131,7 @@ host_triplet = @host@
|
||||||
|
|
||||||
# These are good warnings to be treated as errors
|
# These are good warnings to be treated as errors
|
||||||
@GCC_TRUE@am__append_2 = \
|
@GCC_TRUE@am__append_2 = \
|
||||||
|
@GCC_TRUE@ -Werror \
|
||||||
@GCC_TRUE@ -Werror=missing-braces \
|
@GCC_TRUE@ -Werror=missing-braces \
|
||||||
@GCC_TRUE@ -Werror=non-virtual-dtor \
|
@GCC_TRUE@ -Werror=non-virtual-dtor \
|
||||||
@GCC_TRUE@ -Werror=overloaded-virtual \
|
@GCC_TRUE@ -Werror=overloaded-virtual \
|
||||||
|
|
Loading…
Reference in a new issue