Boost logo

Boost Users :

Subject: Re: [Boost-users] [TR1] Using Boost.TR1 installed in /usr/include withGCC
From: John Maddock (john_at_[hidden])
Date: 2010-02-28 12:02:18


> We're running into problems compiling the boost math library with GCC's
> TR1. The problem comes from Boost.TR1, and I believe the #include_next
> preprocessor directive. We are using the Ubuntu packages for g++ and
> for Boost 1.40 which installs the headers in /usr/include/boost.
>
> Here's a simple example which fails to compile:

Confirmed, I've committed a patch for this here:
https://svn.boost.org/trac/boost/changeset/59993/trunk.

BTW the problem is specifically caused by enabling GCC's TR1 implementation
rather than using Boost's: be aware that all development/maintainance on
GCC's TR1 has halted now in favour of C++0x development, so you might
actually be better using Boost's version anyway... just my 2c worth! :-)

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net