Add support for toggleable warnings

This commit is contained in:
ISSOtm
2019-11-18 09:23:32 +01:00
parent 58556f91f7
commit 191ee4ba1f
20 changed files with 362 additions and 131 deletions

View File

@@ -22,6 +22,7 @@
#include "asm/main.h"
#include "asm/output.h"
#include "asm/symbol.h"
#include "asm/warning.h"
#include "extern/err.h"
@@ -291,7 +292,7 @@ void fstk_DumpToStr(char *buf, size_t buflen)
len -= retcode;
if (!len)
warning("File stack dump too long, got truncated");
warning(WARNING_LONG_STR, "File stack dump too long, got truncated");
}
/*