summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/configure.ac')
-rw-r--r--cpp/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index 2e26c4fb68..adf3da06b8 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -66,6 +66,7 @@ if test x$GXX = xyes; then
# -Wunreachable-code -Wpadded -Winline
# -Wshadow - warns about boost headers.
if test "${enableval}" = yes; then
+ gl_COMPILER_FLAGS(-Werror)
gl_COMPILER_FLAGS(-pedantic)
gl_COMPILER_FLAGS(-Wall)
gl_COMPILER_FLAGS(-Wextra)