forked from boostorg/config
Merge branch 'develop'
This commit is contained in:
27
.travis.yml
27
.travis.yml
@ -199,6 +199,33 @@ matrix:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libc++-dev
|
- libc++-dev
|
||||||
|
- clang-5.0
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-trusty-5.0
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++-6.0
|
||||||
|
env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,1z
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- clang-6.0
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-trusty-6.0
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++-libc++
|
||||||
|
env: TOOLSET=clang COMPILER="clang++-6.0 -stdlib=libc++" CXXSTD=03,11,14
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- clang-6.0
|
||||||
|
- libc++-dev
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-trusty-6.0
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Wed Apr 18 20:03:40 2018
|
# This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||||
# by libs/config/tools/generate.cpp
|
# by libs/config/tools/generate.cpp
|
||||||
# Copyright John Maddock.
|
# Copyright John Maddock.
|
||||||
# Use, modification and distribution are subject to the
|
# Use, modification and distribution are subject to the
|
||||||
@ -112,6 +112,7 @@ obj cxx14_return_type_deduction : test_case.cpp : <define>TEST_BOOST_NO_CXX14_RE
|
|||||||
obj cxx14_std_exchange : test_case.cpp : <define>TEST_BOOST_NO_CXX14_STD_EXCHANGE ;
|
obj cxx14_std_exchange : test_case.cpp : <define>TEST_BOOST_NO_CXX14_STD_EXCHANGE ;
|
||||||
obj cxx14_variable_templates : test_case.cpp : <define>TEST_BOOST_NO_CXX14_VARIABLE_TEMPLATES ;
|
obj cxx14_variable_templates : test_case.cpp : <define>TEST_BOOST_NO_CXX14_VARIABLE_TEMPLATES ;
|
||||||
obj cxx17_fold_expressions : test_case.cpp : <define>TEST_BOOST_NO_CXX17_FOLD_EXPRESSIONS ;
|
obj cxx17_fold_expressions : test_case.cpp : <define>TEST_BOOST_NO_CXX17_FOLD_EXPRESSIONS ;
|
||||||
|
obj cxx17_hdr_optional : test_case.cpp : <define>TEST_BOOST_NO_CXX17_HDR_OPTIONAL ;
|
||||||
obj cxx17_if_constexpr : test_case.cpp : <define>TEST_BOOST_NO_CXX17_IF_CONSTEXPR ;
|
obj cxx17_if_constexpr : test_case.cpp : <define>TEST_BOOST_NO_CXX17_IF_CONSTEXPR ;
|
||||||
obj cxx17_inline_variables : test_case.cpp : <define>TEST_BOOST_NO_CXX17_INLINE_VARIABLES ;
|
obj cxx17_inline_variables : test_case.cpp : <define>TEST_BOOST_NO_CXX17_INLINE_VARIABLES ;
|
||||||
obj cxx17_iterator_traits : test_case.cpp : <define>TEST_BOOST_NO_CXX17_ITERATOR_TRAITS ;
|
obj cxx17_iterator_traits : test_case.cpp : <define>TEST_BOOST_NO_CXX17_ITERATOR_TRAITS ;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Wed Apr 18 20:03:40 2018
|
// This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||||
// by libs/config/tools/generate.cpp
|
// by libs/config/tools/generate.cpp
|
||||||
// Copyright John Maddock 2002-4.
|
// Copyright John Maddock 2002-4.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@ -516,6 +516,11 @@
|
|||||||
# error "Defect macro BOOST_NO_CXX17_FOLD_EXPRESSIONS is defined."
|
# error "Defect macro BOOST_NO_CXX17_FOLD_EXPRESSIONS is defined."
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef TEST_BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
# ifdef BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
# error "Defect macro BOOST_NO_CXX17_HDR_OPTIONAL is defined."
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
#ifdef TEST_BOOST_NO_CXX17_IF_CONSTEXPR
|
#ifdef TEST_BOOST_NO_CXX17_IF_CONSTEXPR
|
||||||
# ifdef BOOST_NO_CXX17_IF_CONSTEXPR
|
# ifdef BOOST_NO_CXX17_IF_CONSTEXPR
|
||||||
# error "Defect macro BOOST_NO_CXX17_IF_CONSTEXPR is defined."
|
# error "Defect macro BOOST_NO_CXX17_IF_CONSTEXPR is defined."
|
||||||
|
@ -136,4 +136,11 @@ For example:
|
|||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
[section:intptr Integers for Storing Pointers]
|
||||||
|
|
||||||
|
The typedefs [^intptr_t] and [^uintptr_t] defined signed and unsigned integers respectively each capable of storing a pointer. The macro [^BOOST_HAS_INTPTR_T] is set when these types are available.
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Acknowledgements</title>
|
<title>Acknowledgements</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="rationale.html" title="Rationale">
|
<link rel="prev" href="rationale.html" title="Rationale">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Boost Macro Reference</title>
|
<title>Boost Macro Reference</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="../index.html" title="Boost.Config">
|
<link rel="prev" href="../index.html" title="Boost.Config">
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
<a name="boost_config.boost_macro_reference"></a><a class="link" href="boost_macro_reference.html" title="Boost Macro Reference">Boost Macro Reference</a>
|
<a name="boost_config.boost_macro_reference"></a><a class="link" href="boost_macro_reference.html" title="Boost Macro Reference">Boost Macro Reference</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__03_defects">Macros
|
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__03_defects">Macros
|
||||||
that describe C++03 defects</a></span></dt>
|
that describe C++03 defects</a></span></dt>
|
||||||
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_optional_features">Macros
|
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_optional_features">Macros
|
||||||
@ -3820,6 +3820,18 @@
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX17_HDR_OPTIONAL</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
The compiler does not support the header <code class="computeroutput"><span class="special"><</span><span class="identifier">optional</span><span class="special">></span></code>.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX17_STD_APPLY</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX17_STD_APPLY</span></code>
|
||||||
@ -5982,7 +5994,7 @@
|
|||||||
<a name="boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code"></a><a class="link" href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code" title="Macros for libraries with separate source code">Macros
|
<a name="boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code"></a><a class="link" href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code" title="Macros for libraries with separate source code">Macros
|
||||||
for libraries with separate source code</a>
|
for libraries with separate source code</a>
|
||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.macros_controlling_shared_library_symbol_visibility">Macros
|
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.macros_controlling_shared_library_symbol_visibility">Macros
|
||||||
controlling shared library symbol visibility</a></span></dt>
|
controlling shared library symbol visibility</a></span></dt>
|
||||||
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.abi_fixing">ABI
|
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.abi_fixing">ABI
|
||||||
@ -6265,6 +6277,24 @@
|
|||||||
Optional: when set the header will print out the name of the library
|
Optional: when set the header will print out the name of the library
|
||||||
selected (useful for debugging).
|
selected (useful for debugging).
|
||||||
</p></dd>
|
</p></dd>
|
||||||
|
<dt><span class="term"><code class="computeroutput"><span class="identifier">BOOST_AUTO_LINK_NOMANGLE</span></code></span></dt>
|
||||||
|
<dd><p>
|
||||||
|
Optional: whan set specifies that we should link to BOOST_LIB_NAME.lib,
|
||||||
|
rather than a mangled-name version.
|
||||||
|
</p></dd>
|
||||||
|
<dt><span class="term"><code class="computeroutput"><span class="identifier">BOOST_AUTO_LINK_TAGGED</span></code></span></dt>
|
||||||
|
<dd><p>
|
||||||
|
Optional: Specifies that we link to libraries built with the --layout=tagged
|
||||||
|
option. This is essentially the same as the default name-mangled
|
||||||
|
version, but without the compiler name and version, or the Boost
|
||||||
|
version. Just the build options.
|
||||||
|
</p></dd>
|
||||||
|
<dt><span class="term"><code class="computeroutput"><span class="identifier">BOOST_AUTO_LINK_SYSTEM</span></code></span></dt>
|
||||||
|
<dd><p>
|
||||||
|
Optional: Specifies that we link to libraries built with the --layout=system
|
||||||
|
option. This is essentially the same as the non-name-mangled version,
|
||||||
|
but with the prefix to differentiate static and dll builds
|
||||||
|
</p></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Build Time Configuration</title>
|
<title>Build Time Configuration</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="boost_macro_reference.html" title="Boost Macro Reference">
|
<link rel="prev" href="boost_macro_reference.html" title="Boost Macro Reference">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Standard Integer Types</title>
|
<title>Standard Integer Types</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="build_config.html" title="Build Time Configuration">
|
<link rel="prev" href="build_config.html" title="Build Time Configuration">
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
<a name="boost_config.cstdint"></a><a class="link" href="cstdint.html" title="Standard Integer Types">Standard Integer Types</a>
|
<a name="boost_config.cstdint"></a><a class="link" href="cstdint.html" title="Standard Integer Types">Standard Integer Types</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.overview">Overview</a></span></dt>
|
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.overview">Overview</a></span></dt>
|
||||||
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.rationale">Rationale</a></span></dt>
|
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.rationale">Rationale</a></span></dt>
|
||||||
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.ce"><span class="emphasis"><em>Caveat emptor</em></span></a></span></dt>
|
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.ce"><span class="emphasis"><em>Caveat emptor</em></span></a></span></dt>
|
||||||
@ -40,6 +40,7 @@
|
|||||||
integer types</a></span></dt>
|
integer types</a></span></dt>
|
||||||
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.integer_constant_macros">Integer
|
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.integer_constant_macros">Integer
|
||||||
Constant Macros</a></span></dt>
|
Constant Macros</a></span></dt>
|
||||||
|
<dt><span class="section"><a href="cstdint.html#boost_config.cstdint.intptr">Integers for Storing Pointers</a></span></dt>
|
||||||
</dl></div>
|
</dl></div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h3 class="title">
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
@ -271,6 +272,17 @@
|
|||||||
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">INT64_C</span><span class="special">(</span><span class="number">0</span><span class="identifier">x1FFFFFFFF</span><span class="special">);</span>
|
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">INT64_C</span><span class="special">(</span><span class="number">0</span><span class="identifier">x1FFFFFFFF</span><span class="special">);</span>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
|
<a name="boost_config.cstdint.intptr"></a><a class="link" href="cstdint.html#boost_config.cstdint.intptr" title="Integers for Storing Pointers">Integers for Storing Pointers</a>
|
||||||
|
</h3></div></div></div>
|
||||||
|
<p>
|
||||||
|
The typedefs <code class="literal">intptr_t</code> and <code class="literal">uintptr_t</code>
|
||||||
|
defined signed and unsigned integers respectively each capable of storing
|
||||||
|
a pointer. The macro <code class="literal">BOOST_HAS_INTPTR_T</code> is set when these
|
||||||
|
types are available.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"></td>
|
<td align="left"></td>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Guidelines for Boost Authors</title>
|
<title>Guidelines for Boost Authors</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="cstdint.html" title="Standard Integer Types">
|
<link rel="prev" href="cstdint.html" title="Standard Integer Types">
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<a name="boost_config.guidelines_for_boost_authors"></a><a class="link" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">Guidelines for
|
<a name="boost_config.guidelines_for_boost_authors"></a><a class="link" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">Guidelines for
|
||||||
Boost Authors</a>
|
Boost Authors</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.warnings">Disabling
|
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.warnings">Disabling
|
||||||
Compiler Warnings</a></span></dt>
|
Compiler Warnings</a></span></dt>
|
||||||
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_defect_macros">Adding
|
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_defect_macros">Adding
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Rationale</title>
|
<title>Rationale</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">
|
<link rel="prev" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
<a name="boost_config.rationale"></a><a class="link" href="rationale.html" title="Rationale">Rationale</a>
|
<a name="boost_config.rationale"></a><a class="link" href="rationale.html" title="Rationale">Rationale</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="rationale.html#boost_config.rationale.the_problem">The problem</a></span></dt>
|
<dt><span class="section"><a href="rationale.html#boost_config.rationale.the_problem">The problem</a></span></dt>
|
||||||
<dt><span class="section"><a href="rationale.html#boost_config.rationale.the_solution">The solution</a></span></dt>
|
<dt><span class="section"><a href="rationale.html#boost_config.rationale.the_solution">The solution</a></span></dt>
|
||||||
</dl></div>
|
</dl></div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Boost.Config</title>
|
<title>Boost.Config</title>
|
||||||
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||||
<link rel="home" href="index.html" title="Boost.Config">
|
<link rel="home" href="index.html" title="Boost.Config">
|
||||||
<link rel="next" href="boost_config/boost_macro_reference.html" title="Boost Macro Reference">
|
<link rel="next" href="boost_config/boost_macro_reference.html" title="Boost Macro Reference">
|
||||||
</head>
|
</head>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="toc">
|
<div class="toc">
|
||||||
<p><b>Table of Contents</b></p>
|
<p><b>Table of Contents</b></p>
|
||||||
<dl>
|
<dl class="toc">
|
||||||
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform">Configuring
|
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform">Configuring
|
||||||
Boost for Your Platform</a></span></dt>
|
Boost for Your Platform</a></span></dt>
|
||||||
<dd><dl>
|
<dd><dl>
|
||||||
@ -101,6 +101,7 @@
|
|||||||
integer types</a></span></dt>
|
integer types</a></span></dt>
|
||||||
<dt><span class="section"><a href="boost_config/cstdint.html#boost_config.cstdint.integer_constant_macros">Integer
|
<dt><span class="section"><a href="boost_config/cstdint.html#boost_config.cstdint.integer_constant_macros">Integer
|
||||||
Constant Macros</a></span></dt>
|
Constant Macros</a></span></dt>
|
||||||
|
<dt><span class="section"><a href="boost_config/cstdint.html#boost_config.cstdint.intptr">Integers for Storing Pointers</a></span></dt>
|
||||||
</dl></dd>
|
</dl></dd>
|
||||||
<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html">Guidelines for
|
<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html">Guidelines for
|
||||||
Boost Authors</a></span></dt>
|
Boost Authors</a></span></dt>
|
||||||
@ -127,7 +128,7 @@
|
|||||||
<a name="boost_config.configuring_boost_for_your_platform"></a><a class="link" href="index.html#boost_config.configuring_boost_for_your_platform" title="Configuring Boost for Your Platform">Configuring
|
<a name="boost_config.configuring_boost_for_your_platform"></a><a class="link" href="index.html#boost_config.configuring_boost_for_your_platform" title="Configuring Boost for Your Platform">Configuring
|
||||||
Boost for Your Platform</a>
|
Boost for Your Platform</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.using_the_default_boost_configuration">Using
|
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.using_the_default_boost_configuration">Using
|
||||||
the default boost configuration</a></span></dt>
|
the default boost configuration</a></span></dt>
|
||||||
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.the__boost_config_hpp__header">The
|
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.the__boost_config_hpp__header">The
|
||||||
@ -725,7 +726,7 @@
|
|||||||
<a name="boost_config.configuring_boost_for_your_platform.advanced_configuration_usage"></a><a class="link" href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage" title="Advanced configuration usage">Advanced
|
<a name="boost_config.configuring_boost_for_your_platform.advanced_configuration_usage"></a><a class="link" href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage" title="Advanced configuration usage">Advanced
|
||||||
configuration usage</a>
|
configuration usage</a>
|
||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<div class="toc"><dl>
|
<div class="toc"><dl class="toc">
|
||||||
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage.example_1__creating_our_own_frozen_configuration">Example
|
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage.example_1__creating_our_own_frozen_configuration">Example
|
||||||
1: creating our own frozen configuration</a></span></dt>
|
1: creating our own frozen configuration</a></span></dt>
|
||||||
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage.example_2__skipping_files_that_you_don_t_need">Example
|
<dt><span class="section"><a href="index.html#boost_config.configuring_boost_for_your_platform.advanced_configuration_usage.example_2__skipping_files_that_you_don_t_need">Example
|
||||||
@ -992,7 +993,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: April 18, 2018 at 18:30:02 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: August 04, 2018 at 18:19:41 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -947,6 +947,7 @@ that are not yet supported by a particular compiler or library.
|
|||||||
|
|
||||||
[table
|
[table
|
||||||
[[Macro ][Description ]]
|
[[Macro ][Description ]]
|
||||||
|
[[`BOOST_NO_CXX17_HDR_OPTIONAL`][The compiler does not support the header `<optional>`.]]
|
||||||
[[`BOOST_NO_CXX17_STD_APPLY`][The compiler does not support `std::apply()`.]]
|
[[`BOOST_NO_CXX17_STD_APPLY`][The compiler does not support `std::apply()`.]]
|
||||||
[[`BOOST_NO_CXX17_STD_INVOKE`][The compiler does not support `std::invoke()`.]]
|
[[`BOOST_NO_CXX17_STD_INVOKE`][The compiler does not support `std::invoke()`.]]
|
||||||
[[`BOOST_NO_CXX17_ITERATOR_TRAITS`][The compiler does not support SFINAE-friendly `std::iterator_traits`.]]
|
[[`BOOST_NO_CXX17_ITERATOR_TRAITS`][The compiler does not support SFINAE-friendly `std::iterator_traits`.]]
|
||||||
@ -1622,6 +1623,14 @@ Optional: when set link to dll rather than static library.
|
|||||||
Optional: when set the header will print out the name of the library selected
|
Optional: when set the header will print out the name of the library selected
|
||||||
(useful for debugging).
|
(useful for debugging).
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_AUTO_LINK_NOMANGLE`][
|
||||||
|
Optional: whan set specifies that we should link to BOOST_LIB_NAME.lib, rather than a mangled-name version.]]
|
||||||
|
[[`BOOST_AUTO_LINK_TAGGED`][Optional: Specifies that we link to libraries built with the --layout=tagged option.
|
||||||
|
This is essentially the same as the default name-mangled version, but without
|
||||||
|
the compiler name and version, or the Boost version. Just the build options.]]
|
||||||
|
[[`BOOST_AUTO_LINK_SYSTEM`][Optional: Specifies that we link to libraries built with the --layout=system option.
|
||||||
|
This is essentially the same as the non-name-mangled version, but with
|
||||||
|
the prefix to differentiate static and dll builds]]
|
||||||
]
|
]
|
||||||
|
|
||||||
If the compiler supports this mechanism, then it will be told to link against
|
If the compiler supports this mechanism, then it will be told to link against
|
||||||
|
@ -28,6 +28,9 @@ BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
|
|||||||
BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
|
BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
|
||||||
This is essentially the same as the default name-mangled version, but without
|
This is essentially the same as the default name-mangled version, but without
|
||||||
the compiler name and version, or the Boost version. Just the build options.
|
the compiler name and version, or the Boost version. Just the build options.
|
||||||
|
BOOST_AUTO_LINK_SYSTEM: Specifies that we link to libraries built with the --layout=system option.
|
||||||
|
This is essentially the same as the non-name-mangled version, but with
|
||||||
|
the prefix to differentiate static and dll builds
|
||||||
|
|
||||||
These macros will be undef'ed at the end of the header, further this header
|
These macros will be undef'ed at the end of the header, further this header
|
||||||
has no include guards - so be sure to include it only once from your library!
|
has no include guards - so be sure to include it only once from your library!
|
||||||
@ -406,6 +409,11 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
# ifdef BOOST_LIB_DIAGNOSTIC
|
# ifdef BOOST_LIB_DIAGNOSTIC
|
||||||
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib")
|
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib")
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined(BOOST_AUTO_LINK_SYSTEM)
|
||||||
|
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
||||||
|
# ifdef BOOST_LIB_DIAGNOSTIC
|
||||||
|
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
||||||
|
# endif
|
||||||
#elif defined(BOOST_AUTO_LINK_NOMANGLE)
|
#elif defined(BOOST_AUTO_LINK_NOMANGLE)
|
||||||
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
||||||
# ifdef BOOST_LIB_DIAGNOSTIC
|
# ifdef BOOST_LIB_DIAGNOSTIC
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
// last known compiler version:
|
// last known compiler version:
|
||||||
#if (__BORLANDC__ > 0x613)
|
#if (__BORLANDC__ > 0x613)
|
||||||
//# if defined(BOOST_ASSERT_CONFIG)
|
//# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
//# else
|
//# else
|
||||||
//# pragma message( "Unknown compiler version - please run the configure tests and report the results")
|
//# pragma message( "boost: Unknown compiler version - please run the configure tests and report the results")
|
||||||
//# endif
|
//# endif
|
||||||
#elif (__BORLANDC__ == 0x600)
|
#elif (__BORLANDC__ == 0x600)
|
||||||
# error "CBuilderX preview compiler is no longer supported"
|
# error "CBuilderX preview compiler is no longer supported"
|
||||||
|
@ -104,9 +104,9 @@
|
|||||||
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
|
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
|
||||||
#else
|
#else
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
|
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
|
||||||
|
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
|
||||||
# define BOOST_SYMBOL_IMPORT
|
# define BOOST_SYMBOL_IMPORT
|
||||||
#endif
|
#endif
|
||||||
#define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
|
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
// last known and checked version is 0x621
|
// last known and checked version is 0x621
|
||||||
#if (__CODEGEARC__ > 0x621)
|
#if (__CODEGEARC__ > 0x621)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
# pragma message( "Unknown compiler version - please run the configure tests and report the results")
|
# pragma message( "boost: Unknown compiler version - please run the configure tests and report the results")
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
// last known and checked version is 4245:
|
// last known and checked version is 4245:
|
||||||
#if (__COMO_VERSION__ > 4245)
|
#if (__COMO_VERSION__ > 4245)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -135,6 +135,6 @@
|
|||||||
// last known and checked version is ...:
|
// last known and checked version is ...:
|
||||||
#if (__DMC__ > 0x848)
|
#if (__DMC__ > 0x848)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -346,14 +346,14 @@
|
|||||||
# error "Compiler not configured - please reconfigure"
|
# error "Compiler not configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// last known and checked version is 7.1:
|
// last known and checked version is 8.1:
|
||||||
#if (BOOST_GCC_VERSION > 70100)
|
#if (BOOST_GCC_VERSION > 80100)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Boost.Config is older than your compiler - please check for an updated Boost release."
|
# error "Boost.Config is older than your compiler - please check for an updated Boost release."
|
||||||
# else
|
# else
|
||||||
// we don't emit warnings here anymore since there are no defect macros defined for
|
// we don't emit warnings here anymore since there are no defect macros defined for
|
||||||
// gcc post 3.4, so any failures are gcc regressions...
|
// gcc post 3.4, so any failures are gcc regressions...
|
||||||
//# warning "Unknown compiler version - please run the configure tests and report the results"
|
//# warning "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
// last known and checked version is 0:
|
// last known and checked version is 0:
|
||||||
#if (__ghs > 0)
|
#if (__ghs > 0)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -142,6 +142,6 @@
|
|||||||
// last known and checked version for PA-RISC is 38000
|
// last known and checked version for PA-RISC is 38000
|
||||||
#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
|
#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -46,12 +46,17 @@
|
|||||||
#undef BOOST_GCC_VERSION
|
#undef BOOST_GCC_VERSION
|
||||||
#undef BOOST_GCC_CXX11
|
#undef BOOST_GCC_CXX11
|
||||||
#undef BOOST_GCC
|
#undef BOOST_GCC
|
||||||
|
#undef BOOST_FALLTHROUGH
|
||||||
|
|
||||||
// Broken in all versions up to 17 (newer versions not tested)
|
// Broken in all versions up to 17 (newer versions not tested)
|
||||||
#if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
|
#if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
|
||||||
# define BOOST_NO_CXX14_CONSTEXPR
|
# define BOOST_NO_CXX14_CONSTEXPR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (__INTEL_COMPILER >= 1800) && (__cplusplus >= 201703)
|
||||||
|
# define BOOST_FALLTHROUGH [[fallthrough]]
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // defined(_MSC_VER)
|
#endif // defined(_MSC_VER)
|
||||||
|
|
||||||
#undef BOOST_COMPILER
|
#undef BOOST_COMPILER
|
||||||
@ -558,7 +563,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
|||||||
// We don't emit this warning any more, since we have so few
|
// We don't emit this warning any more, since we have so few
|
||||||
// defect macros set anyway (just the one).
|
// defect macros set anyway (just the one).
|
||||||
//
|
//
|
||||||
//# pragma message("Unknown compiler version - please run the configure tests and report the results")
|
//# pragma message("boost: Unknown compiler version - please run the configure tests and report the results")
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
// last known and checked version is 4001:
|
// last known and checked version is 4001:
|
||||||
#if (__KCC_VERSION > 4001)
|
#if (__KCC_VERSION > 4001)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@
|
|||||||
// last known and checked version:
|
// last known and checked version:
|
||||||
#if (__MWERKS__ > 0x3205)
|
#if (__MWERKS__ > 0x3205)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@
|
|||||||
// last known and checked version is 0x890:
|
// last known and checked version is 0x890:
|
||||||
#if (MPW_CPLUS > 0x890)
|
#if (MPW_CPLUS > 0x890)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
// last known and checked version is 1210:
|
// last known and checked version is 1210:
|
||||||
#if (__IBMCPP__ > 1210)
|
#if (__IBMCPP__ > 1210)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -202,6 +202,7 @@
|
|||||||
#if (_MSC_VER < 1911) || (_MSVC_LANG < 201703)
|
#if (_MSC_VER < 1911) || (_MSVC_LANG < 201703)
|
||||||
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
|
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
|
||||||
# define BOOST_NO_CXX17_IF_CONSTEXPR
|
# define BOOST_NO_CXX17_IF_CONSTEXPR
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// MSVC including version 14 has not yet completely
|
// MSVC including version 14 has not yet completely
|
||||||
@ -284,9 +285,9 @@
|
|||||||
# if _MSC_VER < 1400
|
# if _MSC_VER < 1400
|
||||||
// Note: I'm not aware of any CE compiler with version 13xx
|
// Note: I'm not aware of any CE compiler with version 13xx
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown EVC++ compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results")
|
# pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
|
||||||
# endif
|
# endif
|
||||||
# elif _MSC_VER < 1500
|
# elif _MSC_VER < 1500
|
||||||
# define BOOST_COMPILER_VERSION evc8
|
# define BOOST_COMPILER_VERSION evc8
|
||||||
@ -302,9 +303,9 @@
|
|||||||
# define BOOST_COMPILER_VERSION evc14
|
# define BOOST_COMPILER_VERSION evc14
|
||||||
# else
|
# else
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown EVC++ compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results")
|
# pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
|
@ -39,8 +39,7 @@
|
|||||||
// Intel
|
// Intel
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
||||||
|
|
||||||
#elif defined __clang__ && !defined(__CUDACC__) && !defined(__ibmxl__)
|
#elif defined __clang__ && !defined(__ibmxl__)
|
||||||
// when using clang and cuda at same time, you want to appear as gcc
|
|
||||||
// Clang C++ emulates GCC, so it has to appear early.
|
// Clang C++ emulates GCC, so it has to appear early.
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
|
||||||
|
|
||||||
|
@ -1023,6 +1023,15 @@ namespace std{ using ::type_info; }
|
|||||||
# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
|
# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// This is a catch all case for obsolete compilers / std libs:
|
||||||
|
#if !defined(__has_include)
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#else
|
||||||
|
#if !__has_include(<optional>)
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Finish off with checks for macros that are depricated / no longer supported,
|
// Finish off with checks for macros that are depricated / no longer supported,
|
||||||
// if any of these are set then it's very likely that much of Boost will no
|
// if any of these are set then it's very likely that much of Boost will no
|
||||||
|
@ -89,6 +89,7 @@
|
|||||||
// C++17 features
|
// C++17 features
|
||||||
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
|
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
|
||||||
# define BOOST_NO_CXX17_STD_APPLY
|
# define BOOST_NO_CXX17_STD_APPLY
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
#endif
|
#endif
|
||||||
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
|
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
|
||||||
# define BOOST_NO_AUTO_PTR
|
# define BOOST_NO_AUTO_PTR
|
||||||
@ -111,10 +112,16 @@
|
|||||||
# define BOOST_NO_CXX11_THREAD_LOCAL
|
# define BOOST_NO_CXX11_THREAD_LOCAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
#if defined(__linux__) && (_LIBCPP_VERSION < 6000) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
||||||
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
|
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
|
||||||
// except uses of `thread_local` fail with undefined reference to
|
// except uses of `thread_local` fail with undefined reference to
|
||||||
// `__cxa_thread_atexit`.
|
// `__cxa_thread_atexit`.
|
||||||
|
//
|
||||||
|
// clang's libc++abi provides an implementation by deferring to the glibc
|
||||||
|
// implementation, which may or may not be available (it is not on Trusty).
|
||||||
|
// clang 4's libc++abi will provide an implementation if one is not in glibc
|
||||||
|
// though, so thread local support should work with clang 4 and above as long
|
||||||
|
// as libc++abi is linked in.
|
||||||
# define BOOST_NO_CXX11_THREAD_LOCAL
|
# define BOOST_NO_CXX11_THREAD_LOCAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -128,4 +135,8 @@
|
|||||||
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(BOOST_NO_CXX14_HDR_SHARED_MUTEX) && (_LIBCPP_VERSION < 5000)
|
||||||
|
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||||
|
#endif
|
||||||
|
|
||||||
// --- end ---
|
// --- end ---
|
||||||
|
@ -299,6 +299,7 @@ extern "C" char *gets (char *__s);
|
|||||||
#if (BOOST_LIBSTDCXX_VERSION < 70100) || (__cplusplus <= 201402L)
|
#if (BOOST_LIBSTDCXX_VERSION < 70100) || (__cplusplus <= 201402L)
|
||||||
# define BOOST_NO_CXX17_STD_INVOKE
|
# define BOOST_NO_CXX17_STD_INVOKE
|
||||||
# define BOOST_NO_CXX17_STD_APPLY
|
# define BOOST_NO_CXX17_STD_APPLY
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__has_include)
|
#if defined(__has_include)
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
// BOOST_VERSION / 100 % 1000 is the minor version
|
// BOOST_VERSION / 100 % 1000 is the minor version
|
||||||
// BOOST_VERSION / 100000 is the major version
|
// BOOST_VERSION / 100000 is the major version
|
||||||
|
|
||||||
#define BOOST_VERSION 106800
|
#define BOOST_VERSION 106900
|
||||||
|
|
||||||
//
|
//
|
||||||
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
|
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
|
||||||
@ -27,6 +27,6 @@
|
|||||||
// number, y is the minor version number, and z is the patch level if not 0.
|
// number, y is the minor version number, and z is the patch level if not 0.
|
||||||
// This is used by <config/auto_link.hpp> to select which library version to link to.
|
// This is used by <config/auto_link.hpp> to select which library version to link to.
|
||||||
|
|
||||||
#define BOOST_LIB_VERSION "1_68"
|
#define BOOST_LIB_VERSION "1_69"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Regression test Jamfile for boost configuration setup.
|
# Regression test Jamfile for boost configuration setup.
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Wed Apr 18 20:03:40 2018
|
# This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||||
# by libs/config/tools/generate.cpp
|
# by libs/config/tools/generate.cpp
|
||||||
# Copyright John Maddock.
|
# Copyright John Maddock.
|
||||||
# Use, modification and distribution are subject to the
|
# Use, modification and distribution are subject to the
|
||||||
@ -325,6 +325,9 @@ test-suite "BOOST_NO_CXX14_VARIABLE_TEMPLATES" :
|
|||||||
test-suite "BOOST_NO_CXX17_FOLD_EXPRESSIONS" :
|
test-suite "BOOST_NO_CXX17_FOLD_EXPRESSIONS" :
|
||||||
[ run ../no_cxx17_fold_expressions_pass.cpp ]
|
[ run ../no_cxx17_fold_expressions_pass.cpp ]
|
||||||
[ compile-fail ../no_cxx17_fold_expressions_fail.cpp ] ;
|
[ compile-fail ../no_cxx17_fold_expressions_fail.cpp ] ;
|
||||||
|
test-suite "BOOST_NO_CXX17_HDR_OPTIONAL" :
|
||||||
|
[ run ../no_cxx17_hdr_optional_pass.cpp ]
|
||||||
|
[ compile-fail ../no_cxx17_hdr_optional_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_CXX17_IF_CONSTEXPR" :
|
test-suite "BOOST_NO_CXX17_IF_CONSTEXPR" :
|
||||||
[ run ../no_cxx17_if_constexpr_pass.cpp ]
|
[ run ../no_cxx17_if_constexpr_pass.cpp ]
|
||||||
[ compile-fail ../no_cxx17_if_constexpr_fail.cpp ] ;
|
[ compile-fail ../no_cxx17_if_constexpr_fail.cpp ] ;
|
||||||
|
23
test/boost_no_cxx17_hdr_optional.ipp
Normal file
23
test/boost_no_cxx17_hdr_optional.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// (C) Copyright John Maddock 2018
|
||||||
|
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for more information.
|
||||||
|
|
||||||
|
// MACRO: BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
// TITLE: C++17 header <optional> unavailable
|
||||||
|
// DESCRIPTION: The standard library does not supply C++17 header <optional>
|
||||||
|
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
|
namespace boost_no_cxx17_hdr_optional {
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
using std::optional;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1159,6 +1159,7 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_CXX14_STD_EXCHANGE);
|
PRINT_MACRO(BOOST_NO_CXX14_STD_EXCHANGE);
|
||||||
PRINT_MACRO(BOOST_NO_CXX14_VARIABLE_TEMPLATES);
|
PRINT_MACRO(BOOST_NO_CXX14_VARIABLE_TEMPLATES);
|
||||||
PRINT_MACRO(BOOST_NO_CXX17_FOLD_EXPRESSIONS);
|
PRINT_MACRO(BOOST_NO_CXX17_FOLD_EXPRESSIONS);
|
||||||
|
PRINT_MACRO(BOOST_NO_CXX17_HDR_OPTIONAL);
|
||||||
PRINT_MACRO(BOOST_NO_CXX17_IF_CONSTEXPR);
|
PRINT_MACRO(BOOST_NO_CXX17_IF_CONSTEXPR);
|
||||||
PRINT_MACRO(BOOST_NO_CXX17_INLINE_VARIABLES);
|
PRINT_MACRO(BOOST_NO_CXX17_INLINE_VARIABLES);
|
||||||
PRINT_MACRO(BOOST_NO_CXX17_ITERATOR_TRAITS);
|
PRINT_MACRO(BOOST_NO_CXX17_ITERATOR_TRAITS);
|
||||||
@ -1237,6 +1238,7 @@ void print_boost_macros()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// END GENERATED BLOCK
|
// END GENERATED BLOCK
|
||||||
|
|
||||||
PRINT_MACRO(BOOST_INTEL);
|
PRINT_MACRO(BOOST_INTEL);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Wed Apr 18 20:03:40 2018
|
// This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||||
// by libs/config/tools/generate.cpp
|
// by libs/config/tools/generate.cpp
|
||||||
// Copyright John Maddock 2002-4.
|
// Copyright John Maddock 2002-4.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@ -342,6 +342,11 @@ namespace boost_no_cxx14_variable_templates = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_cxx17_fold_expressions = empty_boost;
|
namespace boost_no_cxx17_fold_expressions = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#include "boost_no_cxx17_hdr_optional.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_cxx17_hdr_optional = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_CXX17_IF_CONSTEXPR
|
#ifndef BOOST_NO_CXX17_IF_CONSTEXPR
|
||||||
#include "boost_no_cxx17_if_constexpr.ipp"
|
#include "boost_no_cxx17_if_constexpr.ipp"
|
||||||
#else
|
#else
|
||||||
@ -1501,6 +1506,11 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_CXX17_FOLD_EXPRESSIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_CXX17_FOLD_EXPRESSIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_no_cxx17_hdr_optional::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_NO_CXX17_HDR_OPTIONAL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_no_cxx17_if_constexpr::test())
|
if(0 != boost_no_cxx17_if_constexpr::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_CXX17_IF_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_CXX17_IF_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
1971
test/config_test.cu
Normal file
1971
test/config_test.cu
Normal file
File diff suppressed because it is too large
Load Diff
37
test/no_cxx17_hdr_optional_fail.cpp
Normal file
37
test/no_cxx17_hdr_optional_fail.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Sat Aug 4 19:11:09 2018
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_CXX17_HDR_OPTIONAL should not be defined.
|
||||||
|
// See file boost_no_cxx17_hdr_optional.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#include "boost_no_cxx17_hdr_optional.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_cxx17_hdr_optional::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_cxx17_hdr_optional_pass.cpp
Normal file
37
test/no_cxx17_hdr_optional_pass.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Sat Aug 4 19:11:08 2018
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_CXX17_HDR_OPTIONAL should be defined.
|
||||||
|
// See file boost_no_cxx17_hdr_optional.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#include "boost_no_cxx17_hdr_optional.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_cxx17_hdr_optional = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_cxx17_hdr_optional::test();
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user