diff options
author | Björn Gustavsson <[email protected]> | 2011-02-02 10:21:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-02-02 10:21:37 +0100 |
commit | 9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c (patch) | |
tree | 29e870c9c3e76405932c48265fa982481936b151 | |
parent | 99f7b4e9acba5525f5390526bbb4baf17625c43b (diff) | |
download | otp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.tar.gz otp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.tar.bz2 otp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.zip |
compiler Makefile: Turn warnings into errors
We want to ensure that the compiler applications is kept
free of warnings.
-rw-r--r-- | lib/compiler/src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile index 0f6d2f6193..9da9253f5b 100644 --- a/lib/compiler/src/Makefile +++ b/lib/compiler/src/Makefile @@ -118,7 +118,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) ifeq ($(NATIVE_LIBS_ENABLED),yes) ERL_COMPILE_FLAGS += +native endif -ERL_COMPILE_FLAGS += +inline +warn_unused_import -I../../stdlib/include -I$(EGEN) -W +ERL_COMPILE_FLAGS += +inline +warn_unused_import \ + +warnings_as_errors \ + -I../../stdlib/include -I$(EGEN) -W # ---------------------------------------------------- # Targets |