0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

Allow %warning output to be suppressed

Allow the user to suppress user-specified warnings.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin
2008-09-30 16:39:17 -07:00
parent 2d5baaa69a
commit 2f16043879
5 changed files with 15 additions and 5 deletions

View File

@@ -13,6 +13,9 @@ since 2007.
\b Make the behaviour of \c{-O0} match NASM 0.98 legacy behavior.
See \k{opt-O}.
\b \c{-w-user} can be used to suppress the output of \c{%warning} directives.
See \k{opt-w}.
\S{cl-2.04} Version 2.04

View File

@@ -889,6 +889,9 @@ Disabled by default.
\b \i\c{float-toolong} warns about too many digits in floating-point numbers.
Enabled by default.
\b \i\c{user} controls \c{%warning} directives (see \k{pperror}).
Enabled by default.
In addition, you can set warning classes across sections.
Warning classes may be enabled with \i\c{[warning +warning-name]},
disabled with \i\c{[warning -warning-name]} or reset to their