id summary reporter owner description type status milestone component version severity resolution keywords cc 11096 "libs/log/src/threadsafe_queue.cpp fails with ' The type ""boost::STATIC_ASSERTION_FAILURE<0>"" is incomplete. '" Aparna Kumta John Maddock "Compiling libs/log/src/threadsafe_queue.cpp on Oracle Solaris Studio12.4 on Solaris x86 11.2 we see ""../boost/type_traits/type_with_alignment.hpp"", line 164: Error: The type ""boost::STATIC_ASSERTION_FAILURE<0>"" is incomplete. ""../boost/type_traits/type_with_alignment.hpp"", line 176: Where: While specializing ""boost::detail::type_with_alignment_imp<8>"". ""../boost/type_traits/type_with_alignment.hpp"", line 176: Where: Specialized in boost::type_with_alignment<8>. ""../boost/log/detail/threadsafe_queue.hpp"", line 56: Where: Specialized in non-template code. ""../boost/type_traits/type_with_alignment.hpp"", line 165: Error: The type ""boost::STATIC_ASSERTION_FAILURE<0>"" is incomplete. ""../boost/type_traits/type_with_alignment.hpp"", line 176: Where: While specializing ""boost::detail::type_with_alignment_imp<8>"". ""../boost/type_traits/type_with_alignment.hpp"", line 176: Where: Specialized in boost::type_with_alignment<8>. ""../boost/log/detail/threadsafe_queue.hpp"", line 56: Where: Specialized in non-template code. 2 Error(s) detected. The following change to libs/type_traits/include/boost/type_traits/type_with_alignment.hpp resolves the error. % diff ./type_with_alignment.hpp_orig ./type_with_alignment.hpp_new 179c179 < #if defined(__GNUC__) --- > #if defined(__GNUC__) || (defined (__SUNPRO_CC) && (__SUNPRO_CC >= 0x5130)) " Bugs closed To Be Determined type_traits Boost Development Trunk Problem fixed