From: jim DOT hyslop AT leitch DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Inheritence lost in multiple files Date: Wed, 10 Jun 1998 01:16:27 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 25 Message-ID: <6lkmpb$bbc$1@nnrp1.dejanews.com> References: <6lk7np$pld$2 AT News DOT Dal DOT Ca> NNTP-Posting-Host: 204.187.61.195 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <6lk7np$pld$2 AT News DOT Dal DOT Ca>, am898 AT chebucto DOT ns DOT ca (Blake McCurdy) wrote: > > This problem really has me stumped. Take alook at the code and see if you > can explain the error at the end. > > This is my own code, I'll just change the class names. [snip] > //in bar.h > > #include "foo.h" > > class bar : public foo > { > public: foo(); > }; I suspect this is your problem - I changed it to: public: bar(); and it compiled OK (Visual C++ 5.0). Jim -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading