From: Cyrill G. <gor...@gm...> - 2011-12-04 22:03:39
|
I'm not sure if NOT passing warning levels to preprocessor level was done intentionally, so before commit patch out I would like to hear opinions. Cyrill --- >From b574b074a727e92d439a47c1a5d790bc588d001c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov <gor...@gm...> 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 <gor...@gm...> --- nasm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/nasm.c b/nasm.c index 7d38d60..c6ddc73 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())) { /* -- 1.7.7.3 |