aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-03-05 12:09:14 +0100
committerHans Bolinder <[email protected]>2014-03-05 12:09:14 +0100
commit70cb25dd47ca15a79f84d3f7a92c0316cf94bd03 (patch)
tree46203de80feacfb62bfed10c89f9569a8b61df9b /lib/compiler
parentc199bd2923e7d733e60beb9bd27b3852cbb2e699 (diff)
parent774955d0d2a44fa8ac5943a14516d54db2b8f6d5 (diff)
downloadotp-70cb25dd47ca15a79f84d3f7a92c0316cf94bd03.tar.gz
otp-70cb25dd47ca15a79f84d3f7a92c0316cf94bd03.tar.bz2
otp-70cb25dd47ca15a79f84d3f7a92c0316cf94bd03.zip
Merge branch 'hb/dialyzer/deprecate_types/OTP-10342'
* hb/dialyzer/deprecate_types/OTP-10342: Introduce compiler option 'nowarn_deprecated_type' Improve message about deprecated built-in types
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/doc/src/compile.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index c66c8ea4bf..5fccdcdcb5 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2013</year>
+ <year>1996</year><year>2014</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -551,6 +551,14 @@ module.beam: module.erl \
<c>{Module,Name,Arity}</c> or a list of such tuples.</p>
</item>
+ <tag><c>nowarn_deprecated_type</c></tag>
+ <item>
+ <p>Turns off warnings for uses of deprecated types. By
+ default (<c>warn_deprecated_type</c>), warnings are
+ emitted for every use of a type known by the compiler
+ to be deprecated.</p>
+ </item>
+
<tag><c>warn_obsolete_guard</c></tag>
<item>
<p>Causes warnings to be emitted for calls to old type