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>
This commit is contained in:
Cyrill Gorcunov 2011-12-05 01:56:40 +04:00
parent d64b8098be
commit b574b074a7

3
nasm.c
View File

@ -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())) {
/*