Re: IOKit hidden method warnings
Re: IOKit hidden method warnings
- Subject: Re: IOKit hidden method warnings
- From: Eric Long <email@hidden>
- Date: Wed, 13 Feb 2008 12:08:37 -0800
- Thread-topic: IOKit hidden method warnings
> 1- do you try to override a virtual function, sig error?
> 2- did you write a function with the same name in your extend, sig error?
>
> or something else?
>
> but it's clearly a signature problem
I am not overriding these methods myself, at all.
In the sample I gave in my first message, for instance, you see this:
/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'
So its complaining that OSBoolean is stepping on OSObject.
The other warnings are similar instances. Even DTS's SimpleUserClient sample
comes up with all kinds of these warnings if you turn the warning on in the
project.
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