issue with mingw and __attribute__? [relevant bits from g++ -E]
Adam Megacz
gcc@lists.megacz.com
Mon Feb 4 14:25:00 GMT 2002
Adam Megacz <gcc@lists.megacz.com> writes:
> /usr/local/gcc/i686-pc-mingw32/include/winbase.h:1078: parse error before `
> __attribute__'
winbase.h:1078:
DECLSPEC_NORETURN void WINAPI ExitProcess(UINT);
This line expands (gcc -E) to:
__attribute__((noreturn)) void __attribute__((__stdcall__)) ExitProcess(UINT);
Trying to make figuring out the bug easier, since I lack the
understanding of gcc's internal workings needed to hunt it down
myself... Let me know if there's anything else I can provide.
- a
More information about the Gcc
mailing list