____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender.Hello,I have a problem when trying to build and install boost on unix using compiler aCC.
I used the following command line :
bjam "-sTOOLS=aCC"
And I had a lot of errors :-(
Examples of the errors I have :
Error 742: "libs/regex/build/../src/cpp_regex_traits.cpp", line 372 # Source type const char *& and target type char * in a const_cast can only differ in their qualifiers
pmd->sbuf.pubsetbuf(const_cast<char*>(first), static_cast<std::streamsize>(last-first));Error 618: Exact position unknown; near ["/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/regex/v3/regex_match.hpp", line 1867]. # The definition of template iterator_traits<template#0> contains typename qualification '_Iterator::value_type', yet generation of specialization struct iterator_traits<template#0> implies that '_Iterator' is 'tentative class template#0', which is incomplete.
Error 445: "/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/regex/v3/regex_match.hpp", line 1867 # Cannot recover from earlier errors.
return re_detail::reg_grep2(re_detail::grep_search_predicate<iterator,Error 119: "/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/thread/condition.hpp", line 17 # #error Thread support is unavailable!
# error Thread support is unavailable!Error 174: "/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/operators.hpp", line 368 # Function redefinition; previously defined as "bool boost::operator <=(const #1 &,const #2 &)" at ["/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/operators.hpp", line 125].
friend bool operator<=(const T& x, const U& y)Error 215: Exact position unknown; near ["/cm/vobs/basic/BASIC/BOOST/sources/boost-1.30.2/boost/filesystem/path.hpp", line 109]. # Too many nested classes!
Look at the 1st error for example : it is normal since we should't convert a const char*& towards a char* with const_cast.
Boost has never been built with aCC ??
Do you intend to make it buildable with aCC ??
Thanks.
--