Hi, While compiling with Intel C++ 7.1 Boost Python , i get this kind of error on class.cpp and a lot of other Boost Python files : C:\boost-1.30.2\boost/type_traits/is_integral.hpp(39): error: class "boost::is_integral<unsigned short>" has already been defined BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,wchar_t,true) I think that there must be a define that i missed somewhere ! I don't find it Any idea ? Thank you Xavier Warin
"Xavier WARIN(Compte LOCAL) - I23" <xavier.warin@der.edfgdf.fr> writes:
Hi,
While compiling with Intel C++ 7.1 Boost Python , i get this kind of error on class.cpp and a lot of other Boost Python files :
C:\boost-1.30.2\boost/type_traits/is_integral.hpp(39): error: class "boost::is_integral<unsigned short>" has already been defined BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,wchar_t,true)
I think that there must be a define that i missed somewhere ! I don't find it Any idea ?
Are you using Boost.Build? Are you using the CVS version of Boost.Python? Works fine for Intel7.1/windows when I do it. bjam -sTOOLS=intel7 class.obj ...found 909 targets... ...updating 4 targets... vc-C++ c:\build\bin\boost\libs\python\build\libboost_python.lib\intel7\debug-python\class.obj class.cpp vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\class.obj class.cpp MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\debug- symbols-off vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\debug-symbo ls-off\class.obj class.cpp ...updated 4 targets... -- Dave Abrahams Boost Consulting www.boost-consulting.com
Hi David, No in fact i was trying to do a new project from scratch. I manage to get rid of the error while taking the options of the Jam file : -D_NATIVE_WCHAR_T_DEFINED -/Zc:wchar_t Thank you David Xavier David Abrahams wrote:
"Xavier WARIN(Compte LOCAL) - I23" <xavier.warin@der.edfgdf.fr> writes:
Hi,
While compiling with Intel C++ 7.1 Boost Python , i get this kind of error on class.cpp and a lot of other Boost Python files :
C:\boost-1.30.2\boost/type_traits/is_integral.hpp(39): error: class "boost::is_integral<unsigned short>" has already been defined BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,wchar_t,true)
I think that there must be a define that i missed somewhere ! I don't find it Any idea ?
Are you using Boost.Build? Are you using the CVS version of Boost.Python?
Works fine for Intel7.1/windows when I do it.
bjam -sTOOLS=intel7 class.obj ...found 909 targets... ...updating 4 targets... vc-C++ c:\build\bin\boost\libs\python\build\libboost_python.lib\intel7\debug-python\class.obj class.cpp vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\class.obj class.cpp MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\debug- symbols-off vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\intel7\debug-python\debug-symbo ls-off\class.obj class.cpp ...updated 4 targets...
participants (2)
-
David Abrahams -
Xavier WARIN(Compte LOCAL) - I23