Re: gcc 4.2 generates error that was OK before
Re: gcc 4.2 generates error that was OK before
- Subject: Re: gcc 4.2 generates error that was OK before
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Sep 2009 11:26:02 -0700
On Sep 22, 2009, at 11:03 AM, Steve Mills wrote:
typedef void hsNewHandler_ReturnType;
typedef void hsNewHandler_ParamType;
static hsNewHandler_ReturnType
hsGGlyphCacheHandler(hsNewHandler_ParamType);
This generates these errors when using gcc 4.2 instead of 4.0:
error: '<anonymous>' has incomplete type
error: invalid use of 'hsNewHandler_ParamType'
This is declaring a function parameter of type 'void'. That doesn't
seem legal to me.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden