"Christopher C. Chimelis" wrote: > On Mon, 23 Jul 2001, Alexei Khlebnikov wrote: > > > I am faced with a problem: my classes hierarchy is not compiled by G++ 3.0 > > Debian prerelease. >
> Can you send me the code and a copy of the failure? I can try to compile > it on the archs that I have (all sid, btw) and let you know if the problem > is fixed. FYI, I have sparc, i386, alpha, mips, and m68k (IIRC, m68k > doesn't yet have a gcc-3.0 deb set). > Ok, see attach. Note: g++ 2.95.4 (prerelease) compiles it Ok. G++ output: -- begin -- error.cpp:41: Internal error #20010127. error.cpp:41: Internal compiler error in build_rtti_vtbl_entries, at cp/class.c:7801 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. -- end -- (I am posting this to maillist too, for anyone else who interested.)
// fooA are abstract classes, every foo based on a fooA // class SWA { public: virtual void f () = 0; }; // class SW : virtual public SWA { int i; public: virtual void f (); }; // class STWA : virtual public SWA { public: virtual void f () = 0; }; // class STW : public SW, virtual public STWA { int i; public: virtual void f (); }; // class SFWA : virtual public STWA { public: virtual void f () = 0; }; // class SFW : public STW, virtual public SFWA { int i; public: void f () {} };