Re: [Boost-bugs] [Boost C++ Libraries] #7910: MSVC-11 can't find some symbols in Boost::System static library

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7910: MSVC-11 can't find some symbols in Boost::System static library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-20 23:21:51


#7910: MSVC-11 can't find some symbols in Boost::System static library
-------------------------------+--------------------------------------------
  Reporter: Gene Panov | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: system
   Version: Boost 1.52.0 | Severity: Showstopper
Resolution: | Keywords: undefined symbol boost system generic_category system_category
-------------------------------+--------------------------------------------

Comment (by Gene Panov):

 Actually the code should be this:

 {{{
 namespace boost { namespace system {
         BOOST_SYSTEM_ERROR_CATEGORY_DIRTY_WORKAROUND error_category const&
 system_category() {
                 return reinterpret_cast<const
 error_category&>(std::system_category());
         }
         BOOST_SYSTEM_ERROR_CATEGORY_DIRTY_WORKAROUND error_category const&
 generic_category() {
                 return reinterpret_cast<const
 error_category&>(std::generic_category());
         }
         BOOST_SYSTEM_ERROR_CATEGORY_DIRTY_WORKAROUND error_category const&
 iostream_category() {
                 return reinterpret_cast<const
 error_category&>(std::iostream_category());
         }
 }}
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7910#comment:1>
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:11 UTC