From: "Lars A. Christensen" Newsgroups: comp.os.msdos.djgpp Subject: Re: "Warning: value computed is not used" in catch statement Date: Thu, 14 May 1998 13:43:14 +0200 Organization: Dittehus I/S Lines: 18 Message-ID: <355AD8D2.7FB@geocities.com> References: <355aa0f5 DOT 1061260 AT 192 DOT 168 DOT 1 DOT 250> Reply-To: larsch AT geocities DOT com NNTP-Posting-Host: gateway.geoteknisk.dk 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 Precedence: bulk David Vrabel wrote: > 13: catch( Exception ) { > 14: cerr << "Caught an exception." << endl; > 15: return 1; > 16: } > 17: return 0; > 28: } Shouldn't it be 13: catch( Exception& ) { Lars -- Lars A. Christensen , http://hjem.get2net.dk/dittehus/lac/ ICQ 10139414