Re: Compiler error with lastest CA-SDK and CW 9.2
Re: Compiler error with lastest CA-SDK and CW 9.2
- Subject: Re: Compiler error with lastest CA-SDK and CW 9.2
- From: "Michael Kleps [reFX]" <email@hidden>
- Date: Wed, 14 Apr 2004 16:33:38 +0200
OK, done that and it works, but still I feel uncompfortable doing that.
Anybody from apple like to comment? Perhaps some #ifdef for future
releases?
Cheers,
Mike
Am 14.04.2004 um 16:14 schrieb David Duncan:
On Apr 14, 2004, at 09:41 AM, Michael Kleps [reFX] wrote:
Error : illegal implicit conversion from 'void (__EventLoopTimer *,
void *)' to
'pascal void (*)(__EventLoopTimer *, void *)'
AUCarbonViewBase.cpp line 271 ::NewEventLoopTimerUPP(TheTimerProc);
Since I don't use that function I simply commented it out completely
to make my AU work, but since it's a CPP from the original SDK I
would like to avoid that. Anybody with a solution so the function can
stay in there?
This is a difference in handling between CodeWarrior and gcc.
CodeWarrior uses the pascal keyword as part of the function signature,
where gcc simply ignores it. Just find TheTimerProc and add the pascal
keyword to it's declaration and you should be fine.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.