0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00

Allow %warning output to be suppressed

Allow the user to suppress user-specified warnings.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin
2008-09-30 16:39:17 -07:00
parent 2d5baaa69a
commit 2f16043879
5 changed files with 15 additions and 5 deletions

View File

@@ -2377,7 +2377,7 @@ static int do_directive(Token * tline)
severity = ERR_NONFATAL|ERR_NO_SEVERITY;
goto issue_error;
case PP_WARNING:
severity = ERR_WARNING|ERR_NO_SEVERITY;
severity = ERR_WARNING|ERR_NO_SEVERITY|ERR_WARN_USER;
goto issue_error;
issue_error: