This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/1689


The following reply was made to PR c++/1689; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: Jorgen.Sigvardsson@kau.se, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/1689
Date: 18 Jan 2001 10:15:32 -0000

 Synopsis: dynamic_cast operator is wrong
 
 State-Changed-From-To: open->closed
 State-Changed-By: nathan
 State-Changed-When: Thu Jan 18 02:15:32 2001
 State-Changed-Why:
     The code is illformed.
     You are attempting to cast from a base to a derived type.
     [5.2.7/6] therefore applies which says that the base type
     must be polymorphic. 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1689&database=gcc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]