aboutsummaryrefslogtreecommitdiffstats
path: root/doc/nasmdoc.src
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-05-09 14:36:59 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-05-09 14:36:59 -0700
commit77511e32a7e15d2b511c7723c5df28890a593321 (patch)
tree911574189dd8091af44c526b0fd70719cd47eb68 /doc/nasmdoc.src
parentf43aedac2323cfad88fc4ac53b2c7d9597623e2c (diff)
downloadnasm-77511e32a7e15d2b511c7723c5df28890a593321.tar.gz
nasm-77511e32a7e15d2b511c7723c5df28890a593321.tar.xz
nasm-77511e32a7e15d2b511c7723c5df28890a593321.zip
doc: document warning improvements
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r--doc/nasmdoc.src10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 55be9d97..f38a9ce3 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -963,13 +963,21 @@ Enabled by default.
form of jmp instruction becomes jmp short form.
Enabled by default.
+\b \i\c{zext-reloc} warns that a relocation has been zero-extended due
+to limitations in the output format.
+
+\b \i\c\{ptr} warns about keywords used in other assemblers that might
+indicate a mistake in the source code. Currently only the MASM
+\c{PTR} keyword is recognized.
+
\b \i\c{error} causes warnings to be treated as errors. Disabled by
default.
\b \i\c{all} is an alias for \e{all} suppressible warning classes (not
including \c{error}). Thus, \c{-w+all} enables all available warnings.
-In addition, you can set warning classes across sections.
+In addition, you can control warnings in the source code itself, using
+the \i\c{[warning]} directive.
Warning classes may be enabled with \i\c{[warning +warning-name]},
disabled with \i\c{[warning -warning-name]} or reset to their
original value with \i\c{[warning *warning-name]}. No "user form"