aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc/src
diff options
context:
space:
mode:
authorChristopher Faulet <[email protected]>2009-12-10 22:21:18 +0100
committerBjörn Gustavsson <[email protected]>2010-01-19 16:23:28 +0100
commit5fdb43ee9adb9081998a2428ba2e5b001c067393 (patch)
treedf6b18ad387be8e0743cfa9ce2b85bbf86b0671b /lib/compiler/doc/src
parentfb499f15b8b372c8eeb5cf0c4b4af0e109a51ceb (diff)
downloadotp-5fdb43ee9adb9081998a2428ba2e5b001c067393.tar.gz
otp-5fdb43ee9adb9081998a2428ba2e5b001c067393.tar.bz2
otp-5fdb43ee9adb9081998a2428ba2e5b001c067393.zip
compile: add flag warnings_as_errors to treat warnings as errors
With this flag, warnings are treated as errors, like gcc flag '-Werror'.
Diffstat (limited to 'lib/compiler/doc/src')
-rw-r--r--lib/compiler/doc/src/compile.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index c39c9b25eb..d6e81165d8 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -212,6 +212,12 @@
success.</p>
</item>
+ <tag><c>warnings_as_errors</c></tag>
+ <item>
+ <p>Causes warnings to be treated as errors. This option is supported
+ since R13B04.</p>
+ </item>
+
<tag><c>return</c></tag>
<item>
<p>This is a short form for both <c>return_errors</c> and