id summary reporter owner description type status milestone component version severity resolution keywords cc 11550 Solaris - boost::call_once issues lcarreon@… viboes "I compiled Boost 1.59.0 with Solaris Studio 12.4 in C++11 mode and I get the following error messages: {{{ ""libs/thread/src/pthread/thread.cpp"", line 144: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""libs/thread/src/pthread/thread.cpp"", line 150: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""libs/context/src/posix/stack_traits.cpp"", line 58: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(&)(unsigned long*), unsigned long*&&)"" and ""boost::call_once(boost::once_flag&, void(*)(unsigned long*), unsigned long*)"". ""libs/context/src/posix/stack_traits.cpp"", line 66: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(&)(rlimit*), rlimit*&&)"" and ""boost::call_once(boost::once_flag&, void(*)(rlimit*), rlimit*)"". ""libs/coroutine/src/posix/stack_traits.cpp"", line 56: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(&)(unsigned long*), unsigned long*&&)"" and ""boost::call_once(boost::once_flag&, void(*)(unsigned long*), unsigned long*)"". ""libs/coroutine/src/posix/stack_traits.cpp"", line 64: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(&)(rlimit*), rlimit*&&)"" and ""boost::call_once(boost::once_flag&, void(*)(rlimit*), rlimit*)"". ""./boost/thread/once.hpp"", line 38: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(*)()&)"". ""./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp"", line 145: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/spirit/home/classic/phoenix/closures.hpp"", line 427: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/thread/once.hpp"", line 38: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(*)()&)"". ""./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp"", line 145: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/thread/once.hpp"", line 38: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(*)()&)"". ""./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp"", line 145: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/spirit/home/classic/phoenix/closures.hpp"", line 427: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/thread/once.hpp"", line 38: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(*)()&)"". ""./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp"", line 145: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". ""./boost/thread/once.hpp"", line 38: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(*)()&)"". ""./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp"", line 145: Error: Overloading ambiguity between ""boost::call_once(boost::once_flag&, void(*)())"" and ""boost::call_once(boost::once_flag&, void(&)())"". }}} I'm not 100% sure whether these are compiler issues or Boost compiler configuration issues thus I decided to raise this ticket. " Bugs assigned To Be Determined thread Boost 1.59.0 Problem