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++/2687


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

From: Yariv Tal <YarivT@webmap.com>
To: "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>, 
	"'nobody@gcc.gnu.org'" <nobody@gcc.gnu.org>
Cc:  
Subject: Re: c++/2687
Date: Sun, 13 May 2001 14:41:40 +0300

 This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 ------_=_NextPart_000_01C0DBA1.ADFBFCA3
 Content-Type: text/plain;
 	charset="iso-8859-1"
 
 // Here's the code that produces the internal error:
 #define NULL 0
 
 class CClass1a
 {
 protected:
   virtual void releaseObj(void)
   {
   }
 
 };
 
 class CClass2
 {
 public:
   CClass2(void);
 };
 
 
 class CClass1b : public CClass1a 
 {
 protected:
   virtual void releaseObj(void)
   {
     CClass1a::releaseObj();
   }
 }
 
 
 CClass2::CClass2()
 {
 }
 
 
 
  <<exp.cpp>> 
 
 
 ------_=_NextPart_000_01C0DBA1.ADFBFCA3
 Content-Type: application/octet-stream;
 	name="exp.cpp"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="exp.cpp"
 
 #define NULL 0=0A=
 =0A=
 class CClass1a=0A=
 {=0A=
 protected:=0A=
   virtual void releaseObj(void)=0A=
   {=0A=
   }=0A=
 =0A=
 };=0A=
 =0A=
 class CClass2=0A=
 {=0A=
 public:=0A=
   CClass2(void);=0A=
 };=0A=
 =0A=
 =0A=
 class CClass1b : public CClass1a =0A=
 {=0A=
 protected:=0A=
   virtual void releaseObj(void)=0A=
   {=0A=
     CClass1a::releaseObj();=0A=
   }=0A=
 }=0A=
 =0A=
 =0A=
 CClass2::CClass2()=0A=
 {=0A=
 }=0A=
 
 ------_=_NextPart_000_01C0DBA1.ADFBFCA3--


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