diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-12-05 01:56:40 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-12-05 01:56:40 +0400 |
commit | b574b074a727e92d439a47c1a5d790bc588d001c (patch) | |
tree | 83b31cc55c47dca5da8b92a355d3ffbfee2ccd38 /nasm.c | |
parent | d64b8098bea9471b8a30bf3ab0137a982b093249 (diff) | |
download | nasm-b574b074a727e92d439a47c1a5d790bc588d001c.tar.gz nasm-b574b074a727e92d439a47c1a5d790bc588d001c.tar.bz2 nasm-b574b074a727e92d439a47c1a5d790bc588d001c.zip |
Don't forget to setup warning levels on preprocessor phase
http://bugzilla.nasm.us/show_bug.cgi?id=3143109
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.c')
-rw-r--r-- | nasm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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())) { /* |