Re: IOKit hidden method warnings
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:user-agent:date:subject:from:to:message-id:thread-topic:thread-index:in-reply-to:mime-version:content-type:content-transfer-encoding; bh=3o0qohNBgvxCIbNiVzsdv5v4FmXpSd/qxg086yqBNYM=; b=K5OEbw3lwF2CW9kqNgqL9qWnf+slE41fi45VYvfWBCHqAlr1/FALC/K87izdco7caV0FUL2sKcqAgb4myZ+rtZltIPmzznHEZtpXJrLSS8EjqbOJxBRZY70dzJEOrMys5YRoxCRr2E/ZkH1ZQ7HNx/0CpiU+DTW89N7Gtp+Pxko= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic:thread-index:in-reply-to:mime-version:content-type:content-transfer-encoding; b=QftYW9YWSdjC+2gzYglIq24jvUfn0oboT41G+AONMAC4yl8kh4p/c4pCydO/9CIduHhSRaKmznlIlvNCdRRfPE5BLAuHLGEvkX4+FSyE3FOUUb4ysvhHu4AKme2G524SnvYIm/XKzq2pOJkqxiwMdd5yrwQP6zHlGagrFzvLjjs= Thread-index: AchufDe6dgLqVtpvEdyLWgAX8si2KA== Thread-topic: IOKit hidden method warnings User-agent: Microsoft-Entourage/11.3.6.070618
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Long