From 5088641926007005737
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,857007135a18bc05
X-Google-Attributes: gidf78e5,public
From: Valentin Bonnard <Bonnard.V@wanadoo.fr>
Subject: Re: static_cast to void
Date: 1999/09/11
Message-ID: <37DA8F72.25E5@wanadoo.fr>#1/1
X-Deja-AN: 523841175
X-NNTP-Posting-Host: belandre.ens.fr
Content-Transfer-Encoding: 7bit
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <M-MORITA.99Sep9141115@pdss7.trc.rwcp.or.jp> <slrn7tgtbq.8tp.sbnaran@localhost.localdomain> <WwJQQZA6Jj23EwF3@robinton.demon.co.uk>
X-UID: 0000000001
X-Status: $$$T
Content-Type: text/plain; charset=us-ascii
Organization: Ecole normale superieure
Mime-Version: 1.0
Newsgroups: comp.std.c++
Originator: clamage@taumet


Francis Glassborow wrote:

> In article <slrn7tgtbq.8tp.sbnaran@localhost.localdomain>, Siemel B.
> Naran <sbnaran@uiuc.edu> writes

> >Sometimes you write expressions that return a value, but you don't use
> >this returned value. Then the compiler may give you a warning about
> >the unused return value. 

> Do such compilers exist in the real world? 

I think that lint had this kind of annoying warnings. 
I don't know any C++ compiler which does that.

-- 

Valentin Bonnard


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




