Boost logo

Ublas :

From: cirodemauro_at_[hidden]
Date: 2008-02-22 10:33:45


Hi,
I am trying to compile some code including boost bindings on Sun Solaris in
order to call UBLAS function from my C++ library
I use the compiler CC: Sun C++ 5.8 Patch 121017-08 2006/12/06

I have modified bindings/traits/config.hpp as follows: 38a39,40
> #elif defined(__SUNPRO_CC)
>
and bindings/traits/fortran.h as follows:12c12
< #if defined(__GNUC__) || defined(__ICC) || defined(__sgi) ||
defined(__COMO__) || defined(__KCC)

---
> #if defined(__GNUC__) || defined(__ICC) || defined(__sgi) ||
defined(__COMO__) || defined(__KCC) || defined(__SUNPRO_CC)
Now I got the error:"/DUMP/pucci/boost/include/boost/numeric/bindings/traits/std_vector.hpp",
line 36: Error: The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.
I tried to set BOOST_NUMERIC_BINDINGS_NO_SANITY_CHECK but I obtained another
compilation error.
It is possible to use some workaround to bypass the problem?
Which type of sanity check do you perform with the instruction that fails? I
mean: which feature the Sun CC compiler is missing in order to use bindings?
Thanks in advance for any help.
Ciro