|
From: | Luis Alejandro Muzzachiodi |
Subject: | Re: [Tinycc-devel] Error compiling with mingw 4.4.1 |
Date: | Thu, 12 May 2011 00:36:36 -0700 (PDT) |
I can trace the problem to the file "tccpp.h" in the function ST_FUNC int tcc_preprocess(TCCState *s1) in the line line_ref = (file_ref = file)->line_num; The solution is change the definition of file_ref from BufferedFile *file_ref to static BufferedFile *file_ref; After this change, i can compile ok with mingw 4.4.1. (i don't know if this was fixed in later's mingw distributions, someone report the same problem until mingw 4.5 according the mail archives. Also the archives give others workarounds as change the level of optimization (no Os) or use the option -fno-tree-vrp for avoid the vrp optimization. Both alternatives are valid, too.) Alejandro --- El sáb 30-abr-11, Luis Alejandro Muzzachiodi escribió:
|
[Prev in Thread] | Current Thread | [Next in Thread] |