This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: issue with mingw and __attribute__? [relevant bits from g++ -E]



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]