Boost logo

Boost :

Subject: Re: [boost] 1.55.0 beta 1 release candidates available for testing
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-10-03 15:00:31


On Oct 3, 2013, at 11:10 AM, Andrey Semashev <andrey.semashev_at_[hidden]> wrote:

> On Thu, Oct 3, 2013 at 9:59 PM, Marshall Clow <mclow.lists_at_[hidden]> wrote:
>> On Oct 3, 2013, at 9:19 AM, Marshall Clow <mclow.lists_at_[hidden]> wrote:
>>
>>> Release candidate files for 1.55.0 beta 1 are available at
>>> http://boost.cowic.de/rc/
>>>
>>> As always, the release managers would appreciate it if you download
>>> the candidate of your choice and give building it a try. Please report
>>> both success and failure, and anything else that is noteworthy.
>>
>> I built the RC on Mac OS X with gcc, clang and clang in C++ 11 mode.
>>
>> libs/log/src/init_from_settings.cpp
>>
>> failed to compile with clang (in both C++03 and C++11 modes)
>>
>> Here's the error from the -03 compilation:
>>
>> In file included from libs/log/src/init_from_settings.cpp:40:
>> In file included from ./boost/spirit/include/qi_core.hpp:16:
>> In file included from ./boost/spirit/home/qi/parser.hpp:15:
>> In file included from ./boost/spirit/home/qi/domain.hpp:15:
>> In file included from ./boost/spirit/home/support/meta_compiler.hpp:19:
>> In file included from ./boost/proto/proto.hpp:12:
>> In file included from ./boost/proto/core.hpp:21:
>> In file included from ./boost/proto/fusion.hpp:18:
>> In file included from ./boost/fusion/include/is_view.hpp:10:
>> In file included from ./boost/fusion/support/is_view.hpp:12:
>> ./boost/fusion/support/tag_of.hpp:78:39: fatal error: recursive template instantiation exceeded maximum depth of 128
>> : traits::tag_of<typename remove_const<T>::type>
>> ^
>
> Does it help if you apply the attached patch to libs/log/build/Jamfile.v2?

Yes - that fixes the error.

BTW, all the log files give me this warning for clang:

        In file included from libs/log/src/init_from_settings.cpp:18:
        In file included from libs/log/src/windows_version.hpp:19:
        ./boost/log/detail/config.hpp:320:16: warning: unknown attribute '__strong__' ignored [-Wattributes]
        __attribute__((__strong__))
                       ^
        1 warning generated.
        clang-darwin.archive bin.v2/libs/log/build/clang-darwin-4.2.1/release/link-static/log-api-unix/threading-multi/libboost_log_setup.a

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk