| delorie.com/archives/browse.cgi | search |
| 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 |
| Date: | Sun, 11 Apr 1999 23:59:24 -0400 |
| Message-Id: | <199904120359.XAA18148@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | qfwfq AT kt DOT rim DOT or DOT jp |
| CC: | cygwin AT sourceware DOT cygnus DOT com |
| In-reply-to: | <199904120356.MAA06317@neptune.kt.rim.or.jp> (qfwfq@kt.rim.or.jp) |
| Subject: | Re: egcs-1.1.2: compiler crash with stdcall, cdecl attributes |
| References: | <199904120356 DOT MAA06317 AT neptune DOT kt DOT rim DOT or DOT 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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |