Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#837 closed Bugs (None)

Compiling with Borland C++Builder

Reported by: mnfisher Owned by: Nicola Musatti
Milestone: Component: build
Version: None Severity:
Keywords: Cc:

Description

Hi,

Is anyone using boost with Borland C++.  I am trying to compile boost 1_33_1 using Borland's 5.8.2 compiler.  
Despite make files for Builder 6 I still have a poor success rate.

For example #include <boost/tokenizer.hpp> gives
E2316 is_convertible is not a member of boost - as the first of many errors.
Similarly boost/variant.hpp, boost/algorithm/string.hpp and regex etc all fail to compile.
I can use some libraries (any, bind, assign, smart_ptrs etc)

Anyone any suggestions - as to which version of boost is best to use if nothing else. I have previously used spirit with C++Builder 5, but was hoping to use a more upto date version having upgraded.

Thanks for any help / pointers.

Martin

Change History (3)

comment:1 by Nicola Musatti, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=88359
Originator: NO

In order to use Boost 1.33.1 with Borland 5.8.2 you need the patches available from the bcbboost project: http://bcbboost.sourceforge.net
Note that support is incomplete; regression test results for a patched version of Boost are available on the bcbboost web site, so you can find out which libraries work.

comment:2 by alisdairm27386, 16 years ago

Logged In: YES 
user_id=1392509
Originator: NO

Note that Borland CBuilder 2006 was released AFTER the last official release of Boost, 1.33.1.
Support will be part of Boost 1.34, as can be seen on the regression testing page.

For a BCB2006 user, the current CVS image is probably a good solution compared to rolling your own patches - although hopefully 1.34 will be released 'Real soon Now' solving the problem.

comment:3 by mnfisher, 16 years ago

Logged In: YES 
user_id=1724626
Originator: YES

Many thanks for the help.  I've installed the files from bcbboost - great improvement.  Look forward to boost 1_34 and a Borland compiler that really is standards compliant.

Martin

Note: See TracTickets for help on using tickets.