delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/13/10:49:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199904131448.XAA08366@uranus.kt.rim.or.jp>
To: DJ Delorie <dj AT delorie DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes
In-reply-to: Your message of "Sun, 11 Apr 1999 23:59:24 -0400" <199904120359.XAA18148@envy.delorie.com>

Date: Tue, 13 Apr 1999 23:47:59 +0900
From: Masaru Inujima <qfwfq AT kt DOT rim DOT or DOT jp>

> 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019