Boost C++ Libraries: Ticket #10927: Missing std:: qualifier for fabs in phoenix/test/stdlib/cmath.cpp https://svn.boost.org/trac10/ticket/10927 <p> Compiling cmath.cpp with Oracle Solaris Studio12.4 on on Solaris 11.2 with -library=stlport4, we see </p> <p> "../libs/phoenix/test/stdlib/cmath.cpp", line 28: Error: The function "fabs" must have a prototype. </p> <p> "../libs/phoenix/test/stdlib/cmath.cpp", line 29: Error: The function "fabs" must have a prototype. </p> <p> The call to fabs is unqualified. </p> <p> The following modification to the file resolves the errors seen above. </p> <p> $diff ./cmath.cpp ./cmath.cpp_orig </p> <p> 28,29c28,29 </p> <p> &lt; BOOST_TEST(std::fabs(x-4.) &lt; eps ); </p> <p> &lt; BOOST_TEST(std::fabs(z-1.) &lt; eps ); </p> <p> --- </p> <blockquote class="citation"> <blockquote> <p> BOOST_TEST(fabs(x-4.) &lt; eps ); </p> </blockquote> </blockquote> <blockquote class="citation"> <blockquote> <p> BOOST_TEST(fabs(z-1.) &lt; eps ); </p> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10927 Trac 1.4.3 Aparna Kumta <aparna.kumta@…> Tue, 13 Jan 2015 22:00:59 GMT summary changed https://svn.boost.org/trac10/ticket/10927#comment:1 https://svn.boost.org/trac10/ticket/10927#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Missing std:: qualifier for phoenix/test/stdlib/cmath.cpp</span> → <span class="trac-field-new">Missing std:: qualifier for fabs in phoenix/test/stdlib/cmath.cpp</span> </li> </ul> Ticket John Fletcher <J.P.Fletcher@…> Sat, 07 Mar 2015 09:01:13 GMT <link>https://svn.boost.org/trac10/ticket/10927#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10927#comment:2</guid> <description> <p> Patch made on develop. Thank you for this information. John Fletcher </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Kohei Takahashi</dc:creator> <pubDate>Tue, 10 May 2016 16:00:42 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10927#comment:3 https://svn.boost.org/trac10/ticket/10927#comment:3 <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> <a class="ext-link" href="https://github.com/boostorg/phoenix/commit/94ce78bf0d4cd5853c7563ed3230b18b9f9c4db6"><span class="icon">​</span>https://github.com/boostorg/phoenix/commit/94ce78bf0d4cd5853c7563ed3230b18b9f9c4db6</a> </p> Ticket