Hidden virtual functions in cxxabi.h.
Hidden virtual functions in cxxabi.h.
- Subject: Hidden virtual functions in cxxabi.h.
- From: Steve Checkoway <email@hidden>
- Date: Sat, 21 Jan 2006 06:28:14 -0800
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:
This email sent to email@hidden