|
Boost : |
From: John D Lamb (J.D.Lamb_at_[hidden])
Date: 2005-10-11 13:36:00
Kevin Wheatley wrote:
> Hi,
>
> I was wondering if anybody has thought about adding a #else to the #if
> !defined(_ITERATOR) to ignore the unused variable warning in
> AssignableConcept::const_constraints() you get when compiling on VC7.1
> ? (Or am I missing something subtle about the situation)
In gcc you can suppress a warning like this by explicitly casting to void:
static_cast<void>( x );
Maybe the same method works in VC7 and gives cleaner compilation.
-- JDL
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk