From b574b074a727e92d439a47c1a5d790bc588d001c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 5 Dec 2011 01:56:40 +0400 Subject: [PATCH] Don't forget to setup warning levels on preprocessor phase http://bugzilla.nasm.us/show_bug.cgi?id=3143109 Signed-off-by: Cyrill Gorcunov --- nasm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nasm.c b/nasm.c index 7d38d607..c6ddc736 100644 --- a/nasm.c +++ b/nasm.c @@ -408,8 +408,9 @@ int main(int argc, char **argv) location.known = false; - /* pass = 1; */ + /* pass = 1; */ preproc->reset(inname, 3, &nasmlist, depend_ptr); + memcpy(warning_on, warning_on_global, (ERR_WARN_MAX+1) * sizeof(bool)); while ((line = preproc->getline())) { /* -- 2.11.4.GIT