
Here is what the compiler says: C:\BoostHead\libs\serialization\build\../src/xml_grammar.cpp: Support for Borland compilers older than BCB2006 is deprecated in Boost 1.34 Error E2238 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 32: Multiple declaration for 'floating_point_promotion<float>' Error E2344 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 25: Earlier declaration of 'floating_point_promotion<float>' Error E2238 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 38: Multiple declaration for 'floating_point_promotion<float>' Error E2344 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 25: Earlier declaration of 'floating_point_promotion<float>' Error E2238 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 44: Multiple declaration for 'floating_point_promotion<float>' Error E2228 C:\BoostHead\boost/type_traits/floating_point_promotion.hpp 44: Too many error or warning messages *** 6 errors in Compile *** "bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -DBOOST_LIB_DIAGNOSTIC=1 -v -Od -vi- -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -w-8080 -w-8071 -w-8057 -w-8062 -w-8008 -w-0018 -w-8066 -w-8001 -I"c:\BoostHead\bin\boost\libs\serialization\build" -I"c:\spirit161" -I"C:\BoostHead" -o"c:\BoostHead\bin\boost\libs\serialization\build\libboost_serialization.lib\borland-5_5_1\debug\xml_grammar.obj" "C:\BoostHead\libs\serialization\build\../src/xml_grammar.cpp" I suspect that const and volitile versions have to be conditioned on BOOST_NO_CV_SPECIALIZATIONSas described in http://www.boost.org/libs/config/config.htm#defects Alexander Nasonov wrote:
Robert Ramey <ramey <at> rrsd.com> writes:
including the header file floating_point_promotion.hpp results in a compile error with the borland compilers.
What kind of error? CV specializations?