id summary reporter owner description type status milestone component version severity resolution keywords cc 31 integer.hpp with MSVC 7 beta 2 nobody bjorn_karlsson "{{{ An attempt to compile a file that includes crc.hpp causes the following error in integer.hpp: \Stl\boost\integer.hpp(73) : error C2975: 'Category' : invalid template argument for 'boost::int_least_helper', constant expression expected \Stl\boost\integer.hpp(32) : see declaration of 'Category' \Stl\boost\crc.hpp(278) : see reference to class template instantiation 'boost::uint_t' being compiled with [ Bits=_STL::digits ] \Stl\boost\crc.hpp(351) : see reference to class template instantiation 'boost::detail::high_uint_t' being compiled with [ Bits=_STL::digits ] \Stl\boost\integer.hpp(73) : error C2039: 'least' : is not a member of 'boost::int_least_helper' with [ Category=0 ] \Stl\boost\integer.hpp(73) : fatal error C1507: previous user errors and subsequent error recovery halt further compilation Defining BOOST_NO_LIMITS in user.hpp helps, so obviously this is a case where a bug in in-class member initialization is triggered by a header file shipped with the compiler. You are obviously in a better position to file this problem with Micro$oft than I am. Regards, Max Motovilov }}}" Bugs closed None None Wont Fix