Using Boost library with Borland C++ Command Line Tool -
There is a problem compiling the C ++ code booster (1.55.0) using the Borland C ++ Command Line Tool (Borland C + 5.5.1) I
I test the example from the Boost Start Page, e.g. cpp:
#include I have modified the header that promoted the bcc32.cfg file as follows: -i "c: \ Borland \ Bcc55 \ include "-i" C: \ boost_1_55_0 "-L" c: \ Borland \ Bcc55 \ lib " Then, I compile using bcc32 example I try .cpp , get the following errors: Error E2221 C: \ boost_1_55_0 \ boost / static_assert.hpp 62: Macro Logic Syntax Error Error E2221 C: \ boost_1_55_0 \ boost / static_assert .hpp 182: Macro Logic Syntax Error Error E2238 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 429: 'length & lt; Tupal & lt; Multiple declaration for null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type & gt; & Gt; 'Error E2344 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 424:' length & lt; Tupal & lt; Null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type & gt; & Gt; 'Error E2238 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 439:' length & lt; Null_type & gt; Multiple annotation error for E2344C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 434: The first declaration 'length & lt; Null_type & gt; Error E2108 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 700: typing type 'expansion :: unblock_t' error E2299 C: \ in boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 700 improper use: template specialist generated Can not make 'make_tuple_traits & lt; T & gt; Error E2321 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 702: declaration does not specify a tag or identifier error E2108 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 832: improper use of typedef 'Ignore_t' error E2299 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 832: 'tie_traits & lt; T & gt; Can not generate template expertise from error E2321 C: \ boost_1_55_0 \ boost / tuple / detail / tuple_basic.hpp 834: Announcement does not specify a tag or identifier error E2401C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits Hpp 89: invalid template logic list error E2040 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 91: declaration wrong error E2401 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 256: invalid template logic list error E2040 C: \ boost_1_55_0 \ boost /lambda/detail/lambda_traits.hpp 257: Announcement incorrect error E2238 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 408: 'bind_traits & lt; Null_type & gt; Multiple declaration error for E2344C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 401: 'bind_traits & lt; Null_type & gt; Error announcement error E2434 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 435: template declaration missing template parameter ('template & lt; ... & gt;') Error E2238 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 435: 'bind_trats & lt; R & gt; Multiple annotation error for E2344 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 389: The first announcement is' bind_traits & lt; R & gt; Error E2108 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 440: typedef 'Arg1' error E2299 C: \ boost_1_55_0 \ inappropriate use of / lambda / detail / lambda_traits.hpp 440: template expertise from 'bind_traits & lt Can not produce; R & gt; 'Error E2428 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 442: template class or function error E2108 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 445: typedef' Arg1 'improper use of error E2228 C: \ boost_1_55_0 \ boost / lambda / detail / lambda_traits.hpp 445: Much more error or warning message *** 26 errors in compilation ***
The Borland C ++ has many standard compliance problems, this is probably a futile attempt. Increase officially dropped support for bcc32.exe 10 years ago
The C + + builder comes with a working version of the promotion of XE, maybe you can use it instead of bcc 5.5 Can check.
Comments
Post a Comment