• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Virtual inheritance member display bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual inheritance member display bug?


  • Subject: Re: Virtual inheritance member display bug?
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 22 Jan 2006 10:26:08 -0800


On Jan 22, 2006, at 9:42 AM, Tomas Zahradnicky wrote:

Dear XCodeWarriors,

I've encountered a strange problem when employing virtual inheritance in my C++ application and it looks like a bug in Xcode (Xcode IDE: 655.0, Xcode Core: 658.0, ToolSupport: 651.0).

I'm using gcc version 4.0.1 (Apple Computer, Inc. build 5247) and when I use virtual inheritance, Xcode improperly shows one member of my class in the debugger window. If I access that member via the accessor method, I get correct value.

Is this a known bug?

This is a debugger shortcoming; it would occur even if your program were generated with a makefile and you debugged in command-line gdb. The STABS symbol table format doesn't accommodate multiple entry points for the same symbol, so things like virtual inheritance, operator overloadingand even namespaces. in C++ are not supported well. This is true across all gdb implementations that use STABS:


http://gcc.gnu.org/ml/gcc/2003-04/msg00838.html

We are planning to address this in a future version of the Developer Tools.

Chris

_______________________________________________
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


References: 
 >Virtual inheritance member display bug? (From: Tomas Zahradnicky <email@hidden>)

  • Prev by Date: Re: __attribute__((visibility("default")) operator new
  • Next by Date: Re: __attribute__((visibility("default")) operator new
  • Previous by thread: Virtual inheritance member display bug?
  • Next by thread: Call Java from Applescript using Xcode 2.2.1
  • Index(es):
    • Date
    • Thread