Re: compile errors for Xcode 2.0: AbsoluteTime
Re: compile errors for Xcode 2.0: AbsoluteTime
- Subject: Re: compile errors for Xcode 2.0: AbsoluteTime
- From: "Sean McBride" <email@hidden>
- Date: Tue, 28 Jun 2005 11:18:15 -0400
- Organization: Rogue Research
On 2005-06-28 08:46, Tommy Schell said:
>I have a timer set up in my driver, for Tiger and Xcode 2.0 I now get
>compile errors regarding some of the kernel AbsoluteTime
> conversion routines, which I didn't get before with Xcode 1.5 and
>Panther:
>
>1) I was using ADD_ABSOLUTETIME (AbsoluteTime*, AbsoluteTime*) ,
>but now I'm told it is "not declared in this scope".
ADD_ABSOLUTETIME indeed doesn't seem to be anywhere in Kernel.framework,
it was in 10.3. Maybe other functions in clock.h will help, though none
of them seem to use AbsoluteTime, so I'm not sure which! :(
>2) Then I get several errors saying "cannot convert from
>AbsoluteTime* to uint64_t* for:
> get_clock_uptime(uint64_t*);
> nanoseconds_to_absolutetime(uint64_t, uint64_t*);
Well, AbsoluteTime is a struct and uint64_t is not, so this makes
sense. Also, watch out for endian issues!
>Any ideas? When I installed Xcode 2.0 I selected the Mac OS Tiger SDK.
I highly suggest 2.1 BTW. But I think Apple maybe goofed removing some
of those functions...
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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