Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-03-18 05:12:08

Bugs item #1165844, was opened at 2005-03-18 13:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: test
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: simon (atanasyan)
Assigned to: Beman Dawes (beman_dawes)
Summary: Сompilation test/minmax_element_test.cpp failed on Sunpro

Initial Comment:
= Bug description:

Boost version: 1.32.0
Compiler: Sun Studio 10 release (C++ 5.7) with patch

% 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.


You can respond by visiting:

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at