This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes
- To: qfwfq@kt.rim.or.jp
- Subject: Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes
- From: DJ Delorie <dj@delorie.com>
- Date: Sun, 11 Apr 1999 23:59:24 -0400
- CC: cygwin@sourceware.cygnus.com
- References: <199904120356.MAA06317@neptune.kt.rim.or.jp>
> # 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 cygwin-unsubscribe@sourceware.cygnus.com