Follow-up question: Re: [lug] g++ question: dynamic casts?

Scott A. Herod herod at interact-tv.com
Thu Jan 31 08:32:56 MST 2002


Hello,

Thanks for all of the responses about dynamic casts.  For the
sake of curiosity, below is a bit of the stack trace for a sample app.

#0  __strtol_internal (nptr=0x805e654 "\b\201\005\b´ò\017@", endptr=0x0,
    base=134604372, group=134768600) at eval.c:36
#1  0x40218598 in __user_type_info::dyncast (this=0x805e654, boff=0,
    target=@0x805e654, objptr=0x80867d8, subtype=@0x805e66c,
subptr=0x80867d8)
   from /usr/lib/libstdc++-libc6.2-2.so.3
#2  0x4021a033 in __dynamic_cast_2 (
    from=0x8055618 <itvGuiPanel type_info function>,
    to=0x8055618 <itvGuiPanel type_info function>, boff=0,
address=0x80867d8,
    sub=0x8056a5c <itvGuiObject type_info function>, subptr=0x80867d8)
   from /usr/lib/libstdc++-libc6.2-2.so.3


A follow-up question: What do people think of 3.0?  We're starting
a new, big project and are discussing the build environment.  There
is resistance to moving to gcc 3 for development until it stabilizes
more.  Comments?

Thanks,

Scott



More information about the LUG mailing list