From: "K.A.R.L." Newsgroups: comp.os.msdos.djgpp Subject: Re: Sword Date: Fri, 20 Dec 1996 16:11:31 +0100 Organization: Universidade de Santiago de Compostela. SPAIN Lines: 7 Message-ID: <32BAACA3.55C1@uscmail.usc.es> References: <32B829EB DOT AB0 AT nortel DOT ca> Reply-To: farega AT uscmail DOT usc DOT es NNTP-Posting-Host: fmsomoza.usc.es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp For the firs error, you lack a semicolon at the end of the class deffinition. The second one is no problem, just change void for int and everything is allright, (the program will work even if the warning appears) BTW, I agree with you about the example, since TObject2::foo() is never called, or at least that's what I think.