aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-04-08 10:28:44 +0200
committerGitHub <[email protected]>2019-04-08 10:28:44 +0200
commit710831523cd93eda93cff39bc673ebb2b4646376 (patch)
treedf7395f998811688337d23d52dadc2da6c05f19b /lib/compiler/doc
parent6bab8b623ad5352ee5532e3b1864185e976e31d6 (diff)
parent1a58a7c0a9af1eb98ddfecbc6157325f2c869eb1 (diff)
downloadotp-710831523cd93eda93cff39bc673ebb2b4646376.tar.gz
otp-710831523cd93eda93cff39bc673ebb2b4646376.tar.bz2
otp-710831523cd93eda93cff39bc673ebb2b4646376.zip
Merge pull request #2200 from bjorng/bjorn/deprecation-warnings/ERL-904/OTP-15749
Add compiler option for suppressing warnings about removed functions/modules
Diffstat (limited to 'lib/compiler/doc')
-rw-r--r--lib/compiler/doc/src/compile.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index 5219ba0f5d..549b1049d8 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -632,6 +632,22 @@ module.beam: module.erl \
to be deprecated.</p>
</item>
+ <tag><c>nowarn_removed</c></tag>
+ <item>
+ <p>Turns off warnings for calls to functions that have
+ been removed. Default is to emit warnings for every call
+ to a function known by the compiler to have been recently
+ removed from Erlang/OTP.</p>
+ </item>
+
+ <tag><c>{nowarn_removed, ModulesOrMFAs}</c></tag>
+ <item>
+ <p>Turns off warnings for calls to modules or functions
+ that have been removed. Default is to emit warnings for
+ every call to a function known by the compiler to have
+ been recently removed from Erlang/OTP.</p>
+ </item>
+
<tag><c>nowarn_obsolete_guard</c></tag>
<item>
<p>Turns off warnings for calls to old type testing BIFs,