From: SourceForge.net <no...@so...> - 2008-09-24 05:33:11
|
Bugs item #2125708, was opened at 2008-09-24 12:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2125708&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mingw runtime Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Alexandr Zamaraev (shura_zam) Assigned to: Nobody/Anonymous (nobody) Summary: Error compile for defined __MSVCRT_VERSION__=0x0800 Initial Comment: Os WinXP Home Ru + sp3 g++ (GCC) 3.4.5 (mingw-vista special r3) GNU ld (GNU Binutils) 2.18.50.20080109 binutils-2.18.50-20080109-2.tar.gz mingwrt-3.15-mingw32-dev.tar.gz mingwrt-3.15-mingw32-dll.tar.gz w32api-3.12-mingw32-dev.tar.gz Test source (mini2.c): #include <windows.h> int STDCALL WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) { MessageBox (NULL, "Test message", "Test", MB_OK); return 0; } Command line and output: C:\test>gcc -c -D__MSVCRT_VERSION__=0x0800 mini2.c In file included from C:/Lang/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:12, from C:/Lang/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h:9, from C:/Lang/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:114, from mini2.c:1: C:/Lang/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:470: error: syntax error before "uintptr_t" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2125708&group_id=2435 |