diff options
author | Kostis Sagonas <[email protected]> | 2014-02-26 00:09:57 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2014-02-26 00:09:57 +0100 |
commit | 5795a20244dde1de8236eed8a0f43bc976bd1e0c (patch) | |
tree | b1248d7da92dad4ba2270337e447083f9cd20a7c /lib | |
parent | 9bf68c06cf5ba8e9aa487bd1f03bc236bf22e357 (diff) | |
download | otp-5795a20244dde1de8236eed8a0f43bc976bd1e0c.tar.gz otp-5795a20244dde1de8236eed8a0f43bc976bd1e0c.tar.bz2 otp-5795a20244dde1de8236eed8a0f43bc976bd1e0c.zip |
Cleanup and make sure warnings are treated as errors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hipe/cerl/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/hipe/cerl/Makefile b/lib/hipe/cerl/Makefile index 506e993ff4..d13dfb33c2 100644 --- a/lib/hipe/cerl/Makefile +++ b/lib/hipe/cerl/Makefile @@ -42,8 +42,8 @@ RELSYSDIR = $(RELEASE_PATH)/lib/hipe-$(VSN) # ---------------------------------------------------- # Target Specs # ---------------------------------------------------- -MODULES = cerl_cconv cerl_closurean cerl_hipeify \ - cerl_lib cerl_messagean cerl_pmatch cerl_prettypr cerl_to_icode \ +MODULES = cerl_cconv cerl_closurean cerl_hipeify cerl_lib \ + cerl_messagean cerl_pmatch cerl_prettypr cerl_to_icode \ cerl_typean erl_bif_types erl_types HRL_FILES= cerl_hipe_primops.hrl @@ -65,7 +65,7 @@ DOC_FILES= $(MODULES:%=$(DOCS)/%.html) include ../native.mk -ERL_COMPILE_FLAGS += +inline +warn_exported_vars +warn_unused_import +warn_missing_spec# +warn_untyped_record +ERL_COMPILE_FLAGS += -Werror +inline +warn_exported_vars +warn_unused_import +warn_missing_spec #+warn_untyped_record # ---------------------------------------------------- # Targets @@ -107,7 +107,6 @@ release_spec: opt release_docs_spec: -$(EBIN)/cerl_to_icode.beam: cerl_hipe_primops.hrl ../icode/hipe_icode_primops.hrl +$(EBIN)/cerl_cconv.beam: cerl_hipe_primops.hrl $(EBIN)/cerl_hipeify.beam: cerl_hipe_primops.hrl -$(EBIN)/cerl_lambdalift.beam: cerl_hipe_primops.hrl -$(EBIN)/erl_bif_types.beam: ../icode/hipe_icode_primops.hrl +$(EBIN)/cerl_to_icode.beam: cerl_hipe_primops.hrl ../icode/hipe_icode_primops.hrl |