Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2004-01-05 08:00:12


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.

Best regards,
Angus




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk