Boost logo

Boost :

From: Joerg Walter (jhr.walter_at_[hidden])
Date: 2002-10-04 05:28:10


----- Original Message -----
From: "Toon Knapen" <toon.knapen_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, October 02, 2002 3:33 PM
Subject: [boost] BOOST_UBLAS_C_MATH on mipspro

> This flag should be set when compiling ublas with mipspro, otherwise you
get :
>
> cc-1282 CC: ERROR File =
> /home/fft/tk//femtown/../boost/boost/numeric/ublas/traits.hpp, Line = 202
> More than one instance of overloaded function "std::abs" matches the
> argument
> list.
>
> Function symbol function "std::abs(const std::complex<float>
&)"
> is ambiguous by inheritance.
> Function symbol function
> "std::abs(const std::complex<long double> &)" is
> ambiguous by inheritance.
> The argument types are: (
>
> boost::numeric::ublas::type_traits<double>::const_referen
> ce).
> return std::abs (t);

Do you have a ublas/config.hpp description for mipspro already? I'd add it
then.

> But this is a ublas-specific flag although this is not a ublas specific
> problem. And the flag is even not necessary when ublas explicitly states
the
> value_type of the std::abs call so I'm not sure what the best way is to
patch
> this.

Neither I'm.

TIA

Joerg


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