Changeset 67782

Timestamp:
Jan 8, 2011, 2:56:55 PM (12 years ago)
Author:
viboes
Message:

Boost.Chrono: Try to solve SUN free/malloc undefined issue

Test output: Sandia-sun - chrono - io_ex3_shared / sun-5.10

Rev 67766 / Sat, 8 Jan 2011 01:15:34 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Compile [2011-01-08 02:06:04 UTC]: fail

"/opt/sunstudio12.1/bin/CC" +d -library=stlport4 -features=tmplife -features=tmplrefstatic -g -erroff=%none -m64 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TYPEOF_EMULATION -DBOOST_USE_WINDOWS_H -I".." -c -o "/scratch2/kbelco/boost/results/boost/bin.v2/libs/chrono/test/io_ex3_shared.test/sun-5.10/debug/address-model-64/stdlib-sun-stlport/io_ex3.o" "../libs/chrono/test/../example/io_ex3.cpp"

"../boost/chrono/detail/scan_keyword.hpp", line 68: Error: free is not defined.
"../boost/chrono/chrono_io.hpp", line 642: Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 642: Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>(std::istream &, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>&).
"../libs/chrono/test/../example/io_ex3.cpp", line 30: Where: Instantiated from non-template code.
"../boost/chrono/detail/scan_keyword.hpp", line 71: Error: The function "malloc" must have a prototype.
"../boost/chrono/chrono_io.hpp", line 642: Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 642: Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>(std::istream &, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>&).
"../libs/chrono/test/../example/io_ex3.cpp", line 30: Where: Instantiated from non-template code.
2 Error(s) detected.

TinyUrl

(No files)

Note: See TracChangeset for help on using the changeset viewer.