Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-04-11 05:42:07


> For SGI MIPSpro C++ compiler, I need the attached small patch to
> boost/static_assert.hpp in order to compile with boost, since in some
> situation the compiler does not accept boolian expressions for the
> template parameter. E.g.
>
> cc-1070 CC: ERROR File =
/home/i004/i00400/src/boost/boost/random/normal_distribution.hpp, Line = 49
> The indicated type is incomplete.
>
> BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer);
> ^
>
> Could someone apply this patch?

Jens Maurer recently patched that file for the SGI compiler - see
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/boost/static_asse
rt.hpp can you verify that this is working OK?

Thanks,

John Maddock.


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