Opened 18 years ago
Closed 17 years ago
#368 closed Bugs (None)
!ompilation test/minmax_element_test.cpp failed on Sunpro
| Reported by: | atanasyan | Owned by: | beman_dawes |
|---|---|---|---|
| Milestone: | Component: | test | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
= 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.
Note:
See TracTickets
for help on using tickets.
