Re: [Boost-bugs] [Boost C++ Libraries] #4987: pch.hpp.gch build fails with boost::swap' has not been declared in boost::optional

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4987: pch.hpp.gch build fails with boost::swap' has not been declared in boost::optional
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-17 12:37:31


#4987: pch.hpp.gch build fails with boost::swap' has not been declared in
boost::optional
------------------------------------------------------+---------------------
  Reporter: Peter Schueller <schueller.p@…> | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost Release Branch | Severity: Showstopper
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by Peter Schüller <schueller.p@…>):

 now also reproduced on different machine:

 [67280] release branch fails to build with

 {{{
 ./bootstrap.sh
 ./bjam
 }}}

 now more succinct and better formatted error message:

 {{{
 gcc.compile.c++.pch bin.v2/libs/math/build/gcc-4.3/release/threading-
 multi/../src/tr1/pch.hpp.gch
 In file included from ./boost/optional.hpp:15,
                  from ./boost/format/internals.hpp:20,
                  from ./boost/format.hpp:38,
                  from ./boost/math/policies/error_handling.hpp:30,
                  from ./boost/math/special_functions/acosh.hpp:21,
                  from ./boost/math/special_functions.hpp:15,
                  from libs/math/build/../src/tr1/pch.hpp:9:
 ./boost/optional/optional.hpp: In member function ‘void
 boost::optional<T>::swap(boost::optional<T>&)’:
 ./boost/optional/optional.hpp:618: error: ‘boost::swap’ has not been
 declared

     "g++" -x c++-header -O3 -finline-functions -Wno-inline -Wall -pthread
 -fPIC -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1" -c -o
 "bin.v2/libs/math/build/gcc-4.3/release/threading-
 multi/../src/tr1/pch.hpp.gch" "libs/math/build/../src/tr1/pch.hpp"

 ...failed gcc.compile.c++.pch bin.v2/libs/math/build/gcc-4.3/release
 /threading-multi/../src/tr1/pch.hpp.gch...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4987#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:05 UTC