id summary reporter owner description type status milestone component version severity resolution keywords cc 3207 cannot use both students_t.hpp and unit_test.hpp Martin Ankerl John Maddock "This code does not compile: {{{ #include #include static void log_test() { boost::math::students_t dist(0.5); double p = boost::math::cdf(dist, 1.0); } }}} I get this error message: {{{ d:\dev\trunk\lib_boost\inc\boost\math\special_functions\log1p.hpp(407) : error C2882: 'log' : illegal use of namespace identifier in expression }}} it can be fixed by changing the offending line {{{ return log(u)*(x/(u-1.0)); }}} into {{{ return ::log(u)*(x/(u-1.0)); }}} but I am not sure if this is a good fix. I have tried this on an older version we are working with, and on the current svn trunk." Bugs closed Boost 1.40.0 math Boost Development Trunk Problem fixed