Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-10-03 14:36:16


This test program:

#include <boost/numeric/ublas/traits.hpp>

Produces this on gcc
g++ -c -g -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -m3dnow
-I../../uwp/src/float -I../../uwp/src/fixed -I../../uwp/src/boost
-I../../frontend/src -o Testp.o ../Test/Testp.cc -Wp,-MMD,.d/Testp.d
In file included from ../Test/Testp.cc:1:
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: ISO C++ forbids
   declaration of `forward_iterator_base' with no type
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: template-id `
   forward_iterator_base<std::forward_iterator_tag, I, T>' used as a
declarator
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: parse error before
`;'
   token
[.. lots more errors]

This is boost-1.30.2,, gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

I want to use traits standalone. Is it not intended to be used this way, or
is this a bug?


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