egcs-1.1.2: compiler crash with stdcall, cdecl attributes

Masaru Inujima qfwfq@kt.rim.or.jp
Fri Apr 30 18:32:00 GMT 1999


> 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




More information about the Cygwin mailing list