This is the mail archive of the gcc@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: bug in egcs with C++?


On 11 Dec 1998, Alexandre Oliva wrote:

> On Dec 10, 1998, teunis <teunis@computersupportcentre.com> wrote:
> 
> > I have not been able to duplicate this with a working codelet.
> 
> Then there's not much I can do other than telling you that I'm 90%
> sure that the problem you have is caused by some class being declared
> like this:
> 
> // foo.hh
> class foo {
> public:
>   virtual void in() {} // inline method
>   void in2() {} // another inline method
>   virtual void m() = 0; // abstract method
> 
>   void method(); // first non-abstract non-inline method
>   void another_method(); // second non-abstract non-inline method
> };
> 
> Then, in foo.cc, you define another_method(), but not method().  This
> will cause the problem you're observing.

Guaranteed 100% this is -not- happening.
I've checked and rechecked.

It was fixed by rearranging the constructor locations.  Why shouldn't this
work?

G'day, eh? :)
	- Teunis

PS: sorry 'bout all this... I'll try to figure out a code snippet once I
have some time...


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