Boost logo

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-15 17:19:19


All,

On Sun, Nov 12, 2017 at 3:27 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]> wrote:
> "clang++-5.0" -c -x c++ -Wno-c99-extensions -std=c++1z
> -stdlib=libc++ -isystem/usr/include/libcxxabi -O0 -g -fno-inline -Wall
> -g -fPIC -m64 -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTRACT_DISABLE_THREADS
> -DBOOST_CONTRACT_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -I".."
> -I"../libs/contract/test/function" -o
> "/var/boost/run/results/boost/bin.v2/libs/contract/test/function-smoke.test/clang-gnu-linux-5.0~c++1z~lc/debug/threadapi-pthread/function/smoke.o"
> "../libs/contract/test/function/smoke.cpp"
>
> In file included from ../libs/contract/test/function/smoke.cpp:9:
> In file included from
> ../libs/contract/test/function/../detail/oteststream.hpp:10:
> In file included from ../boost/iostreams/tee.hpp:18:
> In file included from ../boost/iostreams/detail/adapter/device_adapter.hpp:22:
> In file included from ../boost/iostreams/detail/call_traits.hpp:15:
> In file included from ../boost/iostreams/traits.hpp:38:
> In file included from ../boost/range/iterator_range.hpp:14:
> In file included from ../boost/range/iterator_range_io.hpp:32:
> In file included from /usr/include/c++/v1/ostream:138:
> In file included from /usr/include/c++/v1/ios:216:
> In file included from /usr/include/c++/v1/__locale:15:
> /usr/include/c++/v1/string:1942:14: error: expected ';' at end of declaration
> _NOEXCEPT
> ^
> /usr/include/c++/v1/string:1947:9: error: expected unqualified-id
> _NOEXCEPT
> ^
> /usr/include/c++/v1/__config:368:21: note: expanded from macro '_NOEXCEPT'
> # define _NOEXCEPT noexcept
> ^
> 2 errors generated.

Any idea about this? I couldn't find any reference to it online...
Again, Boost.Range and Boost.IOStreams see the same errors for Clang
5.0 on Teeks.

Thanks,
--Lorenzo


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