Boost logo

Boost Users :

Subject: Re: [Boost-users] SUN CC 5.2 support in Boost 1.43?
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-09-27 04:33:44


> I wrote a C++ project using OpenMP, GCC and Boost. When I enable
> nested parallelism (omp_set_nested(1)), repeated runs of the same
> piece of code produce different results, which suggests that there is
> a race condition somewhere, but I do not see anything wrong with the
> logic of my code, so I decided to use Sun Studio's Thread Analyzer to
> analyze my code. This requires me to build my project with Sun's CC
> 5.2, which fails with the following warning message from Boost:
>
> "/h/96/g4max/local/boost64/include/boost/numeric/ublas/detail/config.hpp",
> line 170: Error: #error Your compiler and/or configuration is
> unsupported by this verions of uBLAS. Define
> BOOST_UBLAS_UNSUPPORTED_COMPILER=0 to override this message. Boost
> 1.32.0 includes uBLAS with support for many older compilers..

You need to build your code with -DBOOST_UBLAS_UNSUPPORTED_COMPILER=0 as
suggested.

Quite a lot of boost will work with sun's compiler, but by no means all of
it.

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net