mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-11-08 23:27:15 -05:00
fix [warning push] causing "unknown warning name"
[warning push] emitted a "unknown warning name" warning when -w+unknown-warning is set.
This commit is contained in:
committed by
H. Peter Anvin
parent
ca178f80d8
commit
94c6ecda5b
@@ -526,8 +526,9 @@ bool process_directives(char *directive)
|
||||
push_warnings();
|
||||
else if (!nasm_stricmp(value, "pop"))
|
||||
pop_warnings();
|
||||
} else {
|
||||
set_warning_status(value);
|
||||
}
|
||||
set_warning_status(value);
|
||||
break;
|
||||
|
||||
case D_CPU: /* [CPU] */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"id": "warnstack",
|
||||
"format": "bin",
|
||||
"source": "warnstack.asm",
|
||||
"option": "-Ox",
|
||||
"option": "-Ox -w+unknown-warning",
|
||||
"target": [
|
||||
{ "output": "warnstack.bin" },
|
||||
{ "stderr": "warnstack.stderr" }
|
||||
|
||||
Reference in New Issue
Block a user