|
Boost : |
From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1165844&group_id=7586
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
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1165844&group_id=7586
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk