summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-12-05 01:56:40 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-12-05 01:56:40 +0400
commitb574b074a727e92d439a47c1a5d790bc588d001c (patch)
tree83b31cc55c47dca5da8b92a355d3ffbfee2ccd38 /nasm.c
parentd64b8098bea9471b8a30bf3ab0137a982b093249 (diff)
downloadnasm-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.c3
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())) {
/*