This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ bug on Alpha Linux
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g++ bug on Alpha Linux
- From: Anthony Green <green at cygnus dot com>
- Date: Sun, 30 Jan 2000 15:38:05 -0800
- Reply-to: green at redhat dot com
I just bootstrapped a g++ from the latest cvs sources on an Alpha
Linux box. When I compile the following code derived from libgcj
with `-c -fno-rtti' I get:
p.ii:13: cannot declare variable `x' to be of type `Object'
p.ii:13: since the following virtual functions are abstract:
p.ii:4: void _JvObjectPrefix::finalize ()
The error doesn't appear to show up with my bootstrapped PPC or IA-32
Linux tools.
class _JvObjectPrefix
{
protected:
virtual void finalize (void) = 0;
};
class Object : public _JvObjectPrefix
{
protected:
virtual void finalize (void);
};
Object x;
--
Anthony Green Red Hat
Sunnyvale, California