| delorie.com/archives/browse.cgi | search |
| From: | "Lars A. Christensen" <larsch AT geocities DOT com> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
David Vrabel wrote:
<snip>
> 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 <larsch AT geocities DOT com>,
http://hjem.get2net.dk/dittehus/lac/
ICQ 10139414
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |