[Boost-bugs] [Boost C++ Libraries] #11096: libs/log/src/threadsafe_queue.cpp fails with ' The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete. '

Subject: [Boost-bugs] [Boost C++ Libraries] #11096: libs/log/src/threadsafe_queue.cpp fails with ' The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete. '
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-10 16:37:37


#11096: libs/log/src/threadsafe_queue.cpp fails with ' The type
"boost::STATIC_ASSERTION_FAILURE<0>" is incomplete. '
-------------------------------------------+-------------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+-------------------------
 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))

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11096>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC