Boost C++ Libraries: Ticket #368: !ompilation test/minmax_element_test.cpp failed on Sunpro https://svn.boost.org/trac10/ticket/368 <pre class="wiki">= Bug description: Boost version: 1.32.0 Compiler: Sun Studio 10 release (C++ 5.7) with patch 117830-01 % cd ~/boost/libs/algorithm/minmax/test % CC -library=stlport4 -c -library=stlport4 -I/home/sa154628/boost \ minmax_element_test.cpp minmax_element_test.cpp, line 230: Error: The function "atoi" must have a prototype. 1 Error(s) detected. == Proposed fix Only std c++ headers are included in the minmax_element_test.cpp. Therefore atoi is in the std namespace and isn't exported to global one. So we should change call atoi to std::atoi. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/368 Trac 1.4.3 mclow Wed, 26 Oct 2005 17:57:29 GMT status changed https://svn.boost.org/trac10/ticket/368#comment:1 https://svn.boost.org/trac10/ticket/368#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=131412 This was fixed for 1.33 #ifndef BOOST_NO_STDC_NAMESPACE using std::atoi; #endif </pre> Ticket