This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dynamic_cast problem
- From: "Jonathan Wakely" <jwakely dot gcc at gmail dot com>
- To: "ganesh subramonian" <gun_raj at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 Nov 2007 20:02:07 +0000
- Subject: Re: dynamic_cast problem
- References: <10992.44298.qm@web52410.mail.re2.yahoo.com>
On 13/11/2007, ganesh subramonian <gun_raj@yahoo.com> wrote:
>
> Can someone tell me why the cast2 fails but cast1
> works? What effect does the cstyle cast have?
It makes the program incorrect.
This mailing list is for discussion of GCC development, for help using
GCC use the gcc-help list. For help with C++ try a newsgroup such as
comp.lang.c++
Jon