IOKit hidden method warnings
IOKit hidden method warnings
- Subject: IOKit hidden method warnings
- From: Eric Long <email@hidden>
- Date: Wed, 13 Feb 2008 10:51:26 -0800
- Thread-topic: IOKit hidden method warnings
Hi,
I'm trying to eliminate hidden method warnings from my kext, but I'm
confused because the problems seem to be in the OS headers themselves.
Sample:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSObject.h:144: warning: 'virtual void
OSObject::taggedRelease(const void*) const' was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSBoolean.h:52: warning: by 'virtual void
OSBoolean::taggedRelease(const void*, int) const'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSString.h:140: warning: 'virtual bool
OSString::isEqualTo(const OSString*) const' was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSSymbol.h:130: warning: by 'OSSymbol::isEqualTo'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSString.h:161: warning: 'virtual bool
OSString::isEqualTo(const OSData*) const' was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSSymbol.h:130: warning: by 'OSSymbol::isEqualTo'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSObject.h:87: warning: 'virtual bool OSObject::init()'
was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSNumber.h:89: warning: by 'OSNumber::init'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/libkern/c++/OSObject.h:87: warning: 'virtual bool OSObject::init()'
was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/IOKit/IORegistryEntry.h:769: warning: by 'IORegistryEntry::init'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/IOKit/IORegistryEntry.h:769: warning: 'virtual bool
IORegistryEntry::init(IORegistryEntry*, const IORegistryPlane*)' was hidden
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/He
aders/IOKit/IOUserClient.h:226: warning: by 'IOUserClient::init'
Any idea what's up here?
Thanks,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden