Re: not a warning?
- From: "Eugene Gershnik" <gershnik@xxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 09:39:54 -0800
David Webber wrote:
How about
if(1)....
and
while(1) {....}
This last of course involves a trivial test of the same kind, which
actually *is* useful.
And both IIRC do produce warnings (on high enough warning level).
If you want an endless loop with no warnings VC forces you to use
for( ; ; )
{
}
--
Eugene
http://www.gershnik.com
.
- Follow-Ups:
- Re: not a warning?
- From: Ajay Kalra
- Re: not a warning?
- References:
- not a warning?
- From: Mycroft Holmes
- Re: not a warning?
- From: Victor Bazarov
- Re: not a warning?
- From: Mycroft Holmes
- Re: not a warning?
- From: David Webber
- not a warning?
- Prev by Date: Re: Function call evaluation order
- Next by Date: Re: Function call evaluation order
- Previous by thread: Re: not a warning?
- Next by thread: Re: not a warning?
- Index(es):
Relevant Pages
|
Loading