
6 Jun
2007
6 Jun
'07
8:20 a.m.
Markus Bernhardt wrote:
Hi,
I get the following warnings when using a boost::thread_specific_ptr<unsigned int> and compiling with Sun Studio 11 (with latest patches) or Sun Studio 12 on Solaris x86.
Warning: Could not find source for boost::type_traits::ice_not<0>::value. "../../../build/debug/include/boost/function/function_template.hpp", line 407: Warning: Could not find source for boost::detail::function::function_allows_small_object_optimization<boost::detail::tss_adapter<unsigned>>::value.
My guess is that this warning is caused by BOOST_STATIC_CONSTANT that has no corresponding out of line definition.
A similar warning is reported when I use boost::bind.
I'm interested in details. What warnings do you get from boost::bind?