aboutsummaryrefslogtreecommitdiffstats
path: root/lib/typer/src/Makefile
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-04-02 11:57:43 +0200
committerHans Bolinder <[email protected]>2014-04-10 15:59:42 +0200
commitf789906490ac7854baa08663b344422340df9739 (patch)
tree404a39262b960c1dc3d9543f6065b46970ee31d4 /lib/typer/src/Makefile
parent07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff)
downloadotp-f789906490ac7854baa08663b344422340df9739.tar.gz
otp-f789906490ac7854baa08663b344422340df9739.tar.bz2
otp-f789906490ac7854baa08663b344422340df9739.zip
Correct the name of a compiler option and fix the corresponding warnings
The option `warn_export_vars` was erroneously written as `warn_exported_vars` in Makefiles of dialyzer and typer. As a result, `erlc` was silent about such warnings (why on earth doesn't it complain on unrecognized options??) which were corrected as part of this change.
Diffstat (limited to 'lib/typer/src/Makefile')
-rw-r--r--lib/typer/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/typer/src/Makefile b/lib/typer/src/Makefile
index 13af466755..a7059de971 100644
--- a/lib/typer/src/Makefile
+++ b/lib/typer/src/Makefile
@@ -63,7 +63,7 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
# ----------------------------------------------------
# FLAGS
# ----------------------------------------------------
-ERL_COMPILE_FLAGS += +warn_exported_vars +warn_untyped_record +warn_missing_spec
+ERL_COMPILE_FLAGS += +warn_export_vars +warn_untyped_record +warn_missing_spec
# ----------------------------------------------------
# Targets