id summary reporter owner description type status milestone component version severity resolution keywords cc 8405 VC++ 2012 compiler warning C4189: '...' : local variable is initialized but not referenced Volker Schöch Barend Gehrels "I'm using Microsoft Visual Studio 2012 to compile boost 1.52.0. I use compiler flag /W4. The following warnings (which we declared errors for our project) occur in geometry, regardless whether I'm compiling for x64 or x86: {{{ \boost_1_52_0\boost\geometry\algorithms\detail\overlay\get_turns.hpp(140): error C4189: 'n' : local variable is initialized but not referenced int const n = int(section.range_count); }}} {{{ \boost_1_52_0\boost\geometry\strategies\cartesian\distance_projected_point.hpp(161): error C4189: 'fp_strategy' : local variable is initialized but not referenced fp_strategy_type fp_strategy = strategy::distance::services::get_similar < Strategy, Point, fp_point_type >::apply(strategy); }}} Maybe it's possible to eliminate these warnings for the next boost version?" Support Requests closed Boost 1.54.0 geometry Boost 1.52.0 Cosmetic fixed VC++ 2012, warning, C4189, local variable is initialized but not referenced