id summary reporter owner description type status milestone component version severity resolution keywords cc 4750 is_convertible_basic_impl causes compile error when used inside OpenMP loop therealremi@… John Maddock "In the following example compile error is generated under Visual 2008, if ""default(none)"" is used for OpenMP variable data sharing attribute clauses (which is the recommended choice). It's practically a deal breaker when a novice user tries to use boost with OpenMP. And I would say OpenMP use will only grow. #define BOOST_ALL_NO_LIB 1 #include #include int main(int argc, char* argv[]) { typedef boost::adjacency_list GraphType; typedef GraphType::adjacency_iterator GraphAdjacencyIterator; const unsigned int vertex_count( 20 ); typedef std::pair EdgeType; std::vector edges; const GraphType graph( edges.begin(), edges.end(), vertex_count, edges.size() ); int i( 0 ); #pragma omp parallel for schedule(static, 1) default(none) private(i) shared(vertex_count, graph) for ( i = 0; i < vertex_count; ++i ) { const std::pair adjacent ( boost::adjacent_vertices(i, graph) ); } return 0; } ""\boost\boost/type_traits/is_convertible.hpp(263) : error C3052: '_m_from' : variable doesn't appear in a data-sharing clause under a default(none) clause"" " Bugs closed To Be Determined type_traits Boost 1.44.0 Problem wontfix OpenMP, type traits, graph