aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/doc/src
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-06-24 20:22:47 +0200
committerTuncer Ayaz <[email protected]>2011-09-08 14:02:18 +0200
commitfa90ce72d5df40de7d70c1d6a7b2be1451c7fc9a (patch)
tree128d90005c18b80ad3fe8d60d89c80b17b0ba35c /lib/asn1/doc/src
parent78c109da0a33108a72ea580b8ba4c01aa32dbe2c (diff)
downloadotp-fa90ce72d5df40de7d70c1d6a7b2be1451c7fc9a.tar.gz
otp-fa90ce72d5df40de7d70c1d6a7b2be1451c7fc9a.tar.bz2
otp-fa90ce72d5df40de7d70c1d6a7b2be1451c7fc9a.zip
asn1ct: add warnings_as_errors option
Diffstat (limited to 'lib/asn1/doc/src')
-rw-r--r--lib/asn1/doc/src/asn1ct.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 265f8735c2..50458b4a9a 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -53,7 +53,7 @@
<v>Option = ber_bin | per_bin | uper_bin | der | compact_bit_string |
noobj | {n2n,EnumTypeName} |{outdir,Dir} | {i,IncludeDir} | optimize |
driver | asn1config | undec_rest | {inline,OutputName} | inline |
- {macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose</v>
+ {macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose | warnings_as_errors</v>
<v>OldOption = ber | per</v>
<v>Reason = term()</v>
<v>Prefix = string()</v>
@@ -289,6 +289,10 @@ Binary = binary()
<p>Causes more verbose information from the compiler
describing what it is doing.</p>
</item>
+ <tag><c>warnings_as_errors</c></tag>
+ <item>
+ <p>Causes warnings to be treated as errors.</p>
+ </item>
</taglist>
<p>Any additional option that is applied will be passed to
the final step when the generated .erl file is compiled.