id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1672,[foreach] compiler warnings from VC8/VC9,Richard Webb ,Eric Niebler,"Using BOOST_FOREACH in VC8/9 with warning level 4 and code analysis enabled results in some compiler warnings: {{{ boost/foreach.hpp(474) : warning C4100: 't' : unreferenced formal parameter boost\foreach.hpp(414) : warning C6282: Incorrect operator: assignment of constant in Boolean context. Consider using '==' instead warning C6001: Using uninitialized memory '_foreach_end': Lines: 11, 13 warning C6001: Using uninitialized memory '_foreach_cur': Lines: 11, 13 }}} I'm not sure exactly where the 6001 warnings come from, as the real location is hidden by the macro. Note also that all but the first warning only occur when code analysis is enabled, so can only be reproed on a compiler version that supports that option.",Bugs,closed,To Be Determined,foreach,Boost Development Trunk,Cosmetic,fixed,,