[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] adding tests conditional on compiler's C++11 support
From: John Maddock <jz.maddock () googlemail ! com>
Date: 2016-11-17 19:35:54
Message-ID: 03f528ba-0bb7-4047-ea38-e573e87d2c5c () gmail ! com
[Download RAW message or body]
> One particular case illustrates the problem. See the test matrix
> http://www.boost.org/development/tests/develop/developer/serialization.html
> the test columns Sandia-darwin-c++11 and Sandia-darwin. Also of
> interest is the adjacent column timber-macOS. All tests are shown
> being run with compiler version 4.2.1. (I'll leave aside the question
> as what difference the clang part of the compiler name means.
>
> One column shows test_forward... failing with the above test. It gets
> the value of BOOST_NO_CXX11_HDR_FORWARD_LIST from the config file.
> While the bjam processor gets the "requires" from ...? It seems they
> are not getting these from the same source and that they are getting
> different values. In particular it looks like Jam is testing for the
> existence of <forward_list> which my program is checking config.hpp
> and that these are out of sync.
Just catching up on this... this is *not* gcc, it's Clang 7 with libc++,
can someone with this combination installed on Darwin let me know
whether <forward_list> really is fully supported even in C++03 mode?
Thanks, John.
PS To Robert, best to code your program as:
#ifndef BOOST_NO_CXX11_HDR_FORWARD_LIST
// main tests go here...
#else
int main() { return 0; }
#endif
Then if you still add the config-checks to the Jamfile to prevent
unnecessary tests being built, you should have all the bases covered.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic