http://bugs.winehq.org/show_bug.cgi?id=35335
Bug ID: 35335 Summary: MSVC 2013 C compiler (cl.exe) fails/crashes Product: Wine Version: 1.7.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wine@martin.st Classification: Unclassified
Created attachment 47131 --> http://bugs.winehq.org/attachment.cgi?id=47131 Backtrace of crash when run with WINEDEBUG=+all
After fixing http://bugs.winehq.org/show_bug.cgi?id=35176, the MSVC 2012 C compiler now seems to work just fine in wine (1.7.10), but the 2013 version doesn't work properly.
When running the compiler normally (e.g. "wine cl.exe -c test.c") on a file that doesn't include any header files, it succeeds, but if including any standard headers, it will fail saying e.g.:
\vc\include\stdint.h(6) : fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory
Likewise it can sometimes say that the C source file itself (test.c) isn't found:
c1 : fatal error C1083: Cannot open source file: 'test.c': No such file or directory
This error itself seems to be a red herring (all the files it looks for do exist), because if cl.exe is run with WINEDEBUG=+all, it crashes (even in the case where it previously ran just fine, with a .c file that doesn't include anything).