This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes

> # define ATTR __attribute__((stdcall)) /* */
> /* # define ATTR __attribute__((cdecl)) /* this also */
> void f1()
> {
> 	void (ATTR *pf)(void);
> }

Yeah, gcc can't handle raw attributes inside a cast.  Try using a
typedef instead.

Want to unsubscribe from this list?
Send a message to