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: DJ Delorie <dj@delorie.com>
- Subject: Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes
- From: Masaru Inujima <qfwfq@kt.rim.or.jp>
- Date: Tue, 13 Apr 1999 23:47:59 +0900
- Cc: cygwin@sourceware.cygnus.com
> Yeah, gcc can't handle raw attributes inside a cast. Try using a
> typedef instead.
Yes, using typedef resolves the problem indeed. But
void (ATTR *pf)(void);
is a variable declaration, not a expression including cast operator.
Moreover, this statement alone does not cause problem. It is
TWO INSTANCES OF THIS DECLARATION IN TWO FUNTIONS which makes
cc1 to dump core. Isn't it funny?
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com