diff options
author | Sverker Eriksson <[email protected]> | 2016-11-22 14:22:19 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-11-22 14:22:19 +0100 |
commit | 9563cd5b296fe589c8abe357710fbb79bc766d09 (patch) | |
tree | 464ff57782299c2e42d937ab3428a651615bfdbf /erts/configure.in | |
parent | 3d7b55f946162b5a129241dbe67397784a1ba1a5 (diff) | |
parent | 011242f927259aa477ebe488a3ee3c4e22081488 (diff) | |
download | otp-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.in | 1 |
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" |