diff options
author | Micael Karlberg <[email protected]> | 2011-07-19 15:39:11 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-07-19 15:39:11 +0200 |
commit | f203698b44d50744a7543c79c936b148efd9e7ca (patch) | |
tree | 4c79fb4d59f7ff5c3b175597bc0d4ba35373f30f /lib/snmp/doc/src/snmpc.xml | |
parent | d9f6226ed0d91c7f6339c63c65c0df63da89af24 (diff) | |
parent | fc26533846df044af302e5f27363cb8025fa7151 (diff) | |
download | otp-f203698b44d50744a7543c79c936b148efd9e7ca.tar.gz otp-f203698b44d50744a7543c79c936b148efd9e7ca.tar.bz2 otp-f203698b44d50744a7543c79c936b148efd9e7ca.zip |
[compiler] Added the option warnings_as_errors (for the SNMP MIB
compiler (escript) frontend, the option --wae is used) which
specifies whether warnings should be treated as errors.
Tuncer Ayaz.
OTP-9437
Merge branch 'bmk/snmp/compiler/warnings_as_errors/OTP-9437' into bmk/snmp/snmp421_integration
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/app/snmp.appup.src
lib/snmp/src/compile/Makefile
Diffstat (limited to 'lib/snmp/doc/src/snmpc.xml')
-rw-r--r-- | lib/snmp/doc/src/snmpc.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/snmp/doc/src/snmpc.xml b/lib/snmp/doc/src/snmpc.xml index 771629492d..61d19251c5 100644 --- a/lib/snmp/doc/src/snmpc.xml +++ b/lib/snmp/doc/src/snmpc.xml @@ -48,7 +48,11 @@ <type> <v>File = string()</v> <v>Options = [opt()]</v> - <v>opt() = db() | relaxed_row_name_assign_check() | deprecated() | description() | reference() | group_check() | i() | il() | imports() | module() | module_identity() | module_compliance() | agent_capabilities() | outdir() | no_defs() | verbosity() | warnings()</v> + <v>opt() = db() | relaxed_row_name_assign_check() | deprecated() | + description() | reference() | group_check() | i() | il() | + imports() | module() | module_identity() | module_compliance() | + agent_capabilities() | outdir() | no_defs() | verbosity() | + warnings() | warnings_as_errors()</v> <v>db() = {db, volatile|persistent|mnesia}</v> <v>deprecated() = {deprecated, bool()}</v> <v>relaxed_row_name_assign_check() = relaxed_row_name_assign_check</v> @@ -66,6 +70,7 @@ <v>outdir() = {outdir, dir()}</v> <v>verbosity() = {verbosity, silence|warning|info|log|debug|trace}</v> <v>warnings() = {warnings, bool()}</v> + <v>warnings_as_errors() = warnings_as_errors</v> <v>dir() = string()</v> <v>BinFileName = string()</v> </type> @@ -200,11 +205,17 @@ <item> <p>The option <c>warnings</c> specifies whether warning - messages should be shown. </p> + messages should be shown. </p> <p>Default is <c>true</c>. </p> </item> + <item> + <p>The option <c>warnings_as_errors</c>, if present, specifies + whether warnings should be treated as errors.</p> + </item> + </list> + <p>The MIB compiler understands both SMIv1 and SMIv2 MIBs. It uses the <c>MODULE-IDENTITY</c> statement to determine if the MIB is version 1 or 2. |