diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 15:10:04 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 15:11:11 -0800 |
commit | 5a24fdd547f4c02fe46c37b84a020febfa41bfd2 (patch) | |
tree | 4a8018ff69d3c806b8baa52fb3d8ff500395b197 /nasmlib.h | |
parent | c92aaa1d49876b69fc2d727033922274733ff7fe (diff) | |
download | nasm-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |