Boost logo

Boost Users :

Subject: Re: [Boost-users] [bcp] Lean and mean boost
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-07-12 07:11:04

> IRC logs seems to indicate that it was on Solaris with SunStudio, but I
> cannot get a proper build of bcp at all currently on any of my
> (x86/sparc) 5.9/5.10 compilers, where copy_file.o fails to build due to
> an ICE and a constant expression error in regex.
> I might have used some version other than the 1.44.0, 1.46.1 and current
> trunk, as none of those compile bcp at all.

Reproduced on Linux with Sun Studio 12.1.

Unfortunately there are Boost.Filesystem failures as well as an internal
compiler error:

>> Assertion: unexpected or unrecognized operator in err_operator
(../lnk/, line 384)
    while processing
at line 0.

> Anyway, the repro I achieved back then succeeded with a full tree but
> failed with a bcp'd tree, for some reason.

Can you tell me which files were missing (or at least what the errors were)?

Using a gcc built bcp to copy boost/bimap.hpp I see the same Sun Studio
error with both Trunk and the bcp'ed copy:

"../trunk/boost/multi_index/indexed_by.hpp", line 56: Error: Type name
expected instead of "BOOST_PP_ENUM_1".
"../trunk/boost/multi_index/indexed_by.hpp", line 58: Error: Expected
"class" or "typename" before "BOOST_MULTI_INDEX_INDEXED_BY_TEMPLATE_PARM" .
"../trunk/boost/multi_index/indexed_by.hpp", line 58: Error: Type name
expected instead of "T".
3 Error(s) detected.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at