[Bug 5271] New: Mingw's "cpp -dM" segfaults on wine

Wine Bugs wine-bugs at winehq.org
Sun May 21 08:18:34 CDT 2006


           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 at winehq.org
        ReportedBy: htl10 at 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:


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list