Boost logo

Boost Users :

Subject: [Boost-users] Boost 1.37.0 and Borland C++ Builder 5 (compiler version 5.5/5.5.1)
From: Marcin Kurek (kurk_at_[hidden])
Date: 2008-11-24 14:21:05


Hello,

I'm upgrading project which was originally developed using Borland C++
Builder 5. I need to do some parsing, so I thought I'd use Boost Regex.
However, building regex with Borland C++ 5.5 (and 5.5.1) is an issue.
There is no bcb5.mak included, so I use bjam:
C:\boost_1_37_0\libs\regex\bjam --toolset=borland-5.5 (I tried
--toolset=borland also)
When I hit enter the only things I get are compiler errors...

borland.compile.c++
..\..\..\bin.v2\libs\regex\build\borland-5.5.1\debug\posix_a
pi.obj
..\..\..\libs\regex\src\..\src\posix_api.cpp:
Error E2404 ..\..\..\boost/regex/v4/basic_regex.hpp 195: Dependent type
qualifie
r 'c_regex_traits<char>' has no member type named 'string_type' in
function __st
dcall regcompA(regex_tA *,const char *,int)

(...)

Error E2228 ..\..\..\boost/regex/v4/basic_regex.hpp 346: Too many error
or warni
ng messages in function __stdcall regcompA(regex_tA *,const char *,int)
*** 6 errors in Compile ***

   "bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC
-tWD -W
M- -DBOOST_ALL_NO_LIB=1 -DBOOST_REGEX_DYN_LINK=1 -I"..\..\.."
-I"C:\Program File
s\Borland\CBuilder5/include/"
-o"..\..\..\bin.v2\libs\regex\build\borland-5.5.1\
debug\posix_api.obj" "..\..\..\libs\regex\src\..\src\posix_api.cpp"

Is there anybody who forced BCC 5.5/5.5.1 to play with Boost/Regex?

Thanks,
Marcin


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