Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >Re: IOKit hidden method warnings (From: "mm w" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.