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: David Duncan <email@hidden>
- Date: Wed, 14 Apr 2004 10:14:27 -0400
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.