Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-05 09:38:52

Angus Leeming <angus.leeming_at_[hidden]> writes:

> This trivial program fails to compile on a linux PC running RH8 (g++ 3.2) when
> compiled against current boost cvs. I have also tried compiling the failing
> code against branch RC_1_31_0 with the same result --
> 64kB of error messages :-(
> #include <boost/numeric/ublas/vector.hpp>
> typedef boost::numeric::ublas::bounded_vector<double, 3> Coord;
> int main()
> {
> Coord const centroid1;
> Coord const centroid2;
> Coord const vec = centroid2 - centroid1;
> return 0;
> }
> I attach the errors in compressed form.
> All is fine on a Dec Alpha machine running Debian unstable (gcc 3.3.2) so I
> guess that the problem lies in the MPL-work-arounds for the imperfect gcc 3.2
> compiler.

Actually this was caused by MPL workarounds for the imperfect EDG
front-end, which turned out to trigger a bug in gcc-3.2. I'll be
checking in a fix shortly.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at