|
Boost : |
Subject: Re: [boost] [contract] _NOEXCEPT errors in <ostream> for Clang 5.0 C++1z on Teeks Linux
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2017-11-22 18:24:02
Hello Tom,
On Tue, Nov 21, 2017 at 7:16 PM, Tom Kent <lists_at_[hidden]> wrote:
> On Mon, Nov 20, 2017 at 9:06 PM, Tom Kent <lists_at_[hidden]> wrote:
>>
>> I was able to get to the bottom of this, I hope the libc++ builds start
>> cycling normally now.
>>
>> > This was marked (by me!) as a clang bug - that was fixed in clang trunk
>> > in January 2013.
>> > I find it hard to believe that you're running a clang built from those
>> > sources.
>> >
>> > -- Marshall
>>
>> It turns out I had put in a script patch the broken ubuntu header:
>>
>> https://github.com/teeks99/boost-cpp-docker/blob/11e6d31ca8d28dee8bbb5536f287cc27710a4ff5/clang-5/fix_string.py
>>
>> This was a very brittle patch, and when ubuntu fixed it upstream (just two
>> months ago!) it caused some kind of conflict. I've removed the patch from my
>> teeks99/boost-cpp-docker images, so the clang-3.9, -4, -5, and -6 images
>> should be able to use libc++ correctly now.
>>
>> Thanks for all who helped me straighten this out!
>>
>
> There was a further issue with the need for a `-lc++abi` linker option, it
> has been added and the results look better now.
Yes, Boost.Contract regression tests now pass on this
compiler/platform. The issue was fixed.
Thanks a lot.
--Lorenzo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk