diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile index 9b50016bb55..72f05e0ee8f 100644 --- a/lib/compiler/src/Makefile +++ b/lib/compiler/src/Makefile @@ -138,7 +138,7 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) # FLAGS # ---------------------------------------------------- -ERL_COMPILE_FLAGS += -Werror +ERL_COMPILE_FLAGS += -Werror +warn_deprecated_catch ERL_COMPILE_FLAGS += +inline +warn_unused_import \ -I../../stdlib/include -I$(EGEN) -W +warn_missing_spec diff --git a/lib/compiler/src/core_scan.erl b/lib/compiler/src/core_scan.erl index 2af3397ad5f..64f30e01fa8 100644 --- a/lib/compiler/src/core_scan.erl +++ b/lib/compiler/src/core_scan.erl @@ -46,6 +46,8 @@ -module(core_scan). -moduledoc false. +-compile(nowarn_deprecated_catch). + -export([string/1, string/2, format_error/1]). -import(lists, [reverse/1]).