summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-13 11:34:34 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-13 11:34:34 -0800
commitc68ec0127747c54aac7ea8b83acb03f8674bdf86 (patch)
tree7d5c64c82f36a32662000adcf69fa185dbe1c4db
parentb030c92feea07694a3d7f6abe0ac1787b42fbcf9 (diff)
downloadnasm-c68ec0127747c54aac7ea8b83acb03f8674bdf86.tar.gz
Enable a few warnings by default; clean up warning descriptions
-rw-r--r--nasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nasm.c b/nasm.c
index 2afb9f7c..560678ea 100644
--- a/nasm.c
+++ b/nasm.c
@@ -94,7 +94,7 @@ static enum op_type operating_mode;
* isn't an actual warning, but it used for -w+error/-Werror.
*/
static bool suppressed[ERR_WARN_MAX+1] = {
- true, true, true, true, false, true, false, true, true, false
+ true, false, true, false, false, true, false, true, true, false
};
/*
@@ -113,10 +113,10 @@ static const char *suppressed_names[ERR_WARN_MAX+1] = {
*/
static const char *suppressed_what[ERR_WARN_MAX+1] = {
"treat warnings as errors",
- "macro calls with wrong no. of params",
- "cyclic macro self-references",
+ "macro calls with wrong parameter count",
+ "cyclic macro references",
"labels alone on lines without trailing `:'",
- "numeric constants do not fit in 32 bits",
+ "numeric constants does not fit in 64 bits",
"using 8- or 16-bit relocation in ELF32, a GNU extension",
"floating point overflow",
"floating point denormal",