From: roland DOT nilsson AT communique DOT se (Roland Nilsson) Newsgroups: comp.os.msdos.djgpp Subject: Re: List of error messages with explanation Date: 3 May 1997 23:04:06 GMT Organization: - Lines: 25 Message-ID: <5kgg96$9bm$1@news.luth.se> References: NNTP-Posting-Host: x61.communique.se Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , dennis AT qltel DOT exonet DOT nl says... > >Where can I find a list of error-message generated by the compiler and >there explaination? And the possible sollutions? > >In particular I'm looking for the reason thats causing a "return type >specification for constructor invalid" in a very simple class. > > Dennis! You have tried to specify a return type for a constructor, which is illegal (not even type void is permitted): class Foo { Foo(int bar); // correct void Foo(int bar); // illegal, there can be no return type. }; ----------------------------------------------------------- - - - Roland Nilsson, Pitea, SWEDEN --/ member of the \-- --( Avante OS Development Group )-- --\ (project coordinator) /-- Visit us at >> http://mediaport.org/~wierdo <<