http://bugs.winehq.org/show_bug.cgi?id=5271
Summary: Mingw's "cpp -dM" segfaults on wine Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: htl10@users.sourceforge.net
Mingw 5.0.2 (http://www.mingw.org), wine 0.9.13 on fedora core 5 x86_64, "cpp -dM" segfaults right away on wcmd:
I want to know what internal macros are defined, so I did cpp -dM:
cpp -dM cc1.exe: stdout: Invalid argument cc1.exe: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.mingw.org/bugs.shtml for instructions.
"cpp -dM <randomfile>" works as intended, so this is not a serious problem, just unexpected. with Mingw 5.0.2 on wine.
Expected behavior:
On windows, nothing happens with input fron stdin until I enter Ctrl-Z, the DOS end of file marker. Then I get a listing of builtin defines.
Also reported in Mingw:
https://sourceforge.net/tracker/index.php?func=detail&aid=1492297&gr...