[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: Debugging a dynamic cast
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2004-08-23 23:28:34
Message-ID: 200408232328.QAA04072 () hpcll183 ! cup ! hp ! com
[Download RAW message or body]

>From: "John Morris HP (Contractor)" <John.Morris@Siebel.com>
>I need to debug a dynamic cast problem.  ... but Itanium stops 
>it returns a NULL pointer with no indication of what the problem was.

>Do we have any tools to display the runtime typeinfo hierarchy?  Or at
>least give some indication why a dynamic cast fails?
  - John Morris

Do you have types defined in multiple load modules?

You must not link with -B symbolic or hide the type_info metadata.
If you do, the meta_data is no longer unique and so it fails.
(This is different from PA.)
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic