summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-25 15:10:04 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-25 15:11:11 -0800
commit5a24fdd547f4c02fe46c37b84a020febfa41bfd2 (patch)
tree4a8018ff69d3c806b8baa52fb3d8ff500395b197 /nasmlib.h
parentc92aaa1d49876b69fc2d727033922274733ff7fe (diff)
downloadnasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.tar.gz
nasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.tar.bz2
nasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.zip
Make the LOCK and HLE warnings suppressable.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 1aeaf0a..2210748 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -132,7 +132,9 @@ void nasm_set_verror(vefunc);
#define ERR_WARN_FL_UNDERFLOW WARN( 9) /* FP underflow */
#define ERR_WARN_FL_TOOLONG WARN(10) /* FP too many digits */
#define ERR_WARN_USER WARN(11) /* %warning directives */
-#define ERR_WARN_MAX 11 /* the highest numbered one */
+#define ERR_WARN_LOCK WARN(12) /* bad LOCK prefixes */
+#define ERR_WARN_HLE WARN(13) /* bad HLE prefixes */
+#define ERR_WARN_MAX 13 /* the highest numbered one */
/*
* Wrappers around malloc, realloc and free. nasm_malloc will