$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-09-26 06:13:02
At 12:49 AM 9/26/2001, Scott McCaskill wrote:
>> Is the issue that a and b are in fact use in some control paths, and so
>> can't just be commented out (or outright removed), yet the compiler is
>> warning because they aren't used in all control paths?
>>
>
>I have seen cases where assert() was used to check the return value of a
>function. In such cases, the return value must be stored in a temporary,
>and as a result there may be warnings in non-debug builds.
But isn't the usual practice in that case to wrap the temporary and store
to it in an #ifndef NDEBUG?
--Beman