Mailing Lists: Apple Mailing Lists

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

Hidden virtual functions in cxxabi.h.



After upgrading to Xcode 2.2.1 from 2.1, I noticed something very odd:

/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ cxxabi.h:276: warning: `virtual bool __cxxabiv1::__class_type_info::__do_upcast(const __cxxabiv1::__class_type_info*, void**) const' was hidden
/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ cxxabi.h:359: warning: by `virtual bool __cxxabiv1::__si_class_type_info::__do_upcast(const __cxxabiv1::__class_type_info*, const void*, __cxxabiv1::__class_type_info::__upcast_result&) const'
/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ cxxabi.h:276: warning: `virtual bool __cxxabiv1::__class_type_info::__do_upcast(const __cxxabiv1::__class_type_info*, void**) const' was hidden
/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ cxxabi.h:408: warning: by `virtual bool __cxxabiv1::__vmi_class_type_info::__do_upcast(const __cxxabiv1::__class_type_info*, const void*, __cxxabiv1::__class_type_info::__upcast_result&) const'


Looking at that cxxabi.h, it seems as though the warning is correct.

One odd thing is that when I just include cxxabi.h in a test file using g++-3.3 -isystem /Developer/SDKs/MacOSX10.2.8.sdk -Wall I don't get the warning. The real code is only using __cxa_demangle so there is no real difference between the real code and the test code that I can tell.

Any ideas on what might be going wrong or perhaps what changed in the 10.2.8 sdk?

- Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to 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.