aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-03-08 19:29:30 +0100
committerSverker Eriksson <[email protected]>2016-03-08 19:29:30 +0100
commitc785c540b41db4e2676c0dd462971590779761cf (patch)
treebaad8cb165e80dd9f6d871ca6f1aca1e0d7b9228 /erts
parent25ea0fce81cd46a904b2aa95d982a9fd50a4a2c1 (diff)
parent3121171f56c2d4a273b89a9d1d47d9f50e027770 (diff)
downloadotp-c785c540b41db4e2676c0dd462971590779761cf.tar.gz
otp-c785c540b41db4e2676c0dd462971590779761cf.tar.bz2
otp-c785c540b41db4e2676c0dd462971590779761cf.zip
Merge branch 'sverk/Werror-implicit'
* sverk/Werror-implicit: otp: Add gcc option -Werror=implicit
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index a8d6015aee..021780ecc2 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -584,6 +584,7 @@ fi
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])
# until the emulator can handle this, I suggest we turn it off!
#WFLAGS="-Wall -Wshadow -Wcast-qual -Wmissing-declarations"