IOHIDFamily compilation under 10.4.1
IOHIDFamily compilation under 10.4.1
- Subject: IOHIDFamily compilation under 10.4.1
- From: Nicolas Diez <email@hidden>
- Date: Mon, 23 May 2005 16:07:09 +0200
Well, for a project, I have to modify IOHIDFamily sources. I've
downloaded the IOHIDFamily-164 which is the package for 10.4.1.
When I try to build it(without modifications in source code) under
Xcode 2 with gcc4.0, I obtain the followings errors :
OHIDSystem/IOHIKeyboard.cpp:399: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIKeyboard.cpp:402: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '1' to 'void
clock_absolutetime_interval_to_deadline(uint64_t, uint64_t*)'
IOHIDSystem/IOHIKeyboard.cpp:404: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '2' to 'boolean_t
thread_call_enter_delayed(call_entry*, uint64_t)'
....
IOHIDSystem/IOHIDSystem.cpp:2164: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2167: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2201: error: 'SUB_ABSOLUTETIME' was not
and it is repeated a lot of times. I have at the end 77 errors.
It
seems that it's not a problem of include. How can I do to compile it
succesfully ? Will explicit casts or redeclaration of constants be
sufficient ?
Thanks all for your help
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden