Re: [Boost-bugs] [Boost C++ Libraries] #3291: Compilation problem with serialization with g++ and stlport under FreeBSD

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3291: Compilation problem with serialization with g++ and stlport under FreeBSD
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-05 09:03:10


#3291: Compilation problem with serialization with g++ and stlport under FreeBSD
-----------------------------+----------------------------------------------
 Reporter: olegabr@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: serialization
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
-----------------------------+----------------------------------------------

Comment(by anonymous):

 Without knowing what the problem is, and not having access to that
 platform, I'm not going to be much help :-(

 Robert: stlp_std is used on all STLPort versions, but STLPort also does a
 "#define std stlp_std" so you don't actually need to know anything about
 it.

 To me it looks like the block beginning #if
 defined(BOOST_NO_STDC_NAMESPACE) should fix this, is
 BOOST_NO_STDC_NAMESPACE not defined in this case?

 Also the fix tried by the OP is too late: the block

 namespace stlp_std
 {
         using ::mbstate_t;
 }

 should appear *before* any serialisation #includes.

 John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3291#comment:2>
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:00 UTC