From 12f6a1b18fc573ce3f245bfd69e62fbaa378b80e Mon Sep 17 00:00:00 2001
From: Richard Carlsson
Date: Sat, 29 Oct 2016 23:30:49 +0200
Subject: warn_obsolete_guard is already default
Update compiler documentation and remove superfluous erlc flags.
---
lib/compiler/doc/src/compile.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/compiler/doc/src/compile.xml')
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index 3ce37b98e9..81e8ec6c23 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -574,7 +574,7 @@ module.beam: module.erl \
such as pid/1 and list/1. See the
Erlang Reference Manual
for a complete list of type testing BIFs and their old
- equivalents. Default is to emit no warnings for calls to
+ equivalents. Default is to emit warnings for calls to
old type testing BIFs.
--
cgit v1.2.3
From ba8f27dca5662ca7c66ac766be107342d808e72b Mon Sep 17 00:00:00 2001
From: Richard Carlsson
Date: Sat, 29 Oct 2016 23:40:01 +0200
Subject: Make warn_export_all the default
---
lib/compiler/doc/src/compile.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'lib/compiler/doc/src/compile.xml')
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index 81e8ec6c23..e93da85f6c 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -498,9 +498,11 @@ module.beam: module.erl \
- warn_export_all
+ nowarn_export_all
-
-
Emits a warning if option export_all is also given.
+ Turns off warnings for uses of the export_all
+ option. Default is to emit a warning if option
+ export_all is also given.
warn_export_vars
--
cgit v1.2.3