diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2008-10-26 17:33:43 -0700 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2008-10-26 17:33:43 -0700 |
commit | 429265163e1c8a1f0c25b22d859811d9b8de3154 (patch) | |
tree | 84bb35bb3cc465e7fa053e71729a14e27e6781d5 | |
parent | 10a863d87e2ed8e93b681c886c2d2e1c799d4a48 (diff) | |
parent | 15c6be8d7569b25b1b57d6f782d669991348926f (diff) | |
download | nasm-429265163e1c8a1f0c25b22d859811d9b8de3154.tar.gz |
Merge branch 'master' of git+ssh://ccrayne@repo.or.cz/srv/git/nasm
-rw-r--r-- | nasm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -118,7 +118,7 @@ static const struct warning { {"macro-selfref", "cyclic macro references", false}, {"macro-defaults", "macros with more default than optional parameters", true}, {"orphan-labels", "labels alone on lines without trailing `:'", true}, - {"number-overflow", "numeric constants does not fit in 64 bits", true}, + {"number-overflow", "numeric constant does not fit", true}, {"gnu-elf-extensions", "using 8- or 16-bit relocation in ELF32, a GNU extension", false}, {"float-overflow", "floating point overflow", true}, {"float-denorm", "floating point denormal", false}, @@ -835,13 +835,13 @@ static bool process_arg(char *p, char *q) if (!nasm_stricmp(param, warnings[i].name)) break; if (i <= ERR_WARN_MAX) - warning_on[i] = do_warn; + warning_on_global[i] = do_warn; else if (!nasm_stricmp(param, "all")) for (i = 1; i <= ERR_WARN_MAX; i++) - warning_on[i] = do_warn; + warning_on_global[i] = do_warn; else if (!nasm_stricmp(param, "none")) for (i = 1; i <= ERR_WARN_MAX; i++) - warning_on[i] = !do_warn; + warning_on_global[i] = !do_warn; else report_error(ERR_NONFATAL | ERR_NOFILE | ERR_USAGE, "invalid warning `%s'", param); |