summaryrefslogtreecommitdiff
path: root/include/error.h
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-01-11 13:13:03 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-01-11 13:13:03 -0800
commit1df7263ae937ac11abb2c6938b8891745af91ce6 (patch)
treee2f0e201f2dbfc7f036ff701e61027c02f1391f0 /include/error.h
parent38ddb19977c109ae18d69699d177c7d34c9d0455 (diff)
downloadnasm-1df7263ae937ac11abb2c6938b8891745af91ce6.tar.gz
warnings: add [warning push] and [warning pop]
Add [warning push] and [warning pop] directives. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'include/error.h')
-rw-r--r--include/error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/error.h b/include/error.h
index 03380764..9091fe81 100644
--- a/include/error.h
+++ b/include/error.h
@@ -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"