summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2019-02-10 19:15:03 +0000
committerMonty Taylor <mordred@inaugust.com>2019-02-10 19:15:51 +0000
commit80d56bccb39426eded1b4b0a3140e911bebb3ed4 (patch)
tree3bb17f03430f175a9810d9340b9fba7f76a5981b
parentfc1a31230e060b3eb4c48573c13641734fc231c1 (diff)
Re-add -Werror
Accidentally lost this in the autoconf refactor.
-rw-r--r--m4/opendev_warnings.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/opendev_warnings.m4 b/m4/opendev_warnings.m4
index 7e2c896..f52e0c3 100644
--- a/m4/opendev_warnings.m4
+++ b/m4/opendev_warnings.m4
@@ -107,8 +107,8 @@ foo(0);
107 AS_IF([test "$ac_cv_safe_to_use_wconversion_" = "yes"], 107 AS_IF([test "$ac_cv_safe_to_use_wconversion_" = "yes"],
108 [W_CONVERSION="-Wconversion"]) 108 [W_CONVERSION="-Wconversion"])
109 109
110 CC_WARNINGS="${BASE_WARNINGS} -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL} ${W_CONVERSION}" 110 CC_WARNINGS="${BASE_WARNINGS} -Werror -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL} ${W_CONVERSION}"
111 CXX_WARNINGS="${BASE_WARNINGS} -Wattributes -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy ${CXX_WARNINGS_FULL} ${W_CONVERSION}" 111 CXX_WARNINGS="${BASE_WARNINGS} -Werror -Wattributes -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy ${CXX_WARNINGS_FULL} ${W_CONVERSION}"
112 112
113 AC_CACHE_CHECK([whether it is safe to use -Wframe-larger-than],[ac_cv_safe_to_use_Wframe_larger_than_],[ 113 AC_CACHE_CHECK([whether it is safe to use -Wframe-larger-than],[ac_cv_safe_to_use_Wframe_larger_than_],[
114 AC_LANG_PUSH(C++) 114 AC_LANG_PUSH(C++)