Boost C++ Libraries: Ticket #4515: [math] regression test failure on GCC 4.5 in c++0x mode https://svn.boost.org/trac10/ticket/4515 <p> When running the math regression tests in Mingw 4.5.0 in C++0x mode, i get some failures due to ambiguities between functions in boost::math and std::. e.g. </p> <p> <a class="ext-link" href="http://tinyurl.com/2blmq3l"><span class="icon">​</span>http://tinyurl.com/2blmq3l</a> <a class="ext-link" href="http://tinyurl.com/26yevqq"><span class="icon">​</span>http://tinyurl.com/26yevqq</a> </p> <p> qualifying the calls with boost::math allows the tests to compile. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4515 Trac 1.4.3 Richard Webb <richard.webb@…> Fri, 06 Aug 2010 15:39:13 GMT attachment set https://svn.boost.org/trac10/ticket/4515 https://svn.boost.org/trac10/ticket/4515 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">math.diff</span> </li> </ul> Ticket Paul A. Bristow Thu, 02 Sep 2010 10:50:35 GMT <link>https://svn.boost.org/trac10/ticket/4515#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4515#comment:1</guid> <description> <p> Your fix is fine, and may be best for some applications, but we feel it reads verbosely. </p> <p> So we have decided to recommend a different way in our examples. </p> <p> We recommend *NOT* "using namespace anything;" std, boost::math ... </p> <p> but to qualify each distribution used after the </p> <p> #include &lt;boost/math/my_distribution&gt; </p> <p> like </p> <p> "using boost::math::my_distribution;" </p> <p> (and "using std::cout; ..." if you wish - worthwhile clutter reduction if there are lots of calls to cout, as is common in cpp source files, but calls are less common in .hpp include files.) </p> <p> This can be done globally or locally in source .cpp files, but should be only locally in .hpp include files. </p> <p> All our examples will now follow this recommendation. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 06 Jan 2011 11:31:32 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4515#comment:2 https://svn.boost.org/trac10/ticket/4515#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Closing down, this should now be fixed. </p> Ticket