diff options
author | Kostis Sagonas <[email protected]> | 2014-04-02 11:57:43 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2014-04-10 15:59:42 +0200 |
commit | f789906490ac7854baa08663b344422340df9739 (patch) | |
tree | 404a39262b960c1dc3d9543f6065b46970ee31d4 /lib/dialyzer/src/Makefile | |
parent | 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff) | |
download | otp-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/dialyzer/src/Makefile')
-rw-r--r-- | lib/dialyzer/src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile index d7265ba31a..91fbdca5bd 100644 --- a/lib/dialyzer/src/Makefile +++ b/lib/dialyzer/src/Makefile @@ -88,7 +88,7 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) ifeq ($(NATIVE_LIBS_ENABLED),yes) ERL_COMPILE_FLAGS += +native endif -ERL_COMPILE_FLAGS += +warn_exported_vars +warn_unused_import +warn_untyped_record +warn_missing_spec +warnings_as_errors +ERL_COMPILE_FLAGS += +warn_export_vars +warn_unused_import +warn_untyped_record +warn_missing_spec +warnings_as_errors # ---------------------------------------------------- # Targets |