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.
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


> 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