This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Question about Darwin GCC and weak symbol tagging policy
- From: Ian Lance Taylor <iant at google dot com>
- To: nchaumont <nicolas dot chaumont at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 12 Jan 2011 14:56:49 -0800
- Subject: Re: Question about Darwin GCC and weak symbol tagging policy
- References: <30654360.post@talk.nabble.com>
nchaumont <nicolas.chaumont@gmail.com> writes:
> Here is my understanding of the problem: dynamic_cast can only succeeds in
> GCC if both object's typeinfo have the same address.
Which version of gcc are you using? That was changed in gcc 4.3 to
avoid the kinds of problems you are encountering.
Ian