mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
warnings: add [warning push] and [warning pop]
Add [warning push] and [warning pop] directives. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -122,6 +122,12 @@ static inline vefunc nasm_set_verror(vefunc ve)
|
||||
/* Process a warning option or directive */
|
||||
bool set_warning_status(const char *value);
|
||||
|
||||
/* Warning stack management */
|
||||
void push_warnings(void);
|
||||
void pop_warnings(void);
|
||||
void init_warnings(void);
|
||||
void reset_warnings(void);
|
||||
|
||||
/* Should be included from within error.h only */
|
||||
#include "warnings.h"
|
||||
|
||||
|
Reference in New Issue
Block a user