aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-22 14:22:19 +0100
committerSverker Eriksson <[email protected]>2016-11-22 14:22:19 +0100
commit9563cd5b296fe589c8abe357710fbb79bc766d09 (patch)
tree464ff57782299c2e42d937ab3428a651615bfdbf /erts/configure.in
parent3d7b55f946162b5a129241dbe67397784a1ba1a5 (diff)
parent011242f927259aa477ebe488a3ee3c4e22081488 (diff)
downloadotp-9563cd5b296fe589c8abe357710fbb79bc766d09.tar.gz
otp-9563cd5b296fe589c8abe357710fbb79bc766d09.tar.bz2
otp-9563cd5b296fe589c8abe357710fbb79bc766d09.zip
Merge branch 'sverker/Wundef'
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 50f8c3b429..98f3e6bcc5 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -533,6 +533,7 @@ if test "x$GCC" = xyes; then
# Treat certain GCC warnings as errors
LM_TRY_ENABLE_CFLAG([-Werror=return-type], [WERRORFLAGS])
LM_TRY_ENABLE_CFLAG([-Werror=implicit], [WERRORFLAGS])
+ LM_TRY_ENABLE_CFLAG([-Werror=undef], [WERRORFLAGS])
# until the emulator can handle this, I suggest we turn it off!
#WFLAGS="-Wall -Wshadow -Wcast-qual -Wmissing-declarations"