|
Ublas : |
From: Marcolino Azimonti (marcolino.azi_at_[hidden])
Date: 2005-11-21 03:56:26
Hello,
I installed today the new 1.33.1 beta boost libraries using VS 7.1 and stlport 5.0.
However, when I recompile my code ublas is complaining....
"c:\boost\include\boost-1_33_1\boost\numeric\ublas\detail\config.hpp(172): fatal error C1189: #error : Your compiler is unsupported by this verions of uBLAS. Boost 1.32.0 includes uBLAS with support for many old compilers.
"
It seem that the problem is in config.hpp
....
// Detect other compilers with serious defects
#if defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined(BOOST_NO_SFINAE) || defined(BOOST_NO_STDC_NAMESPACE)
#define BOOST_UBLAS_UNSUPPORTED_COMPILER
#endif
// Cannot continue with an unsupported compiler
#ifdef BOOST_UBLAS_UNSUPPORTED_COMPILER
#error Your compiler is unsupported by this verions of uBLAS. Boost 1.32.0 includes uBLAS with support for many old compilers.
#endif
Effectively, the stlport define BOOST_NO_STDC_NAMESPACE (http://www.boost.org/boost/config/stdlib/stlport.hpp)
Do you know if it would be safe to disable this directive?
Thank you and best Regards,
Marco