
11 Oct
2005
11 Oct
'05
6:36 p.m.
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