forked from boostorg/config
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bfc8453278 |
@@ -29,6 +29,9 @@ boostbook standalone
|
|||||||
<xsl:param>toc.section.depth=2
|
<xsl:param>toc.section.depth=2
|
||||||
<xsl:param>chunk.section.depth=1
|
<xsl:param>chunk.section.depth=1
|
||||||
<xsl:param>boost.root=../../../..
|
<xsl:param>boost.root=../../../..
|
||||||
|
<xsl:param>boost.libraries=../../../../libs/libraries.htm
|
||||||
|
<xsl:param>navig.graphics=1
|
||||||
|
<xsl:param>html.stylesheet=../../../../doc/html/boostbook.css
|
||||||
|
|
||||||
# PDF Options:
|
# PDF Options:
|
||||||
<format>pdf:<xsl:param>xep.extensions=1
|
<format>pdf:<xsl:param>xep.extensions=1
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ Distributed under the Boost Software License, Version 1.0.
|
|||||||
[/ Other web resources ]
|
[/ Other web resources ]
|
||||||
|
|
||||||
[def __STL_PORT__ [@http://stlport.sourceforge.net STLport]]
|
[def __STL_PORT__ [@http://stlport.sourceforge.net STLport]]
|
||||||
[def __BOOST_TRACKER__ [@https://svn.boost.org/trac/boost/newticket Trac]]
|
[def __BOOST_TRACKER__ [@http://sourceforge.net/tracker/?group_id=7586 Tracker]]
|
||||||
[def __CORE_LANGUAGE_DR337__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#337 Core Language DR337]]
|
[def __CORE_LANGUAGE_DR337__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#337 Core Language DR337]]
|
||||||
[def __PRINCIPLES_AND_PATTERNS_ARTICLE__ [@http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf following article]]
|
[def __PRINCIPLES_AND_PATTERNS_ARTICLE__ [@http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf following article]]
|
||||||
|
|
||||||
|
|||||||
+7
-11
@@ -112,8 +112,8 @@ filename limit though. You will also need to provide a function prototype
|
|||||||
"`int test()`" that is declared in a namespace with the same name as the macro,
|
"`int test()`" that is declared in a namespace with the same name as the macro,
|
||||||
but in all lower case, and which returns zero on success:
|
but in all lower case, and which returns zero on success:
|
||||||
|
|
||||||
|
|
||||||
namespace boost_no_foo {
|
namespace boost_no_foo {
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
// test code goes here:
|
// test code goes here:
|
||||||
@@ -126,18 +126,14 @@ but in all lower case, and which returns zero on success:
|
|||||||
Once the test code is in place in libs/config/test, updating the configuration
|
Once the test code is in place in libs/config/test, updating the configuration
|
||||||
test system proceeds as:
|
test system proceeds as:
|
||||||
|
|
||||||
* cd into `libs/config/tools` and run `bjam`. This generates the `.cpp`
|
* cd into `libs/config/tools` and run `bjam` : this generates the `.cpp`
|
||||||
file test cases from the `.ipp` file, updates the
|
file test cases from the `.ipp` file, updates the
|
||||||
libs/config/test/all/Jamfile.v2, `config_test.cpp` and `config_info.cpp`.[br][br]
|
libs/config/test/all/Jamfile.v2, `config_test.cpp` and `config_info.cpp`.
|
||||||
|
* cd into `libs/config/test/all` and run `bjam `['MACRONAME` compiler-list`] : where
|
||||||
* cd into `libs/config/test/all` and run `bjam `['MACRONAME` compiler-list`], where
|
|
||||||
['MACRONAME] is the name of the new macro, and ['`compiler-list`] is a space separated list of
|
['MACRONAME] is the name of the new macro, and ['`compiler-list`] is a space separated list of
|
||||||
compilers to test with.[br][br]
|
compilers to test with. You should see the tests pass with those compilers
|
||||||
The xxx_pass_test and the xxx_fail_test [*should both report `**passed**`].[br][br]
|
that don't have the defect, and fail with those that do.
|
||||||
If ['MACRONAME] is not defined when it should be defined, xxx_pass_test will not report `**passed**`.
|
* cd into `libs/config/test` and run `bjam config_info config_test `['`compiler-list`] :
|
||||||
If ['MACRONAME] is defined when it should not be defined, xxx_fail_test will not report `**passed**`.[br][br]
|
|
||||||
|
|
||||||
* cd into `libs/config/test` and run `bjam config_info config_test `['`compiler-list`].
|
|
||||||
`config_info` should build and run cleanly for all the compilers in ['`compiler-list`]
|
`config_info` should build and run cleanly for all the compilers in ['`compiler-list`]
|
||||||
while `config_test` should fail for those that have the defect, and pass for those
|
while `config_test` should fail for those that have the defect, and pass for those
|
||||||
that do not.
|
that do not.
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<title>Acknowledgements</title>
|
<title>Acknowledgements</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||||
<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">
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="rationale.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a>
|
<a accesskey="p" href="rationale.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" lang="en">
|
<div class="section" lang="en">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
</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>
|
||||||
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
</p>
|
</p>
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="rationale.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a>
|
<a accesskey="p" href="rationale.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<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/html/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||||
<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">
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="boost_macro_reference.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
<a accesskey="p" href="boost_macro_reference.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" lang="en">
|
<div class="section" lang="en">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
@@ -63,45 +63,45 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="itemizedlist"><ul type="disc">
|
<div class="itemizedlist"><ul type="disc">
|
||||||
<li>
|
<li>
|
||||||
Boost library implementers are not required to "<code class="computeroutput"><span class="preprocessor">#include</span>
|
Boost library implementers are not required to "<code class="computeroutput"><span class="preprocessor">#include</span>
|
||||||
<span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>", and are not required in any
|
<span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>",
|
||||||
way to support compilers that do not comply with the C++ Standard (ISO/IEC
|
and are not required in any way to support compilers that do not comply with
|
||||||
14882).
|
the C++ Standard (ISO/IEC 14882).
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
If a library implementer wishes to support some non-conforming compiler,
|
If a library implementer wishes to support some non-conforming compiler,
|
||||||
or to support some platform specific feature, "<code class="computeroutput"><span class="preprocessor">#include</span>
|
or to support some platform specific feature, "<code class="computeroutput"><span class="preprocessor">#include</span>
|
||||||
<span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>" is the preferred way to obtain
|
<span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>"
|
||||||
configuration information not available from the standard headers such
|
is the preferred way to obtain configuration information not available from
|
||||||
as <code class="computeroutput"><span class="special"><</span><span class="identifier">climits</span><span class="special">></span></code>, etc.
|
the standard headers such as <code class="computeroutput"><span class="special"><</span><span class="identifier">climits</span><span class="special">></span></code>,
|
||||||
</li>
|
etc.
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
If configuration information can be deduced from standard headers such
|
If configuration information can be deduced from standard headers such as
|
||||||
as <code class="computeroutput"><span class="special"><</span><span class="identifier">climits</span><span class="special">></span></code>, use those standard headers rather
|
<code class="computeroutput"><span class="special"><</span><span class="identifier">climits</span><span class="special">></span></code>, use those standard headers rather than
|
||||||
than <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>.
|
<code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Boost files that use macros defined in <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
|
Boost files that use macros defined in <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
|
||||||
should have sensible, standard conforming, default behavior if the macro
|
should have sensible, standard conforming, default behavior if the macro
|
||||||
is not defined. This means that the starting point for porting <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> to a new platform is simply to define
|
is not defined. This means that the starting point for porting <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
|
||||||
nothing at all specific to that platform. In the rare case where there
|
to a new platform is simply to define nothing at all specific to that platform.
|
||||||
is no sensible default behavior, an #error message should describe the
|
In the rare case where there is no sensible default behavior, an #error message
|
||||||
problem.
|
should describe the problem.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
If a Boost library implementer wants something added to <code class="computeroutput"><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span></code>,
|
If a Boost library implementer wants something added to <code class="computeroutput"><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span></code>, post
|
||||||
post a request on the Boost mailing list. There is no guarantee such a
|
a request on the Boost mailing list. There is no guarantee such a request
|
||||||
request will be honored; the intent is to limit the complexity of config.hpp.
|
will be honored; the intent is to limit the complexity of config.hpp.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
The intent is to support only compilers which appear on their way to becoming
|
The intent is to support only compilers which appear on their way to becoming
|
||||||
C++ Standard compliant, and only recent releases of those compilers at
|
C++ Standard compliant, and only recent releases of those compilers at that.
|
||||||
that.
|
</li>
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
The intent is not to disable mainstream features now well-supported by
|
The intent is not to disable mainstream features now well-supported by the
|
||||||
the majority of compilers, such as namespaces, exceptions, RTTI, or templates.
|
majority of compilers, such as namespaces, exceptions, RTTI, or templates.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section" lang="en">
|
<div class="section" lang="en">
|
||||||
<div class="titlepage"><div><div><h3 class="title">
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
@@ -118,19 +118,19 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="itemizedlist"><ul type="disc">
|
<div class="itemizedlist"><ul type="disc">
|
||||||
<li>
|
<li>
|
||||||
This header <span class="bold"><strong><span class="emphasis"><em>should never be included
|
This header <span class="bold"><strong><span class="emphasis"><em>should never be included by
|
||||||
by another Boost header</em></span></strong></span>, it should only ever be
|
another Boost header</em></span></strong></span>, it should only ever be used
|
||||||
used by a library source file or a test case.
|
by a library source file or a test case.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
The header should be included <span class="bold"><strong><span class="emphasis"><em>before
|
The header should be included <span class="bold"><strong><span class="emphasis"><em>before you
|
||||||
you include any other header</em></span></strong></span>.
|
include any other header</em></span></strong></span>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
This header only disables warnings that are hard or impossible to otherwise
|
This header only disables warnings that are hard or impossible to otherwise
|
||||||
deal with, and which are typically emitted by one compiler only, or in
|
deal with, and which are typically emitted by one compiler only, or in
|
||||||
one compilers own standard library headers.
|
one compilers own standard library headers.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<p>
|
<p>
|
||||||
Currently it disables the following warnings:
|
Currently it disables the following warnings:
|
||||||
@@ -142,41 +142,41 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Compiler
|
Compiler
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Warning
|
Warning
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Visual C++ 8 and later
|
Visual C++ 8 and later
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<a href="http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx" target="_top">C4996</a>:
|
<a href="http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx" target="_top">C4996</a>:
|
||||||
Error 'function': was declared deprecated
|
Error 'function': was declared deprecated
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Intel C++
|
Intel C++
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Warning 1786: relates to the use of "deprecated" standard
|
Warning 1786: relates to the use of "deprecated" standard
|
||||||
library functions rather like C4996 in Visual C++.
|
library functions rather like C4996 in Visual C++.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -220,6 +220,7 @@
|
|||||||
on success:
|
on success:
|
||||||
</p>
|
</p>
|
||||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost_no_foo</span> <span class="special">{</span>
|
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost_no_foo</span> <span class="special">{</span>
|
||||||
|
|
||||||
<span class="keyword">int</span> <span class="identifier">test</span><span class="special">()</span>
|
<span class="keyword">int</span> <span class="identifier">test</span><span class="special">()</span>
|
||||||
<span class="special">{</span>
|
<span class="special">{</span>
|
||||||
<span class="comment">// test code goes here:
|
<span class="comment">// test code goes here:
|
||||||
@@ -235,54 +236,49 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="itemizedlist"><ul type="disc">
|
<div class="itemizedlist"><ul type="disc">
|
||||||
<li>
|
<li>
|
||||||
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">tools</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span></code>.
|
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">tools</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span></code>
|
||||||
This generates the <code class="computeroutput"><span class="special">.</span><span class="identifier">cpp</span></code>
|
: this generates the <code class="computeroutput"><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
file test cases from the <code class="computeroutput"><span class="special">.</span><span class="identifier">ipp</span></code> file, updates the libs/config/test/all/Jamfile.v2,
|
file test cases from the <code class="computeroutput"><span class="special">.</span><span class="identifier">ipp</span></code> file, updates the libs/config/test/all/Jamfile.v2,
|
||||||
<code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>.<br>
|
<code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>.
|
||||||
<br>
|
</li>
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span><span class="special">/</span><span class="identifier">all</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
|
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span><span class="special">/</span><span class="identifier">all</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
|
||||||
</code><span class="emphasis"><em>MACRONAME<code class="computeroutput"> <span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>,
|
</code><span class="emphasis"><em>MACRONAME<code class="computeroutput"> <span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
|
||||||
where <span class="emphasis"><em>MACRONAME</em></span> is the name of the new macro, and
|
: where <span class="emphasis"><em>MACRONAME</em></span> is the name of the new macro, and
|
||||||
<span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span> is a space separated
|
<span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span> is a space separated
|
||||||
list of compilers to test with.<br> <br> The xxx_pass_test and the
|
list of compilers to test with. You should see the tests pass with those
|
||||||
xxx_fail_test <span class="bold"><strong>should both report <code class="computeroutput"><span class="special">**</span><span class="identifier">passed</span><span class="special">**</span></code></strong></span>.<br> <br> If <span class="emphasis"><em>MACRONAME</em></span>
|
compilers that don't have the defect, and fail with those that do.
|
||||||
is not defined when it should be defined, xxx_pass_test will not report
|
</li>
|
||||||
<code class="computeroutput"><span class="special">**</span><span class="identifier">passed</span><span class="special">**</span></code>. If <span class="emphasis"><em>MACRONAME</em></span>
|
|
||||||
is defined when it should not be defined, xxx_fail_test will not report
|
|
||||||
<code class="computeroutput"><span class="special">**</span><span class="identifier">passed</span><span class="special">**</span></code>.<br> <br>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
|
cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
|
||||||
<span class="identifier">config_info</span> <span class="identifier">config_test</span>
|
<span class="identifier">config_info</span> <span class="identifier">config_test</span>
|
||||||
</code><span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>.
|
</code><span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
|
||||||
<code class="computeroutput"><span class="identifier">config_info</span></code> should build
|
: <code class="computeroutput"><span class="identifier">config_info</span></code> should build
|
||||||
and run cleanly for all the compilers in <span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
|
and run cleanly for all the compilers in <span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
|
||||||
while <code class="computeroutput"><span class="identifier">config_test</span></code> should
|
while <code class="computeroutput"><span class="identifier">config_test</span></code> should
|
||||||
fail for those that have the defect, and pass for those that do not.
|
fail for those that have the defect, and pass for those that do not.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<p>
|
<p>
|
||||||
Then you should:
|
Then you should:
|
||||||
</p>
|
</p>
|
||||||
<div class="itemizedlist"><ul type="disc">
|
<div class="itemizedlist"><ul type="disc">
|
||||||
<li>
|
<li>
|
||||||
Define the defect macro in those config headers that require it.
|
Define the defect macro in those config headers that require it.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Document the macro in this documentation (please do not forget this step!!)
|
Document the macro in this documentation (please do not forget this step!!)
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Commit everything.
|
Commit everything.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Keep an eye on the regression tests for new failures in Boost.Config
|
Keep an eye on the regression tests for new failures in Boost.Config caused
|
||||||
caused by the addition.
|
by the addition.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Start using the macro.
|
Start using the macro.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" lang="en">
|
<div class="section" lang="en">
|
||||||
@@ -362,7 +358,7 @@
|
|||||||
</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>
|
||||||
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
</p>
|
</p>
|
||||||
@@ -370,7 +366,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="boost_macro_reference.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
<a accesskey="p" href="boost_macro_reference.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<title>Rationale</title>
|
<title>Rationale</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||||
<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">
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="guidelines_for_boost_authors.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
<a accesskey="p" href="guidelines_for_boost_authors.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" lang="en">
|
<div class="section" lang="en">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
@@ -56,10 +56,16 @@
|
|||||||
have nothing to do with each other. Essentially, the traditional solution
|
have nothing to do with each other. Essentially, the traditional solution
|
||||||
employed by configuration headers does not conform to the Open-Closed Principle:
|
employed by configuration headers does not conform to the Open-Closed Principle:
|
||||||
</p>
|
</p>
|
||||||
<div class="blockquote"><blockquote class="blockquote"><p>
|
<div class="blockquote"><blockquote class="blockquote">
|
||||||
<span class="bold"><strong>"A module should be open for extension but closed
|
<p>
|
||||||
for modification."</strong></span>
|
</p>
|
||||||
</p></blockquote></div>
|
<p>
|
||||||
|
<span class="bold"><strong>"A module should be open for extension but
|
||||||
|
closed for modification."</strong></span>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
</blockquote></div>
|
||||||
<p>
|
<p>
|
||||||
Extending a traditional configuration header implies modifying existing code.
|
Extending a traditional configuration header implies modifying existing code.
|
||||||
</p>
|
</p>
|
||||||
@@ -72,9 +78,15 @@
|
|||||||
of the entire library, and more stable elements of Boost would depend on
|
of the entire library, and more stable elements of Boost would depend on
|
||||||
it. This violates the Stable Dependencies Principle:
|
it. This violates the Stable Dependencies Principle:
|
||||||
</p>
|
</p>
|
||||||
<div class="blockquote"><blockquote class="blockquote"><p>
|
<div class="blockquote"><blockquote class="blockquote">
|
||||||
<span class="bold"><strong>"Depend in the direction of stability."</strong></span>
|
<p>
|
||||||
</p></blockquote></div>
|
</p>
|
||||||
|
<p>
|
||||||
|
<span class="bold"><strong>"Depend in the direction of stability."</strong></span>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
</blockquote></div>
|
||||||
<p>
|
<p>
|
||||||
After even a minor change to a traditional configuration header on one minor
|
After even a minor change to a traditional configuration header on one minor
|
||||||
platform, almost everything on every platform should be tested if we follow
|
platform, almost everything on every platform should be tested if we follow
|
||||||
@@ -109,7 +121,7 @@
|
|||||||
</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>
|
||||||
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
<td align="right"><div class="copyright-footer">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock<p>
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
</p>
|
</p>
|
||||||
@@ -117,7 +129,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="guidelines_for_boost_authors.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
<a accesskey="p" href="guidelines_for_boost_authors.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+353
-343
@@ -1,8 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<title>Boost.Config</title>
|
<title>Boost.Config</title>
|
||||||
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../doc/html/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||||
<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">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<td align="center"><a href="../../../../more/index.htm">More</a></td>
|
<td align="center"><a href="../../../../more/index.htm">More</a></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav"><a accesskey="n" href="boost_config/boost_macro_reference.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div>
|
<div class="spirit-nav"><a accesskey="n" href="boost_config/boost_macro_reference.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a></div>
|
||||||
<div class="article" lang="en">
|
<div class="article" lang="en">
|
||||||
<div class="titlepage">
|
<div class="titlepage">
|
||||||
<div>
|
<div>
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
<div><div class="authorgroup"><div class="author"><h3 class="author">
|
<div><div class="authorgroup"><div class="author"><h3 class="author">
|
||||||
<span class="firstname">Vesa Karvonen, John Maddock</span> <span class="surname">Beman Dawes</span>
|
<span class="firstname">Vesa Karvonen, John Maddock</span> <span class="surname">Beman Dawes</span>
|
||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<div><p class="copyright">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
|
<div><p class="copyright">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
|
||||||
<div><div class="legalnotice">
|
<div><div class="legalnotice">
|
||||||
<a name="id663915"></a><p>
|
<a name="id770460"></a><p>
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
</p>
|
</p>
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Boost library users can request support for additional compilers or platforms
|
Boost library users can request support for additional compilers or platforms
|
||||||
by visiting our <a href="https://svn.boost.org/trac/boost/newticket" target="_top">Trac</a>
|
by visiting our <a href="http://sourceforge.net/tracker/?group_id=7586" target="_top">Tracker</a>
|
||||||
and submitting a support request.
|
and submitting a support request.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<div class="important"><table border="0" summary="Important">
|
<div class="important"><table border="0" summary="Important">
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../../../doc/src/images/important.png"></td>
|
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../../../doc/html/images/important.png"></td>
|
||||||
<th align="left">Important</th>
|
<th align="left">Important</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td align="left" valign="top"><p>
|
<tr><td align="left" valign="top"><p>
|
||||||
@@ -190,9 +190,15 @@
|
|||||||
you will need to cd into <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code>
|
you will need to cd into <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code>
|
||||||
and type:
|
and type:
|
||||||
</p>
|
</p>
|
||||||
<div class="blockquote"><blockquote class="blockquote"><p>
|
<div class="blockquote"><blockquote class="blockquote">
|
||||||
<code class="computeroutput"><span class="identifier">sh</span> <span class="special">./</span><span class="identifier">configure</span></code>
|
<p>
|
||||||
</p></blockquote></div>
|
</p>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">sh</span> <span class="special">./</span><span class="identifier">configure</span></code>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
</blockquote></div>
|
||||||
<p>
|
<p>
|
||||||
you will see a list of the items being checked as the script works its way
|
you will see a list of the items being checked as the script works its way
|
||||||
through the regression tests. Note that the configure script only really
|
through the regression tests. Note that the configure script only really
|
||||||
@@ -207,63 +213,63 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Variable
|
Variable
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Description
|
Description
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
CXX
|
CXX
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
The name of the compiler, for example <code class="computeroutput"><span class="identifier">c</span><span class="special">++</span></code>.
|
The name of the compiler, for example <code class="computeroutput"><span class="identifier">c</span><span class="special">++</span></code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
CXXFLAGS
|
CXXFLAGS
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
The compiler flags to use, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">O2</span></code>.
|
The compiler flags to use, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">O2</span></code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
LDFLAGS
|
LDFLAGS
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
The linker flags to use, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">mypath</span></code>.
|
The linker flags to use, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">mypath</span></code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
LIBS
|
LIBS
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Any libraries to link in, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">lpthread</span></code>.
|
Any libraries to link in, for example <code class="computeroutput"><span class="special">-</span><span class="identifier">lpthread</span></code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -291,23 +297,23 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="itemizedlist"><ul type="disc">
|
<div class="itemizedlist"><ul type="disc">
|
||||||
<li>
|
<li>
|
||||||
<span class="bold"><strong>Option 1:</strong></span> copy the header into <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code> so that it replaces the default user.hpp
|
<span class="bold"><strong>Option 1:</strong></span> copy the header into <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code> so that it replaces the default user.hpp
|
||||||
provided by boost. This option allows only one configure-generated setup;
|
provided by boost. This option allows only one configure-generated setup;
|
||||||
boost developers should avoid this option, as it incurs the danger of
|
boost developers should avoid this option, as it incurs the danger of accidentally
|
||||||
accidentally committing a configure-modified <a href="../../../../boost/config/user.hpp" target="_top"><boost/config/user.hpp></a>
|
committing a configure-modified <a href="../../../../boost/config/user.hpp" target="_top"><boost/config/user.hpp></a>
|
||||||
to the cvs repository (something you will not be thanked for!).
|
to the cvs repository (something you will not be thanked for!).
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<span class="bold"><strong>Option 2:</strong></span> give the header a more memorable
|
<span class="bold"><strong>Option 2:</strong></span> give the header a more memorable
|
||||||
name, and place it somewhere convenient; then, define the macro <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code> to point to it. For
|
name, and place it somewhere convenient; then, define the macro <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code> to point to it. For
|
||||||
example create a new sub-directory <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code> <code class="computeroutput"><span class="identifier">user</span><span class="special">/</span></code>, and copy the header there; for example
|
example create a new sub-directory <span class="emphasis"><em><boost-root></em></span><code class="computeroutput"><span class="special">/</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span></code><code class="computeroutput"><span class="identifier">user</span><span class="special">/</span></code>, and copy the header there; for example
|
||||||
as <code class="computeroutput"><span class="identifier">multithread</span><span class="special">-</span><span class="identifier">gcc</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span></code>. Then, when compiling add the command
|
as <code class="computeroutput"><span class="identifier">multithread</span><span class="special">-</span><span class="identifier">gcc</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span></code>. Then, when compiling add the command
|
||||||
line option: <code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_USER_CONFIG</span><span class="special">=</span><span class="string">"<boost/config/user/multithread-gcc-config.hpp>"</span></code>,
|
line option: <code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_USER_CONFIG</span><span class="special">=</span><span class="string">"<boost/config/user/multithread-gcc-config.hpp>"</span></code>,
|
||||||
and boost will use the new configuration header. This option allows you
|
and boost will use the new configuration header. This option allows you
|
||||||
to generate more than one configuration header, and to keep them separate
|
to generate more than one configuration header, and to keep them separate
|
||||||
from the boost source - so that updates to the source do not interfere
|
from the boost source - so that updates to the source do not interfere
|
||||||
with your configuration.
|
with your configuration.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<a name="config_user_settable"></a><p>
|
<a name="config_user_settable"></a><p>
|
||||||
@@ -331,348 +337,346 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Macro
|
Macro
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Description
|
Description
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, it should point to the name of the user configuration
|
When defined, it should point to the name of the user configuration
|
||||||
file to include prior to any boost configuration files. When not
|
file to include prior to any boost configuration files. When not
|
||||||
defined, defaults to <a href="../../../../boost/config/user.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">user</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
defined, defaults to <a href="../../../../boost/config/user.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">user</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_COMPILER_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_COMPILER_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, it should point to the name of the compiler configuration
|
When defined, it should point to the name of the compiler configuration
|
||||||
file to use. Defining this cuts out the compiler selection logic,
|
file to use. Defining this cuts out the compiler selection logic,
|
||||||
and eliminates the dependency on the header containing that logic.
|
and eliminates the dependency on the header containing that logic.
|
||||||
For example if you are using gcc, then you could define BOOST_COMPILER_CONFIG
|
For example if you are using gcc, then you could define BOOST_COMPILER_CONFIG
|
||||||
to <a href="../../../../boost/config/compiler/gcc.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">compiler</span><span class="special">/</span><span class="identifier">gcc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
to <a href="../../../../boost/config/compiler/gcc.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">compiler</span><span class="special">/</span><span class="identifier">gcc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_STDLIB_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_STDLIB_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, it should point to the name of the standard library
|
When defined, it should point to the name of the standard library
|
||||||
configuration file to use. Defining this cuts out the standard
|
configuration file to use. Defining this cuts out the standard library
|
||||||
library selection logic, and eliminates the dependency on the header
|
selection logic, and eliminates the dependency on the header containing
|
||||||
containing that logic. For example if you are using STLport, then
|
that logic. For example if you are using STLport, then you could
|
||||||
you could define <code class="computeroutput"><span class="identifier">BOOST_STDLIB_CONFIG</span></code>
|
define <code class="computeroutput"><span class="identifier">BOOST_STDLIB_CONFIG</span></code>
|
||||||
to <a href="../../../../boost/config/stdlib/stlport.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">stdlib</span><span class="special">/</span><span class="identifier">stlport</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
to <a href="../../../../boost/config/stdlib/stlport.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">stdlib</span><span class="special">/</span><span class="identifier">stlport</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_PLATFORM_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_PLATFORM_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, it should point to the name of the platform configuration
|
When defined, it should point to the name of the platform configuration
|
||||||
file to use. Defining this cuts out the platform selection logic,
|
file to use. Defining this cuts out the platform selection logic,
|
||||||
and eliminates the dependency on the header containing that logic.
|
and eliminates the dependency on the header containing that logic.
|
||||||
For example if you are compiling on linux, then you could define
|
For example if you are compiling on linux, then you could define
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_PLATFORM_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_PLATFORM_CONFIG</span></code>
|
||||||
to <a href="../../../../boost/config/platform/linux.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">platform</span><span class="special">/</span><span class="identifier">linux</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
to <a href="../../../../boost/config/platform/linux.hpp" target="_top"><code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">platform</span><span class="special">/</span><span class="identifier">linux</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_COMPILER_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_COMPILER_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, no compiler configuration file is selected or included,
|
When defined, no compiler configuration file is selected or included,
|
||||||
define when the compiler is fully conformant with the standard,
|
define when the compiler is fully conformant with the standard, or
|
||||||
or where the user header (see <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>),
|
where the user header (see <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>),
|
||||||
has had any options necessary added to it, for example by an autoconf
|
has had any options necessary added to it, for example by an autoconf
|
||||||
generated configure script.
|
generated configure script.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_STDLIB_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_STDLIB_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, no standard library configuration file is selected
|
When defined, no standard library configuration file is selected
|
||||||
or included, define when the standard library is fully conformant
|
or included, define when the standard library is fully conformant
|
||||||
with the standard, or where the user header (see <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>), has had any
|
with the standard, or where the user header (see <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>),
|
||||||
options necessary added to it, for example by an autoconf generated
|
has had any options necessary added to it, for example by an autoconf
|
||||||
configure script.
|
generated configure script.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_PLATFORM_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_PLATFORM_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, no platform configuration file is selected or included,
|
When defined, no platform configuration file is selected or included,
|
||||||
define when the platform is fully conformant with the standard
|
define when the platform is fully conformant with the standard (and
|
||||||
(and has no useful extra features), or where the user header (see
|
has no useful extra features), or where the user header (see <code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>), has had any
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_USER_CONFIG</span></code>),
|
options necessary added to it, for example by an autoconf generated
|
||||||
has had any options necessary added to it, for example by an autoconf
|
configure script.
|
||||||
generated configure script.
|
</p>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Equivalent to defining all of <code class="computeroutput"><span class="identifier">BOOST_NO_COMPILER_CONFIG</span></code>,
|
Equivalent to defining all of <code class="computeroutput"><span class="identifier">BOOST_NO_COMPILER_CONFIG</span></code>,
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_STDLIB_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_STDLIB_CONFIG</span></code>
|
||||||
and <code class="computeroutput"><span class="identifier">BOOST_NO_PLATFORM_CONFIG</span></code>.
|
and <code class="computeroutput"><span class="identifier">BOOST_NO_PLATFORM_CONFIG</span></code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_STRICT_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_STRICT_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
The normal behavior for compiler versions that are newer than the
|
The normal behavior for compiler versions that are newer than the
|
||||||
last known version, is to assume that they have all the same defects
|
last known version, is to assume that they have all the same defects
|
||||||
as the last known version. By setting this define, then compiler
|
as the last known version. By setting this define, then compiler
|
||||||
versions that are newer than the last known version are assumed
|
versions that are newer than the last known version are assumed to
|
||||||
to be fully conforming with the standard. This is probably most
|
be fully conforming with the standard. This is probably most useful
|
||||||
useful for boost developers or testers, and for those who want
|
for boost developers or testers, and for those who want to use boost
|
||||||
to use boost to test beta compiler versions.
|
to test beta compiler versions.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ASSERT_CONFIG</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_ASSERT_CONFIG</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When this flag is set, if the config finds anything unknown, then
|
When this flag is set, if the config finds anything unknown, then
|
||||||
it will stop with a #error rather than continue. Boost regression
|
it will stop with a #error rather than continue. Boost regression
|
||||||
testers should set this define, as should anyone who wants to quickly
|
testers should set this define, as should anyone who wants to quickly
|
||||||
check whether boost is supported on their platform.
|
check whether boost is supported on their platform.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_THREADS</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_THREADS</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, disables threading support, even if the compiler
|
When defined, disables threading support, even if the compiler in
|
||||||
in its current translation mode supports multiple threads.
|
its current translation mode supports multiple threads.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_WIN32</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_WIN32</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
When defined, disables the use of Win32 specific API's, even when
|
When defined, disables the use of Win32 specific API's, even when
|
||||||
these are available. Also has the effect of setting <code class="computeroutput"><span class="identifier">BOOST_DISABLE_THREADS</span></code> unless
|
these are available. Also has the effect of setting <code class="computeroutput"><span class="identifier">BOOST_DISABLE_THREADS</span></code> unless <code class="computeroutput"><span class="identifier">BOOST_HAS_PTHREADS</span></code> is set. This
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_HAS_PTHREADS</span></code>
|
option may be set automatically by the config system when it detects
|
||||||
is set. This option may be set automatically by the config system
|
that the compiler is in "strict mode".
|
||||||
when it detects that the compiler is in "strict mode".
|
</p>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_ABI_HEADERS</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_DISABLE_ABI_HEADERS</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Stops boost headers from including any prefix/suffix headers that
|
Stops boost headers from including any prefix/suffix headers that
|
||||||
normally control things like struct packing and alignment.
|
normally control things like struct packing and alignment.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ABI_PREFIX</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_ABI_PREFIX</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
A prefix header to include in place of whatever boost.config would
|
A prefix header to include in place of whatever boost.config would
|
||||||
normally select, any replacement should set up struct packing and
|
normally select, any replacement should set up struct packing and
|
||||||
alignment options as required.
|
alignment options as required.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ABI_SUFFIX</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_ABI_SUFFIX</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
A suffix header to include in place of whatever boost.config would
|
A suffix header to include in place of whatever boost.config would
|
||||||
normally select, any replacement should undo the effects of the
|
normally select, any replacement should undo the effects of the prefix
|
||||||
prefix header.
|
header.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ALL_DYN_LINK</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_ALL_DYN_LINK</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Forces all libraries that have separate source, to be linked as
|
Forces all libraries that have separate source, to be linked as dll's
|
||||||
dll's rather than static libraries on Microsoft Windows (this macro
|
rather than static libraries on Microsoft Windows (this macro is
|
||||||
is used to turn on <code class="computeroutput"><span class="identifier">__declspec</span><span class="special">(</span><span class="identifier">dllimport</span><span class="special">)</span></code> modifiers, so that the compiler
|
used to turn on <code class="computeroutput"><span class="identifier">__declspec</span><span class="special">(</span><span class="identifier">dllimport</span><span class="special">)</span></code> modifiers, so that the compiler
|
||||||
knows which symbols to look for in a dll rather than in a static
|
knows which symbols to look for in a dll rather than in a static
|
||||||
library). Note that there may be some libraries that can only be
|
library). Note that there may be some libraries that can only be
|
||||||
statically linked (Boost.Test for example) and others which may
|
statically linked (Boost.Test for example) and others which may only
|
||||||
only be dynamically linked (Boost.Threads for example), in these
|
be dynamically linked (Boost.Threads for example), in these cases
|
||||||
cases this macro has no effect.
|
this macro has no effect.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_</span></code><span class="emphasis"><em>WHATEVER</em></span><code class="computeroutput"><span class="identifier">_DYN_LINK</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_</span></code><span class="emphasis"><em>WHATEVER</em></span><code class="computeroutput"><span class="identifier">_DYN_LINK</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Forces library "whatever" to be linked as a dll rather
|
Forces library "whatever" to be linked as a dll rather
|
||||||
than a static library on Microsoft Windows: replace the <span class="emphasis"><em>WHATEVER</em></span>
|
than a static library on Microsoft Windows: replace the <span class="emphasis"><em>WHATEVER</em></span>
|
||||||
part of the macro name with the name of the library that you want
|
part of the macro name with the name of the library that you want
|
||||||
to dynamically link to, for example use <code class="computeroutput"><span class="identifier">BOOST_DATE_TIME_DYN_LINK</span></code>
|
to dynamically link to, for example use <code class="computeroutput"><span class="identifier">BOOST_DATE_TIME_DYN_LINK</span></code>
|
||||||
or <code class="computeroutput"><span class="identifier">BOOST_REGEX_DYN_LINK</span></code>
|
or <code class="computeroutput"><span class="identifier">BOOST_REGEX_DYN_LINK</span></code>
|
||||||
etc (this macro is used to turn on <code class="computeroutput"><span class="identifier">__declspec</span><span class="special">(</span><span class="identifier">dllimport</span><span class="special">)</span></code> modifiers, so that the compiler
|
etc (this macro is used to turn on <code class="computeroutput"><span class="identifier">__declspec</span><span class="special">(</span><span class="identifier">dllimport</span><span class="special">)</span></code> modifiers, so that the compiler
|
||||||
knows which symbols to look for in a dll rather than in a static
|
knows which symbols to look for in a dll rather than in a static
|
||||||
library). Note that there may be some libraries that can only be
|
library). Note that there may be some libraries that can only be
|
||||||
statically linked (Boost.Test for example) and others which may
|
statically linked (Boost.Test for example) and others which may only
|
||||||
only be dynamically linked (Boost.Threads for example), in these
|
be dynamically linked (Boost.Threads for example), in these cases
|
||||||
cases this macro is unsupported.
|
this macro is unsupported.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ALL_NO_LIB</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_ALL_NO_LIB</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Tells the config system not to automatically select which libraries
|
Tells the config system not to automatically select which libraries
|
||||||
to link against. Normally if a compiler supports #pragma lib, then
|
to link against. Normally if a compiler supports #pragma lib, then
|
||||||
the correct library build variant will be automatically selected
|
the correct library build variant will be automatically selected
|
||||||
and linked against, simply by the act of including one of that
|
and linked against, simply by the act of including one of that library's
|
||||||
library's headers. This macro turns that feature off.
|
headers. This macro turns that feature off.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_</span></code><span class="emphasis"><em>WHATEVER</em></span><code class="computeroutput"><span class="identifier">_NO_LIB</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_</span></code><span class="emphasis"><em>WHATEVER</em></span><code class="computeroutput"><span class="identifier">_NO_LIB</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Tells the config system not to automatically select which library
|
Tells the config system not to automatically select which library
|
||||||
to link against for library "whatever", replace <span class="emphasis"><em>WHATEVER</em></span>
|
to link against for library "whatever", replace <span class="emphasis"><em>WHATEVER</em></span>
|
||||||
in the macro name with the name of the library; for example <code class="computeroutput"><span class="identifier">BOOST_DATE_TIME_NO_LIB</span></code> or <code class="computeroutput"><span class="identifier">BOOST_REGEX_NO_LIB</span></code>. Normally
|
in the macro name with the name of the library; for example <code class="computeroutput"><span class="identifier">BOOST_DATE_TIME_NO_LIB</span></code> or <code class="computeroutput"><span class="identifier">BOOST_REGEX_NO_LIB</span></code>. Normally if
|
||||||
if a compiler supports <code class="computeroutput"><span class="preprocessor">#pragma</span>
|
a compiler supports <code class="computeroutput"><span class="preprocessor">#pragma</span>
|
||||||
<span class="identifier">lib</span></code>, then the correct
|
<span class="identifier">lib</span></code>, then the correct library
|
||||||
library build variant will be automatically selected and linked
|
build variant will be automatically selected and linked against,
|
||||||
against, simply by the act of including one of that library's headers.
|
simply by the act of including one of that library's headers. This
|
||||||
This macro turns that feature off.
|
macro turns that feature off.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_LIB_DIAGNOSTIC</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_LIB_DIAGNOSTIC</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Causes the auto-linking code to output diagnostic messages indicating
|
Causes the auto-linking code to output diagnostic messages indicating
|
||||||
the name of the library that is selected for linking.
|
the name of the library that is selected for linking.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_LIB_TOOLSET</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_LIB_TOOLSET</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Overrides the name of the toolset part of the name of library being
|
Overrides the name of the toolset part of the name of library being
|
||||||
linked to; note if defined this must be defined to a quoted string
|
linked to; note if defined this must be defined to a quoted string
|
||||||
literal, for example "abc".
|
literal, for example "abc".
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -804,119 +808,119 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
File
|
File
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<p>
|
<p>
|
||||||
Description
|
Description
|
||||||
</p>
|
</p>
|
||||||
</th>
|
</th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Prints out a detailed description of your compiler/standard library/platform
|
Prints out a detailed description of your compiler/standard library/platform
|
||||||
setup, plus your current boost configuration. The information provided
|
setup, plus your current boost configuration. The information provided
|
||||||
by this program useful in setting up the boost configuration files.
|
by this program useful in setting up the boost configuration files.
|
||||||
If you report that boost is incorrectly configured for your compiler/library/platform
|
If you report that boost is incorrectly configured for your compiler/library/platform
|
||||||
then please include the output from this program when reporting
|
then please include the output from this program when reporting the
|
||||||
the changes required.
|
changes required.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
A monolithic test program that includes most of the individual
|
A monolithic test program that includes most of the individual test
|
||||||
test cases. This provides a quick check to see if boost is correctly
|
cases. This provides a quick check to see if boost is correctly configured
|
||||||
configured for your compiler/library/platform.
|
for your compiler/library/platform.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">limits_test</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">limits_test</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Tests your standard library's <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span></code>
|
Tests your standard library's <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span></code>
|
||||||
implementation (or its boost provided replacement if <code class="computeroutput"><span class="identifier">BOOST_NO_LIMITS</span></code> is defined).
|
implementation (or its boost provided replacement if <code class="computeroutput"><span class="identifier">BOOST_NO_LIMITS</span></code> is defined). This
|
||||||
This test file fails with most versions of numeric_limits, mainly
|
test file fails with most versions of numeric_limits, mainly due
|
||||||
due to the way that some compilers treat NAN's and infinity.
|
to the way that some compilers treat NAN's and infinity.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">no_</span><span class="special">*</span><span class="identifier">pass</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">no_</span><span class="special">*</span><span class="identifier">pass</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Individual compiler defect test files. Each of these should compile,
|
Individual compiler defect test files. Each of these should compile,
|
||||||
if one does not then the corresponding <code class="computeroutput"><span class="identifier">BOOST_NO_XXX</span></code>
|
if one does not then the corresponding <code class="computeroutput"><span class="identifier">BOOST_NO_XXX</span></code>
|
||||||
macro needs to be defined - see each test file for specific details.
|
macro needs to be defined - see each test file for specific details.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">no_</span><span class="special">*</span><span class="identifier">fail</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">no_</span><span class="special">*</span><span class="identifier">fail</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Individual compiler defect test files. Each of these should not
|
Individual compiler defect test files. Each of these should not compile,
|
||||||
compile, if one does then the corresponding <code class="computeroutput"><span class="identifier">BOOST_NO_XXX</span></code>
|
if one does then the corresponding <code class="computeroutput"><span class="identifier">BOOST_NO_XXX</span></code>
|
||||||
macro is defined when it need not be - see each test file for specific
|
macro is defined when it need not be - see each test file for specific
|
||||||
details.
|
details.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">has_</span><span class="special">*</span><span class="identifier">pass</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">has_</span><span class="special">*</span><span class="identifier">pass</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Individual feature test files. If one of these does not compile
|
Individual feature test files. If one of these does not compile then
|
||||||
then the corresponding <code class="computeroutput"><span class="identifier">BOOST_HAS_XXX</span></code>
|
the corresponding <code class="computeroutput"><span class="identifier">BOOST_HAS_XXX</span></code>
|
||||||
macro is defined when it should not be - see each test file for
|
macro is defined when it should not be - see each test file for specific
|
||||||
specific details.
|
details.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">has_</span><span class="special">*</span><span class="identifier">fail</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
<code class="computeroutput"><span class="identifier">has_</span><span class="special">*</span><span class="identifier">fail</span><span class="special">.</span><span class="identifier">cpp</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
Individual feature test files. If one of these does compile then
|
Individual feature test files. If one of these does compile then
|
||||||
the corresponding <code class="computeroutput"><span class="identifier">BOOST_HAS_XXX</span></code>
|
the corresponding <code class="computeroutput"><span class="identifier">BOOST_HAS_XXX</span></code>
|
||||||
macro can be safely defined - see each test file for specific details.
|
macro can be safely defined - see each test file for specific details.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -934,10 +938,16 @@
|
|||||||
<p>
|
<p>
|
||||||
Alternatively you can run the configure script like this:
|
Alternatively you can run the configure script like this:
|
||||||
</p>
|
</p>
|
||||||
<div class="blockquote"><blockquote class="blockquote"><p>
|
<div class="blockquote"><blockquote class="blockquote">
|
||||||
<code class="computeroutput"><span class="special">./</span><span class="identifier">configure</span>
|
<p>
|
||||||
<span class="special">--</span><span class="identifier">enable</span><span class="special">-</span><span class="identifier">test</span></code>
|
</p>
|
||||||
</p></blockquote></div>
|
<p>
|
||||||
|
<code class="computeroutput"><span class="special">./</span><span class="identifier">configure</span>
|
||||||
|
<span class="special">--</span><span class="identifier">enable</span><span class="special">-</span><span class="identifier">test</span></code>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
</blockquote></div>
|
||||||
<p>
|
<p>
|
||||||
in which case the script will test the current configuration rather than
|
in which case the script will test the current configuration rather than
|
||||||
creating a new one from scratch.
|
creating a new one from scratch.
|
||||||
@@ -950,10 +960,10 @@
|
|||||||
</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: November 23, 2010 at 03:21:20 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: August 06, 2009 at 09:16:56 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>
|
||||||
<div class="spirit-nav"><a accesskey="n" href="boost_config/boost_macro_reference.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div>
|
<div class="spirit-nav"><a accesskey="n" href="boost_config/boost_macro_reference.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+10
-178
@@ -49,10 +49,6 @@ Koenig lookup); see std::3.4.2 \[basic.koenig.lookup\]
|
|||||||
[[`BOOST_NO_AUTO_PTR`][Standard library][
|
[[`BOOST_NO_AUTO_PTR`][Standard library][
|
||||||
If the compiler / library supplies non-standard or broken `std::auto_ptr`.
|
If the compiler / library supplies non-standard or broken `std::auto_ptr`.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_COMPLETE_VALUE_INITIALIZATION`][Compiler][
|
|
||||||
Compiler has not completely implemented value-initialization.
|
|
||||||
See also [@../../../utility/value_init.htm#compiler_issues The Utility\/Value Init docs]
|
|
||||||
]]
|
|
||||||
[[`BOOST_NO_CTYPE_FUNCTIONS`][Platform][
|
[[`BOOST_NO_CTYPE_FUNCTIONS`][Platform][
|
||||||
The Platform does not provide functions for the character-classifying
|
The Platform does not provide functions for the character-classifying
|
||||||
operations `<ctype.h>` and `<cctype>`, only macros.
|
operations `<ctype.h>` and `<cctype>`, only macros.
|
||||||
@@ -144,9 +140,6 @@ The C++ implementation does not provide the `<limits>` header. Never check for
|
|||||||
this symbol in library code; always include `<boost/limits.hpp>`, which
|
this symbol in library code; always include `<boost/limits.hpp>`, which
|
||||||
guarantees to provide `std::numeric_limits`.
|
guarantees to provide `std::numeric_limits`.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][Standard library][
|
|
||||||
Static function `numeric_limits<T>::lowest()` is not available for use.
|
|
||||||
]]
|
|
||||||
[[`BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS`][Standard library][
|
[[`BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS`][Standard library][
|
||||||
Constants such as `numeric_limits<T>::is_signed` are not available for use
|
Constants such as `numeric_limits<T>::is_signed` are not available for use
|
||||||
at compile-time.
|
at compile-time.
|
||||||
@@ -320,7 +313,6 @@ void g() { return f(); }
|
|||||||
|
|
||||||
[#config_features]
|
[#config_features]
|
||||||
|
|
||||||
|
|
||||||
[section Macros that describe optional features]
|
[section Macros that describe optional features]
|
||||||
|
|
||||||
The following macros describe features that are not required by the C++
|
The following macros describe features that are not required by the C++
|
||||||
@@ -336,6 +328,10 @@ The platform supports BeOS style threads.
|
|||||||
[[`BOOST_HAS_CLOCK_GETTIME`][Platform][
|
[[`BOOST_HAS_CLOCK_GETTIME`][Platform][
|
||||||
The platform has the POSIX API `clock_gettime`.
|
The platform has the POSIX API `clock_gettime`.
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_HAS_DECLSPEC`][Compiler][
|
||||||
|
The compiler uses `__declspec(dllexport)` and `__declspec(dllimport)` to
|
||||||
|
export/import symbols from dll's.
|
||||||
|
]]
|
||||||
[[`BOOST_HAS_DIRENT_H`][Platform][
|
[[`BOOST_HAS_DIRENT_H`][Platform][
|
||||||
The platform has the POSIX header `<dirent.h>`.
|
The platform has the POSIX header `<dirent.h>`.
|
||||||
]]
|
]]
|
||||||
@@ -399,11 +395,6 @@ The platform has the POSIX API `sched_yield`.
|
|||||||
[[`BOOST_HAS_SGI_TYPE_TRAITS`][Compiler, Standard library][
|
[[`BOOST_HAS_SGI_TYPE_TRAITS`][Compiler, Standard library][
|
||||||
The compiler has native support for SGI style type traits.
|
The compiler has native support for SGI style type traits.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_HAS_FENV_H`][Platform, Standard library][
|
|
||||||
The platform has a `<fenv.h>`. [@../../../../boost/detail/fenv.hpp
|
|
||||||
`<boost/detail/fenv.hpp>`] should be included instead of `<fenv.h>` for maximum
|
|
||||||
portability.
|
|
||||||
]]
|
|
||||||
[[`BOOST_HAS_STDINT_H`][Platform][
|
[[`BOOST_HAS_STDINT_H`][Platform][
|
||||||
The platform has a `<stdint.h>`
|
The platform has a `<stdint.h>`
|
||||||
]]
|
]]
|
||||||
@@ -554,7 +545,6 @@ that are not yet supported by a particular compiler or library.
|
|||||||
[[`BOOST_NO_0X_HDR_SYSTEM_ERROR`][The standard library does not provide header <system_error>.]]
|
[[`BOOST_NO_0X_HDR_SYSTEM_ERROR`][The standard library does not provide header <system_error>.]]
|
||||||
[[`BOOST_NO_0X_HDR_THREAD`][The standard library does not provide header <thread>.]]
|
[[`BOOST_NO_0X_HDR_THREAD`][The standard library does not provide header <thread>.]]
|
||||||
[[`BOOST_NO_0X_HDR_TUPLE`][The standard library does not provide header <tuple>.]]
|
[[`BOOST_NO_0X_HDR_TUPLE`][The standard library does not provide header <tuple>.]]
|
||||||
[[`BOOST_NO_0X_HDR_TYPEINDEX`][The standard library does not provide header <typeindex>.]]
|
|
||||||
[[`BOOST_NO_0X_HDR_TYPE_TRAITS`][The standard library does not provide header <type_traits>.]]
|
[[`BOOST_NO_0X_HDR_TYPE_TRAITS`][The standard library does not provide header <type_traits>.]]
|
||||||
[[`BOOST_NO_0X_HDR_UNORDERED_MAP`][The standard library does not provide header <unordered_map>.]]
|
[[`BOOST_NO_0X_HDR_UNORDERED_MAP`][The standard library does not provide header <unordered_map>.]]
|
||||||
[[`BOOST_NO_0X_HDR_UNORDERED_SET`][The standard library does not provide header <unordered_set>.]]
|
[[`BOOST_NO_0X_HDR_UNORDERED_SET`][The standard library does not provide header <unordered_set>.]]
|
||||||
@@ -587,11 +577,11 @@ defaulted (`= default`) functions.
|
|||||||
[[`BOOST_NO_DELETED_FUNCTIONS`][The compiler does not support
|
[[`BOOST_NO_DELETED_FUNCTIONS`][The compiler does not support
|
||||||
deleted (`= delete`) functions.
|
deleted (`= delete`) functions.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support
|
[[`BOOST_NO_EXPLICIT_CONVERSION_OPERATIONS`][The compiler does not support
|
||||||
explicit conversion operators (`explicit operator T()`).
|
explicit conversion operators (`explicit operator T()`).
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_EXTERN_TEMPLATE`][The compiler does not support
|
[[`BOOST_NO_EXTERN_TEMPLATE`][The compiler does not support
|
||||||
explicit instantiation forward declarations for templates (`extern template ...`).
|
explicit instantiation declarations for templates (`explicit template`).
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS`][The compiler does not support
|
[[`BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS`][The compiler does not support
|
||||||
default template arguments for function templates.
|
default template arguments for function templates.
|
||||||
@@ -628,9 +618,6 @@ Unicode (`u8`, `u`, `U`) literals.
|
|||||||
[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support
|
[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support
|
||||||
variadic templates.
|
variadic templates.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_VARIADIC_MACROS`][The compiler does not support
|
|
||||||
variadic macros.
|
|
||||||
]]
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
@@ -646,34 +633,6 @@ workarounds for compiler/standard library defects.
|
|||||||
[table
|
[table
|
||||||
[[Macro ][Description ]]
|
[[Macro ][Description ]]
|
||||||
|
|
||||||
[[`BOOST_WORKAROUND`][
|
|
||||||
This macro is used where a compiler specific workaround is required that is not otherwise
|
|
||||||
described by one of the other Boost.Config macros. To use the macro you must first
|
|
||||||
``
|
|
||||||
#include <boost/detail/workaround.hpp>
|
|
||||||
``
|
|
||||||
usage is then:
|
|
||||||
``
|
|
||||||
#if BOOST_WORKAROUND(MACRONAME, CONDITION)
|
|
||||||
// workaround code goes here...
|
|
||||||
#else
|
|
||||||
// Standard conforming code goes here...
|
|
||||||
#endif
|
|
||||||
``
|
|
||||||
where `MACRONAME` is a macro that usually describes the version number to be tested against, and `CONDITION`
|
|
||||||
is a comparison operator followed by a value. For example `BOOST_WORKAROUND(BOOST_INTEL, <= 1010)` would
|
|
||||||
evaluate to `1` for Intel C++ 10.1 and earlier.
|
|
||||||
|
|
||||||
The macro can also be used with `BOOST_TESTED_AT` if all
|
|
||||||
current compiler versions exhibit the issue, but the issue is expected to be fixed at some later point.
|
|
||||||
|
|
||||||
For example
|
|
||||||
`BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590))` would normally evaluate to `1` for all values
|
|
||||||
of `__BORLANDC__` /unless/ the macro `BOOST_DETECT_OUTDATED_WORKAROUNDS` is defined, in which case evaluates to
|
|
||||||
`(__BORLANDC__ <= 0x590)`.
|
|
||||||
|
|
||||||
[*Note]: the ultimate source of documentation for this macro is in [@../../../../boost/detail/workaround.hpp boost/detail/workaround.hpp].
|
|
||||||
]]
|
|
||||||
[[`BOOST_DEDUCED_TYPENAME`][
|
[[`BOOST_DEDUCED_TYPENAME`][
|
||||||
Some compilers don't support the use of typename for dependent types in deduced
|
Some compilers don't support the use of typename for dependent types in deduced
|
||||||
contexts. This macro expands to nothing on those compilers, and typename
|
contexts. This macro expands to nothing on those compilers, and typename
|
||||||
@@ -803,38 +762,6 @@ the arguments is itself a macro (see 16.3.1 in C++ standard). This is normally
|
|||||||
used to create a mangled name in combination with a predefined macro such a
|
used to create a mangled name in combination with a predefined macro such a
|
||||||
\_\_LINE__.
|
\_\_LINE__.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_CONSTEXPR`][
|
|
||||||
Some compilers don't support the use of `constexpr`. This macro expands to nothing on those compilers, and `constexpr`
|
|
||||||
elsewhere. For example, when defining a constexpr function or constructor replace:
|
|
||||||
``
|
|
||||||
constexpr tuple();
|
|
||||||
``
|
|
||||||
with:
|
|
||||||
``
|
|
||||||
BOOST_CONSTEXPR tuple();
|
|
||||||
``
|
|
||||||
]]
|
|
||||||
[[`BOOST_CONSTEXPR_OR_CONST`][
|
|
||||||
Some compilers don't support the use of `constexpr`. This macro expands to `const` on those compilers, and `constexpr`
|
|
||||||
elsewhere. For example, when defining const expr variables replace:
|
|
||||||
``
|
|
||||||
static constexpr UIntType xor_mask = a;
|
|
||||||
``
|
|
||||||
with:
|
|
||||||
``
|
|
||||||
static BOOST_CONSTEXPR_OR_CONST UIntType xor_mask = a;
|
|
||||||
``
|
|
||||||
]]
|
|
||||||
[[`BOOST_STATIC_CONSTEXPR`][
|
|
||||||
This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`For example, when defining const expr variables replace:
|
|
||||||
``
|
|
||||||
static constexpr UIntType xor_mask = a;
|
|
||||||
``
|
|
||||||
with:
|
|
||||||
``
|
|
||||||
BOOST_STATIC_CONSTEXPR UIntType xor_mask = a;
|
|
||||||
``
|
|
||||||
]]
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
@@ -851,7 +778,7 @@ the only boost macros that should be tested in user code.
|
|||||||
[[Macro ][Header ][Description ]]
|
[[Macro ][Header ][Description ]]
|
||||||
|
|
||||||
[[`BOOST_VERSION`][`<boost/version.hpp>`][
|
[[`BOOST_VERSION`][`<boost/version.hpp>`][
|
||||||
Describes the boost version number in XYYYZZ format such that:
|
Describes the boost version number in XXYYZZ format such that:
|
||||||
`(BOOST_VERSION % 100)` is the sub-minor version, `((BOOST_VERSION / 100) % 1000)`
|
`(BOOST_VERSION % 100)` is the sub-minor version, `((BOOST_VERSION / 100) % 1000)`
|
||||||
is the minor version, and `(BOOST_VERSION / 100000)` is the major version.
|
is the minor version, and `(BOOST_VERSION / 100000)` is the major version.
|
||||||
]]
|
]]
|
||||||
@@ -876,9 +803,6 @@ PPPPP is the compiler build number.
|
|||||||
Defined if the compiler is an Intel compiler, takes the same value as the
|
Defined if the compiler is an Intel compiler, takes the same value as the
|
||||||
compiler version macro.
|
compiler version macro.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_CLANG`][`<boost/config.hpp>`][
|
|
||||||
Defined to 1 if the compiler is the Clang compiler.
|
|
||||||
]]
|
|
||||||
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
||||||
Defined if the Windows platfrom API is available.
|
Defined if the Windows platfrom API is available.
|
||||||
]]
|
]]
|
||||||
@@ -909,98 +833,9 @@ the configuration.
|
|||||||
[section Macros for libraries with separate source code]
|
[section Macros for libraries with separate source code]
|
||||||
|
|
||||||
The following macros and helper headers are of use to authors whose libraries
|
The following macros and helper headers are of use to authors whose libraries
|
||||||
include separate source code, and are intended to address several issues:
|
include separate source code, and are intended to address two issues: fixing
|
||||||
|
the ABI of the compiled library, and selecting which compiled library to link
|
||||||
* Controlling shared library symbol visibility
|
against based upon the compilers settings.
|
||||||
* Fixing the ABI of the compiled library
|
|
||||||
* Selecting which compiled library to link against based upon the compilers settings
|
|
||||||
|
|
||||||
See [@http://svn.boost.org/trac/boost/wiki/Guidelines/Separate Guidelines for Authors of Boost Libraries Containing Separate Source]
|
|
||||||
|
|
||||||
[section Macros controlling shared library symbol visibility]
|
|
||||||
|
|
||||||
Some compilers support C++ extensions that control which symbols
|
|
||||||
will be exported from shared libraries such as dynamic shared objects (DSO's) on Unix-like
|
|
||||||
systems or dynamic-link libraries (DLL's) on Windows.
|
|
||||||
|
|
||||||
The Microsoft VC++ compiler has long supplied
|
|
||||||
`__declspec(dllexport)` and `__declspec(dllimport)` extensions for this purpose,
|
|
||||||
as do virtually all other compilers targeting the Windows platform.
|
|
||||||
|
|
||||||
Modern versions of the GNU GCC compiler provide the `__attribute__((visibility("default")))`
|
|
||||||
extension to indicate that a symbol should be exported. All other symbols may be hidden by using the
|
|
||||||
`-fvisibility-hidden` or `-fvisibility-ms-compat` compiler switches.
|
|
||||||
|
|
||||||
Boost supplies several macros to make it easier to manage symbol visibility in a way that
|
|
||||||
is portable between compilers and operating systems.
|
|
||||||
|
|
||||||
[table
|
|
||||||
[[Macro ][Description ]]
|
|
||||||
[[`BOOST_SYMBOL_EXPORT`][
|
|
||||||
Defines the syntax of a C++ language extension that indicates a symbol is to be exported from a shared library.
|
|
||||||
If the compiler has no such extension, the macro is defined with no replacement text.
|
|
||||||
]]
|
|
||||||
[[`BOOST_SYMBOL_IMPORT`][
|
|
||||||
Defines the syntax of a C++ language extension that indicates a symbol is to be imported from a shared library.
|
|
||||||
If the compiler has no such extension, the macro is defined with no replacement text.
|
|
||||||
]]
|
|
||||||
[[`BOOST_SYMBOL_VISIBLE`][
|
|
||||||
Defines the syntax of a C++ language extension that indicates a symbol is to be globally visible.
|
|
||||||
If the compiler has no such extension, the macro is defined with no replacement text.
|
|
||||||
Needed for classes that are not otherwise exported, but are used by RTTI. Examples include
|
|
||||||
class for objects that will be thrown as exceptions or used in dynamic_casts,
|
|
||||||
across shared library boundaries. For example, a header-only exception class might look like this:
|
|
||||||
``
|
|
||||||
class BOOST_SYMBOL_VISIBLE my_exception : public std::runtime_error { ... };
|
|
||||||
``
|
|
||||||
Without BOOST_SYMBOL_VISIBLE, it would be impossible to catch my_exception thrown from a shared library
|
|
||||||
compiled by GCC with the -fvisibility=hidden option.
|
|
||||||
]]
|
|
||||||
[[`BOOST_HAS_DECLSPEC`][
|
|
||||||
The compiler has C++ extensions `__declspec(dllexport)` and `__declspec(dllimport)` to control
|
|
||||||
export/import of symbols from shared libraries.
|
|
||||||
['Deprecated. This macro is no longer necessary since BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT
|
|
||||||
are now supplied. It is provided to support legacy code.]
|
|
||||||
]]
|
|
||||||
]
|
|
||||||
|
|
||||||
Typical usage:
|
|
||||||
|
|
||||||
[*boost/foo/config.hpp]
|
|
||||||
|
|
||||||
...
|
|
||||||
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FOO_DYN_LINK)
|
|
||||||
# if defined(BOOST_FOO_SOURCE)
|
|
||||||
# define BOOST_FOO_DECL BOOST_SYMBOL_EXPORT
|
|
||||||
# else
|
|
||||||
# define BOOST_FOO_DECL BOOST_SYMBOL_IMPORT
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# define BOOST_FOO_DECL
|
|
||||||
#endif
|
|
||||||
...
|
|
||||||
|
|
||||||
[*boost/foo/foo.hpp]
|
|
||||||
|
|
||||||
#include <boost/foo/config.hpp>
|
|
||||||
...
|
|
||||||
class BOOST_FOO_DECL bar { ... };
|
|
||||||
...
|
|
||||||
void BOOST_FOO_DECL f();
|
|
||||||
...
|
|
||||||
|
|
||||||
[*boost/libs/foo/src/foo.cpp]
|
|
||||||
|
|
||||||
#define BOOST_FOO_SOURCE
|
|
||||||
#include <boost/foo/foo.hpp>
|
|
||||||
...
|
|
||||||
void BOOST_FOO_DECL f()
|
|
||||||
{
|
|
||||||
...
|
|
||||||
}
|
|
||||||
...
|
|
||||||
|
|
||||||
[endsect]
|
|
||||||
|
|
||||||
[section ABI Fixing]
|
[section ABI Fixing]
|
||||||
|
|
||||||
@@ -1122,6 +957,3 @@ match that used to create the libraries via bjam 's install rules.
|
|||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
// 8026 - functions taking class by value arguments are not expanded inline
|
// 8026 - functions taking class by value arguments are not expanded inline
|
||||||
|
|
||||||
#pragma nopushoptwarn
|
#pragma nopushoptwarn
|
||||||
# pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026
|
# pragma option push -Vx -Ve -a8 -b -pc -Vmv -VC- -Vl- -w-8027 -w-8026
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ BOOST_LIB_DIAGNOSTIC: Optional: when set the header will print out the name
|
|||||||
of the library selected (useful for debugging).
|
of the library selected (useful for debugging).
|
||||||
BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
|
BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
|
||||||
rather than a mangled-name version.
|
rather than a mangled-name version.
|
||||||
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
|
|
||||||
the compiler name and version, or the Boost version. Just the build options.
|
|
||||||
|
|
||||||
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!
|
||||||
@@ -63,8 +60,6 @@ BOOST_LIB_RT_OPT: A suffix that indicates the runtime library used,
|
|||||||
a hiphen:
|
a hiphen:
|
||||||
|
|
||||||
s static runtime (dynamic if not present).
|
s static runtime (dynamic if not present).
|
||||||
g debug/diagnostic runtime (release if not present).
|
|
||||||
y Python debug/diagnostic runtime (release if not present).
|
|
||||||
d debug build (release if not present).
|
d debug build (release if not present).
|
||||||
g debug/diagnostic runtime (release if not present).
|
g debug/diagnostic runtime (release if not present).
|
||||||
p STLPort Build.
|
p STLPort Build.
|
||||||
@@ -188,16 +183,8 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
|
# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
|
||||||
|
|
||||||
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
|
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-gydp"
|
|
||||||
# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
|
||||||
# define BOOST_LIB_RT_OPT "-gdp"
|
# define BOOST_LIB_RT_OPT "-gdp"
|
||||||
# elif defined(_DEBUG)\
|
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-gydp"
|
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
|
||||||
# error "Build options aren't compatible with pre-built libraries"
|
|
||||||
# elif defined(_DEBUG)
|
# elif defined(_DEBUG)
|
||||||
# define BOOST_LIB_RT_OPT "-gdp"
|
# define BOOST_LIB_RT_OPT "-gdp"
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
||||||
@@ -208,16 +195,8 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
||||||
|
|
||||||
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
|
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-gydpn"
|
|
||||||
# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
|
||||||
# define BOOST_LIB_RT_OPT "-gdpn"
|
# define BOOST_LIB_RT_OPT "-gdpn"
|
||||||
# elif defined(_DEBUG)\
|
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-gydpn"
|
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
|
||||||
# error "Build options aren't compatible with pre-built libraries"
|
|
||||||
# elif defined(_DEBUG)
|
# elif defined(_DEBUG)
|
||||||
# define BOOST_LIB_RT_OPT "-gdpn"
|
# define BOOST_LIB_RT_OPT "-gdpn"
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
||||||
@@ -228,9 +207,7 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# else
|
# else
|
||||||
|
|
||||||
# if defined(_DEBUG) && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
# if defined(_DEBUG)
|
||||||
# define BOOST_LIB_RT_OPT "-gyd"
|
|
||||||
# elif defined(_DEBUG)
|
|
||||||
# define BOOST_LIB_RT_OPT "-gd"
|
# define BOOST_LIB_RT_OPT "-gd"
|
||||||
# else
|
# else
|
||||||
# define BOOST_LIB_RT_OPT
|
# define BOOST_LIB_RT_OPT
|
||||||
@@ -242,16 +219,8 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
|
# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
|
||||||
|
|
||||||
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
|
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgydp"
|
|
||||||
# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgdp"
|
# define BOOST_LIB_RT_OPT "-sgdp"
|
||||||
# elif defined(_DEBUG)\
|
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgydp"
|
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
|
||||||
# error "Build options aren't compatible with pre-built libraries"
|
|
||||||
# elif defined(_DEBUG)
|
# elif defined(_DEBUG)
|
||||||
# define BOOST_LIB_RT_OPT "-sgdp"
|
# define BOOST_LIB_RT_OPT "-sgdp"
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
||||||
@@ -262,16 +231,8 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
||||||
|
|
||||||
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
|
# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgydpn"
|
|
||||||
# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgdpn"
|
# define BOOST_LIB_RT_OPT "-sgdpn"
|
||||||
# elif defined(_DEBUG)\
|
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgydpn"
|
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
|
||||||
# error "Build options aren't compatible with pre-built libraries"
|
|
||||||
# elif defined(_DEBUG)
|
# elif defined(_DEBUG)
|
||||||
# define BOOST_LIB_RT_OPT "-sgdpn"
|
# define BOOST_LIB_RT_OPT "-sgdpn"
|
||||||
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
# pragma message("warning: STLPort debug versions are built with /D_STLP_DEBUG=1")
|
||||||
@@ -282,10 +243,7 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# else
|
# else
|
||||||
|
|
||||||
# if defined(_DEBUG)\
|
# if defined(_DEBUG)
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgyd"
|
|
||||||
# elif defined(_DEBUG)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sgd"
|
# define BOOST_LIB_RT_OPT "-sgd"
|
||||||
# else
|
# else
|
||||||
# define BOOST_LIB_RT_OPT "-s"
|
# define BOOST_LIB_RT_OPT "-s"
|
||||||
@@ -312,26 +270,16 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
|
|
||||||
# ifdef _RTLDLL
|
# ifdef _RTLDLL
|
||||||
|
|
||||||
# if defined(BOOST_BORLAND_DEBUG)\
|
# ifdef BOOST_BORLAND_DEBUG
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-yd"
|
|
||||||
# elif defined(BOOST_BORLAND_DEBUG)
|
|
||||||
# define BOOST_LIB_RT_OPT "-d"
|
# define BOOST_LIB_RT_OPT "-d"
|
||||||
# elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT -y
|
|
||||||
# else
|
# else
|
||||||
# define BOOST_LIB_RT_OPT
|
# define BOOST_LIB_RT_OPT
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# else
|
# else
|
||||||
|
|
||||||
# if defined(BOOST_BORLAND_DEBUG)\
|
# ifdef BOOST_BORLAND_DEBUG
|
||||||
&& defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-syd"
|
|
||||||
# elif defined(BOOST_BORLAND_DEBUG)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sd"
|
# define BOOST_LIB_RT_OPT "-sd"
|
||||||
# elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
|
|
||||||
# define BOOST_LIB_RT_OPT "-sy"
|
|
||||||
# else
|
# else
|
||||||
# define BOOST_LIB_RT_OPT "-s"
|
# define BOOST_LIB_RT_OPT "-s"
|
||||||
# endif
|
# endif
|
||||||
@@ -361,21 +309,16 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
&& defined(BOOST_LIB_RT_OPT) \
|
&& defined(BOOST_LIB_RT_OPT) \
|
||||||
&& defined(BOOST_LIB_VERSION)
|
&& defined(BOOST_LIB_VERSION)
|
||||||
|
|
||||||
#ifdef BOOST_AUTO_LINK_TAGGED
|
#ifndef BOOST_AUTO_LINK_NOMANGLE
|
||||||
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib")
|
|
||||||
# ifdef BOOST_LIB_DIAGNOSTIC
|
|
||||||
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib")
|
|
||||||
# endif
|
|
||||||
#elif defined(BOOST_AUTO_LINK_NOMANGLE)
|
|
||||||
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
|
||||||
# ifdef BOOST_LIB_DIAGNOSTIC
|
|
||||||
# pragma message ("Linking to lib file: " BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib")
|
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib")
|
||||||
# ifdef BOOST_LIB_DIAGNOSTIC
|
# ifdef BOOST_LIB_DIAGNOSTIC
|
||||||
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib")
|
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib")
|
||||||
# endif
|
# endif
|
||||||
|
#else
|
||||||
|
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
||||||
|
# ifdef BOOST_LIB_DIAGNOSTIC
|
||||||
|
# pragma message ("Linking to lib file: " BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@@ -414,4 +357,17 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|
|||||||
#if defined(BOOST_DYN_LINK)
|
#if defined(BOOST_DYN_LINK)
|
||||||
# undef BOOST_DYN_LINK
|
# undef BOOST_DYN_LINK
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(BOOST_AUTO_LINK_NOMANGLE)
|
||||||
|
# undef BOOST_AUTO_LINK_NOMANGLE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,6 @@
|
|||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
// we don't support Borland prior to version 5.4:
|
// we don't support Borland prior to version 5.4:
|
||||||
|
|
||||||
#define BOOST_BORLAND __BORLANDC__
|
|
||||||
|
|
||||||
#if __BORLANDC__ < 0x540
|
#if __BORLANDC__ < 0x540
|
||||||
# error "Compiler not supported or configured - please reconfigure"
|
# error "Compiler not supported or configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
@@ -49,8 +46,6 @@
|
|||||||
// Borland C++Builder 5, command-line compiler 5.5:
|
// Borland C++Builder 5, command-line compiler 5.5:
|
||||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||||
# endif
|
# endif
|
||||||
// Variadic macros do not exist for C++ Builder versions 5 and below
|
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// Version 5.51 and below:
|
// Version 5.51 and below:
|
||||||
@@ -71,6 +66,7 @@
|
|||||||
|
|
||||||
// Borland C++ Builder 6 and below:
|
// Borland C++ Builder 6 and below:
|
||||||
#if (__BORLANDC__ <= 0x564)
|
#if (__BORLANDC__ <= 0x564)
|
||||||
|
# define BOOST_NO_INTEGRAL_INT64_T
|
||||||
|
|
||||||
# ifdef NDEBUG
|
# ifdef NDEBUG
|
||||||
// fix broken <cstring> so that Boost.test works:
|
// fix broken <cstring> so that Boost.test works:
|
||||||
@@ -125,7 +121,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Borland C++ Builder 2008 and below:
|
// Borland C++ Builder 2008 and below:
|
||||||
# define BOOST_NO_INTEGRAL_INT64_T
|
|
||||||
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
@@ -223,7 +218,7 @@
|
|||||||
//
|
//
|
||||||
// check for exception handling support:
|
// check for exception handling support:
|
||||||
//
|
//
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS)
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
@@ -235,9 +230,8 @@
|
|||||||
//
|
//
|
||||||
// all versions support __declspec:
|
// all versions support __declspec:
|
||||||
//
|
//
|
||||||
#if defined(__STRICT_ANSI__)
|
#ifndef __STRICT_ANSI__
|
||||||
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
|
# define BOOST_HAS_DECLSPEC
|
||||||
# define BOOST_SYMBOL_EXPORT
|
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// ABI fixing headers:
|
// ABI fixing headers:
|
||||||
@@ -267,13 +261,6 @@
|
|||||||
# define BOOST_NO_VOID_RETURNS
|
# define BOOST_NO_VOID_RETURNS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Borland did not implement value-initialization completely, as I reported
|
|
||||||
// in 2007, Borland Report 51854, "Value-initialization: POD struct should be
|
|
||||||
// zero-initialized", http://qc.embarcadero.com/wc/qcmain.aspx?d=51854
|
|
||||||
// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
|
|
||||||
// (Niels Dekker, LKEB, April 2010)
|
|
||||||
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
|
|
||||||
#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__)
|
#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
// (C) Copyright Douglas Gregor 2010
|
|
||||||
//
|
|
||||||
// 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 for most recent version.
|
|
||||||
|
|
||||||
// Clang compiler setup.
|
|
||||||
|
|
||||||
#if __has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
|
|
||||||
#else
|
|
||||||
# define BOOST_NO_EXCEPTIONS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_feature(cxx_rtti)
|
|
||||||
#else
|
|
||||||
# define BOOST_NO_RTTI
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__int64)
|
|
||||||
# define BOOST_HAS_MS_INT64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BOOST_HAS_NRVO
|
|
||||||
|
|
||||||
// NOTE: Clang's C++0x support is not worth detecting. However, it
|
|
||||||
// supports both extern templates and "long long" even in C++98/03
|
|
||||||
// mode.
|
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
||||||
#define BOOST_NO_CHAR16_T
|
|
||||||
#define BOOST_NO_CHAR32_T
|
|
||||||
#define BOOST_NO_CONCEPTS
|
|
||||||
#define BOOST_NO_CONSTEXPR
|
|
||||||
#define BOOST_NO_DECLTYPE
|
|
||||||
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
|
||||||
#define BOOST_NO_DELETED_FUNCTIONS
|
|
||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
|
||||||
#define BOOST_NO_LAMBDAS
|
|
||||||
#define BOOST_NO_NULLPTR
|
|
||||||
#define BOOST_NO_RAW_LITERALS
|
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
|
||||||
#define BOOST_NO_STATIC_ASSERT
|
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
// HACK: Clang does support extern templates, but Boost's test for
|
|
||||||
// them is wrong.
|
|
||||||
#define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
|
|
||||||
#ifndef BOOST_COMPILER
|
|
||||||
# define BOOST_COMPILER "Clang version " __clang_version__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Macro used to identify the Clang compiler.
|
|
||||||
#define BOOST_CLANG 1
|
|
||||||
|
|
||||||
@@ -19,8 +19,8 @@
|
|||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
// last known and checked version is 0x621
|
// last known and checked version is 0x610
|
||||||
#if (__CODEGEARC__ > 0x621)
|
#if (__CODEGEARC__ > 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 "Unknown compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
@@ -30,36 +30,23 @@
|
|||||||
|
|
||||||
// CodeGear C++ Builder 2009
|
// CodeGear C++ Builder 2009
|
||||||
#if (__CODEGEARC__ <= 0x613)
|
#if (__CODEGEARC__ <= 0x613)
|
||||||
# define BOOST_NO_INTEGRAL_INT64_T
|
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||||
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||||
|
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
||||||
|
# define BOOST_NO_USING_TEMPLATE
|
||||||
// we shouldn't really need this - but too many things choke
|
// we shouldn't really need this - but too many things choke
|
||||||
// without it, this needs more investigation:
|
// without it, this needs more investigation:
|
||||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
# define BOOST_SP_NO_SP_CONVERTIBLE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// CodeGear C++ Builder 2010
|
|
||||||
#if (__CODEGEARC__ <= 0x621)
|
|
||||||
# define BOOST_NO_TYPENAME_WITH_CTOR // Cannot use typename keyword when making temporaries of a dependant type
|
# define BOOST_NO_TYPENAME_WITH_CTOR // Cannot use typename keyword when making temporaries of a dependant type
|
||||||
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
|
||||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
|
||||||
# define BOOST_NO_NESTED_FRIENDSHIP // TC1 gives nested classes access rights as any other member
|
# define BOOST_NO_NESTED_FRIENDSHIP // TC1 gives nested classes access rights as any other member
|
||||||
# define BOOST_NO_USING_TEMPLATE
|
# define BOOST_SP_NO_SP_CONVERTIBLE
|
||||||
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
|
||||||
// Temporary hack, until specific MPL preprocessed headers are generated
|
// Temporary hack, until specific MPL preprocessed headers are generated
|
||||||
# define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
|
# define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
|
||||||
|
|
||||||
// CodeGear has not yet completely implemented value-initialization, for
|
|
||||||
// example for array types, as I reported in 2010: Embarcadero Report 83751,
|
|
||||||
// "Value-initialization: arrays should have each element value-initialized",
|
|
||||||
// http://qc.embarcadero.com/wc/qcmain.aspx?d=83751
|
|
||||||
// Last checked version: Embarcadero C++ 6.21
|
|
||||||
// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
|
|
||||||
// (Niels Dekker, LKEB, April 2010)
|
|
||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
|
|
||||||
# ifdef NDEBUG
|
# ifdef NDEBUG
|
||||||
// fix broken <cstring> so that Boost.test works:
|
// fix broken <cstring> so that Boost.test works:
|
||||||
# include <cstring>
|
# include <cstring>
|
||||||
@@ -72,14 +59,10 @@
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// C++0x macros:
|
// C++0x macros:
|
||||||
//
|
//
|
||||||
#if (__CODEGEARC__ <= 0x620)
|
|
||||||
#define BOOST_NO_STATIC_ASSERT
|
|
||||||
#else
|
|
||||||
#define BOOST_HAS_STATIC_ASSERT
|
|
||||||
#endif
|
|
||||||
#define BOOST_HAS_CHAR16_T
|
#define BOOST_HAS_CHAR16_T
|
||||||
#define BOOST_HAS_CHAR32_T
|
#define BOOST_HAS_CHAR32_T
|
||||||
#define BOOST_HAS_LONG_LONG
|
#define BOOST_HAS_LONG_LONG
|
||||||
@@ -105,6 +88,7 @@
|
|||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
|
#define BOOST_NO_STATIC_ASSERT
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
@@ -135,7 +119,7 @@
|
|||||||
//
|
//
|
||||||
// check for exception handling support:
|
// check for exception handling support:
|
||||||
//
|
//
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS)
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
@@ -147,9 +131,8 @@
|
|||||||
//
|
//
|
||||||
// all versions support __declspec:
|
// all versions support __declspec:
|
||||||
//
|
//
|
||||||
#if defined(__STRICT_ANSI__)
|
#if !defined(__STRICT_ANSI__)
|
||||||
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
|
# define BOOST_HAS_DECLSPEC
|
||||||
# define BOOST_SYMBOL_EXPORT
|
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// ABI fixing headers:
|
// ABI fixing headers:
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
#include "boost/config/compiler/common_edg.hpp"
|
#include "boost/config/compiler/common_edg.hpp"
|
||||||
|
|
||||||
#define BOOST_COMO __COMO_VERSION__
|
|
||||||
|
|
||||||
#if (__COMO_VERSION__ <= 4245)
|
#if (__COMO_VERSION__ <= 4245)
|
||||||
|
|
||||||
# if defined(_MSC_VER) && _MSC_VER <= 1300
|
# if defined(_MSC_VER) && _MSC_VER <= 1300
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// See also kai.hpp which checks a Kai-specific symbol for EH
|
// See also kai.hpp which checks a Kai-specific symbol for EH
|
||||||
# if !defined(__KCC) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
# if !defined(__KCC) && !defined(__EXCEPTIONS)
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
@@ -59,16 +59,10 @@
|
|||||||
//
|
//
|
||||||
// See above for BOOST_NO_LONG_LONG
|
// See above for BOOST_NO_LONG_LONG
|
||||||
//
|
//
|
||||||
#if (__EDG_VERSION__ < 310)
|
#if (__EDG_VERSION__ <= 310) || !defined(BOOST_STRICT_CONFIG)
|
||||||
# define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
#endif
|
|
||||||
#if (__EDG_VERSION__ <= 310)
|
|
||||||
// No support for initializer lists
|
// No support for initializer lists
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
#endif
|
#endif
|
||||||
#if (__EDG_VERSION__ < 400)
|
|
||||||
# define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
#define BOOST_NO_AUTO_DECLARATIONS
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
||||||
@@ -80,6 +74,7 @@
|
|||||||
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
||||||
#define BOOST_NO_DELETED_FUNCTIONS
|
#define BOOST_NO_DELETED_FUNCTIONS
|
||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||||
|
#define BOOST_NO_EXTERN_TEMPLATE
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
@@ -97,3 +92,6 @@
|
|||||||
// However, some libraries have insufficient "long long" support
|
// However, some libraries have insufficient "long long" support
|
||||||
// #define BOOST_HAS_LONG_LONG
|
// #define BOOST_HAS_LONG_LONG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// check for exception handling support:
|
// check for exception handling support:
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
|
#ifndef _CPPUNWIND
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -80,9 +80,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#if (__DMC__ < 0x812)
|
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __DMC__ < 0x800
|
#if __DMC__ < 0x800
|
||||||
#error "Compiler not supported or configured - please reconfigure"
|
#error "Compiler not supported or configured - please reconfigure"
|
||||||
|
|||||||
@@ -42,9 +42,6 @@
|
|||||||
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
||||||
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
# define BOOST_NO_IS_ABSTRACT
|
# define BOOST_NO_IS_ABSTRACT
|
||||||
# define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
// Variadic macros do not exist for gcc versions before 3.0
|
|
||||||
# define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#elif __GNUC__ == 3
|
#elif __GNUC__ == 3
|
||||||
# if defined (__PATHSCALE__)
|
# if defined (__PATHSCALE__)
|
||||||
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
@@ -61,7 +58,6 @@
|
|||||||
# if __GNUC_MINOR__ < 4
|
# if __GNUC_MINOR__ < 4
|
||||||
# define BOOST_NO_IS_ABSTRACT
|
# define BOOST_NO_IS_ABSTRACT
|
||||||
# endif
|
# endif
|
||||||
# define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
#endif
|
#endif
|
||||||
#if __GNUC__ < 4
|
#if __GNUC__ < 4
|
||||||
//
|
//
|
||||||
@@ -73,22 +69,11 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
|
#ifndef __EXCEPTIONS
|
||||||
// Previous versions of GCC did not completely implement value-initialization:
|
|
||||||
// GCC Bug 30111, "Value-initialization of POD base class doesn't initialize
|
|
||||||
// members", reported by Jonathan Wakely in 2006,
|
|
||||||
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111 (fixed for GCC 4.4)
|
|
||||||
// GCC Bug 33916, "Default constructor fails to initialize array members",
|
|
||||||
// reported by Michael Elizabeth Chastain in 2007,
|
|
||||||
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916 (fixed for GCC 4.2.4)
|
|
||||||
// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
|
|
||||||
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Threading support: Turn this on unconditionally here (except for
|
// Threading support: Turn this on unconditionally here (except for
|
||||||
// those platforms where we can know for sure). It will get turned off again
|
// those platforms where we can know for sure). It will get turned off again
|
||||||
@@ -109,45 +94,25 @@
|
|||||||
#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
|
#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
|
||||||
#define BOOST_HAS_NRVO
|
#define BOOST_HAS_NRVO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
|
||||||
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
|
|
||||||
//
|
|
||||||
#if __GNUC__ >= 4
|
|
||||||
# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__CYGWIN__)
|
|
||||||
// All Win32 development environments, including 64-bit Windows and MinGW, define
|
|
||||||
// _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
|
|
||||||
// so does not define _WIN32 or its variants.
|
|
||||||
# define BOOST_HAS_DECLSPEC
|
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((dllexport))
|
|
||||||
# define BOOST_SYMBOL_IMPORT __attribute__((dllimport))
|
|
||||||
# else
|
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
|
|
||||||
# define BOOST_SYMBOL_IMPORT
|
|
||||||
# endif
|
|
||||||
# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
|
|
||||||
#else
|
|
||||||
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
|
|
||||||
# define BOOST_SYMBOL_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// RTTI and typeinfo detection is possible post gcc-4.3:
|
// RTTI and typeinfo detection is possible post gcc-4.3:
|
||||||
//
|
//
|
||||||
#if __GNUC__ * 100 + __GNUC_MINOR__ >= 403
|
#if __GNUC__ * 100 + __GNUC_MINOR__ >= 403
|
||||||
# ifndef __GXX_RTTI
|
# ifndef __GXX_RTTI
|
||||||
# ifndef BOOST_NO_TYPEID
|
# define BOOST_NO_TYPEID
|
||||||
# define BOOST_NO_TYPEID
|
# define BOOST_NO_RTTI
|
||||||
# endif
|
|
||||||
# ifndef BOOST_NO_RTTI
|
|
||||||
# define BOOST_NO_RTTI
|
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C++0x features not implemented in any GCC version
|
// C++0x features not implemented in any GCC version
|
||||||
//
|
//
|
||||||
|
#define BOOST_NO_CONSTEXPR
|
||||||
|
#define BOOST_NO_EXTERN_TEMPLATE
|
||||||
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NULLPTR
|
||||||
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
|
|
||||||
// C++0x features in 4.3.n and later
|
// C++0x features in 4.3.n and later
|
||||||
//
|
//
|
||||||
@@ -203,16 +168,6 @@
|
|||||||
//
|
//
|
||||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||||
# define BOOST_NO_LAMBDAS
|
|
||||||
# define BOOST_NO_RAW_LITERALS
|
|
||||||
# define BOOST_NO_UNICODE_LITERALS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// C++0x features in 4.5.n and later
|
|
||||||
//
|
|
||||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
||||||
#define BOOST_NO_CONSTEXPR
|
|
||||||
#define BOOST_NO_NULLPTR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ConceptGCC compiler:
|
// ConceptGCC compiler:
|
||||||
@@ -235,8 +190,8 @@
|
|||||||
# error "Compiler not configured - please reconfigure"
|
# error "Compiler not configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// last known and checked version is 4.6 (Pre-release):
|
// last known and checked version is 4.4 (Pre-release):
|
||||||
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 6))
|
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 4))
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
|
|||||||
@@ -25,32 +25,6 @@
|
|||||||
//
|
//
|
||||||
#define BOOST_HAS_LONG_LONG
|
#define BOOST_HAS_LONG_LONG
|
||||||
|
|
||||||
// C++0x features:
|
|
||||||
//
|
|
||||||
# define BOOST_NO_CONSTEXPR
|
|
||||||
# define BOOST_NO_NULLPTR
|
|
||||||
# define BOOST_NO_TEMPLATE_ALIASES
|
|
||||||
# define BOOST_NO_DECLTYPE
|
|
||||||
# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
|
||||||
# define BOOST_NO_RVALUE_REFERENCES
|
|
||||||
# define BOOST_NO_STATIC_ASSERT
|
|
||||||
# define BOOST_NO_VARIADIC_TEMPLATES
|
|
||||||
# define BOOST_NO_VARIADIC_MACROS
|
|
||||||
# define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
# define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
||||||
# define BOOST_NO_CHAR16_T
|
|
||||||
# define BOOST_NO_CHAR32_T
|
|
||||||
# define BOOST_NO_DEFAULTED_FUNCTIONS
|
|
||||||
# define BOOST_NO_DELETED_FUNCTIONS
|
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
|
||||||
# define BOOST_NO_SCOPED_ENUMS
|
|
||||||
# define BOOST_NO_SFINAE_EXPR
|
|
||||||
# define BOOST_NO_SCOPED_ENUMS
|
|
||||||
# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
|
||||||
# define BOOST_NO_LAMBDAS
|
|
||||||
# define BOOST_NO_RAW_LITERALS
|
|
||||||
# define BOOST_NO_UNICODE_LITERALS
|
|
||||||
|
|
||||||
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -115,16 +115,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
|
||||||
/*
|
|
||||||
See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and
|
|
||||||
https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443436
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE)
|
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -157,29 +157,6 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
|||||||
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
|
||||||
// An attempt to value-initialize a pointer-to-member may trigger an
|
|
||||||
// internal error on Intel <= 11.1 (last checked version), as was
|
|
||||||
// reported by John Maddock, Intel support issue 589832, May 2010.
|
|
||||||
// Moreover, according to test results from Huang-Vista-x86_32_intel,
|
|
||||||
// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
|
|
||||||
// cases when it should be value-initialized.
|
|
||||||
// (Niels Dekker, LKEB, May 2010)
|
|
||||||
#if defined(__INTEL_COMPILER)
|
|
||||||
# if __INTEL_COMPILER <= 1110
|
|
||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
|
|
||||||
//
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
|
||||||
# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
|
|
||||||
# define BOOST_SYMBOL_IMPORT
|
|
||||||
# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// last known and checked version:
|
// last known and checked version:
|
||||||
#if (BOOST_INTEL_CXX_VERSION > 1110)
|
#if (BOOST_INTEL_CXX_VERSION > 1110)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
// see also common_edg.hpp which needs a special check for __KCC
|
// see also common_edg.hpp which needs a special check for __KCC
|
||||||
# if !defined(_EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
# if !defined(_EXCEPTIONS)
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
// Metrowerks C++ compiler setup:
|
// Metrowerks C++ compiler setup:
|
||||||
|
|
||||||
#define BOOST_MWERKS __MWERKS__
|
|
||||||
|
|
||||||
// locale support is disabled when linking with the dynamic runtime
|
// locale support is disabled when linking with the dynamic runtime
|
||||||
# ifdef _MSL_NO_LOCALE
|
# ifdef _MSL_NO_LOCALE
|
||||||
# define BOOST_NO_STD_LOCALE
|
# define BOOST_NO_STD_LOCALE
|
||||||
@@ -50,7 +48,7 @@
|
|||||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !__option(exceptions) && !defined(BOOST_NO_EXCEPTIONS)
|
#if !__option(exceptions)
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -116,7 +114,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
|
|||||||
@@ -1,87 +0,0 @@
|
|||||||
// (C) Copyright Eric Jourdanneau, Joel Falcou 2010
|
|
||||||
// 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 for most recent version.
|
|
||||||
|
|
||||||
// NVIDIA CUDA C++ compiler setup
|
|
||||||
|
|
||||||
#ifndef BOOST_COMPILER
|
|
||||||
# define BOOST_COMPILER "NVIDIA CUDA C++ Compiler"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// NVIDIA Specific support
|
|
||||||
// BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device
|
|
||||||
#define BOOST_GPU_ENABLED __host__ __device__
|
|
||||||
|
|
||||||
// Boost support macro for NVCC
|
|
||||||
// NVCC Basically behaves like some flavor of MSVC6 + some specific quirks
|
|
||||||
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
|
||||||
#define BOOST_MSVC6_MEMBER_TEMPLATES
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
|
||||||
#define BOOST_HAS_STDINT_H
|
|
||||||
#define BOOST_HAS_SIGACTION
|
|
||||||
#define BOOST_HAS_SCHED_YIELD
|
|
||||||
#define BOOST_HAS_PTHREADS
|
|
||||||
#define BOOST_HAS_PTHREAD_YIELD
|
|
||||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
#define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
|
||||||
#define BOOST_HAS_NRVO
|
|
||||||
#define BOOST_HAS_NL_TYPES_H
|
|
||||||
#define BOOST_HAS_NANOSLEEP
|
|
||||||
#define BOOST_HAS_LONG_LONG
|
|
||||||
#define BOOST_HAS_LOG1P
|
|
||||||
#define BOOST_HAS_GETTIMEOFDAY
|
|
||||||
#define BOOST_HAS_EXPM1
|
|
||||||
#define BOOST_HAS_DIRENT_H
|
|
||||||
#define BOOST_HAS_CLOCK_GETTIME
|
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
|
||||||
#define BOOST_NO_STD_UNORDERED
|
|
||||||
#define BOOST_NO_STATIC_ASSERT
|
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
|
||||||
#define BOOST_NO_RAW_LITERALS
|
|
||||||
#define BOOST_NO_NULLPTR
|
|
||||||
#define BOOST_NO_LAMBDAS
|
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
|
||||||
#define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
|
||||||
#define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
|
||||||
#define BOOST_NO_DELETED_FUNCTIONS
|
|
||||||
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
|
||||||
#define BOOST_NO_DECLTYPE
|
|
||||||
#define BOOST_NO_CONSTEXPR
|
|
||||||
#define BOOST_NO_CONCEPTS
|
|
||||||
#define BOOST_NO_CHAR32_T
|
|
||||||
#define BOOST_NO_CHAR16_T
|
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
#define BOOST_NO_0X_HDR_UNORDERED_SET
|
|
||||||
#define BOOST_NO_0X_HDR_UNORDERED_MAP
|
|
||||||
#define BOOST_NO_0X_HDR_TYPE_TRAITS
|
|
||||||
#define BOOST_NO_0X_HDR_TUPLE
|
|
||||||
#define BOOST_NO_0X_HDR_THREAD
|
|
||||||
#define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
#define BOOST_NO_0X_HDR_SYSTEM_ERROR
|
|
||||||
#define BOOST_NO_0X_HDR_REGEX
|
|
||||||
#define BOOST_NO_0X_HDR_RATIO
|
|
||||||
#define BOOST_NO_0X_HDR_RANDOM
|
|
||||||
#define BOOST_NO_0X_HDR_MUTEX
|
|
||||||
#define BOOST_NO_0X_HDR_MEMORY_CONCEPTS
|
|
||||||
#define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS
|
|
||||||
#define BOOST_NO_0X_HDR_INITIALIZER_LIST
|
|
||||||
#define BOOST_NO_0X_HDR_FUTURE
|
|
||||||
#define BOOST_NO_0X_HDR_FORWARD_LIST
|
|
||||||
#define BOOST_NO_0X_HDR_CONTAINER_CONCEPTS
|
|
||||||
#define BOOST_NO_0X_HDR_CONDITION_VARIABLE
|
|
||||||
#define BOOST_NO_0X_HDR_CONCEPTS
|
|
||||||
#define BOOST_NO_0X_HDR_CODECVT
|
|
||||||
#define BOOST_NO_0X_HDR_CHRONO
|
|
||||||
#define BOOST_NO_0X_HDR_ARRAY
|
|
||||||
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
// (C) Copyright Bryce Lelbach 2011
|
|
||||||
|
|
||||||
// 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 for most recent version.
|
|
||||||
|
|
||||||
// PathScale EKOPath C++ Compiler
|
|
||||||
|
|
||||||
#ifndef BOOST_COMPILER
|
|
||||||
# define BOOST_COMPILER "PathScale EKOPath C++ Compiler version " __PATHSCALE__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __PATHCC__ >= 4
|
|
||||||
# define BOOST_MSVC6_MEMBER_TEMPLATES
|
|
||||||
# define BOOST_HAS_UNISTD_H
|
|
||||||
# define BOOST_HAS_STDINT_H
|
|
||||||
# define BOOST_HAS_SIGACTION
|
|
||||||
# define BOOST_HAS_SCHED_YIELD
|
|
||||||
# define BOOST_HAS_THREADS
|
|
||||||
# define BOOST_HAS_PTHREADS
|
|
||||||
# define BOOST_HAS_PTHREAD_YIELD
|
|
||||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
# define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
|
||||||
# define BOOST_HAS_NRVO
|
|
||||||
# define BOOST_HAS_NL_TYPES_H
|
|
||||||
# define BOOST_HAS_NANOSLEEP
|
|
||||||
# define BOOST_HAS_LONG_LONG
|
|
||||||
# define BOOST_HAS_LOG1P
|
|
||||||
# define BOOST_HAS_GETTIMEOFDAY
|
|
||||||
# define BOOST_HAS_EXPM1
|
|
||||||
# define BOOST_HAS_DIRENT_H
|
|
||||||
# define BOOST_HAS_CLOCK_GETTIME
|
|
||||||
# define BOOST_NO_VARIADIC_TEMPLATES
|
|
||||||
# define BOOST_NO_UNICODE_LITERALS
|
|
||||||
# define BOOST_NO_TEMPLATE_ALIASES
|
|
||||||
# define BOOST_NO_STD_UNORDERED
|
|
||||||
# define BOOST_NO_STATIC_ASSERT
|
|
||||||
# define BOOST_NO_SFINAE_EXPR
|
|
||||||
# define BOOST_NO_SCOPED_ENUMS
|
|
||||||
# define BOOST_NO_RVALUE_REFERENCES
|
|
||||||
# define BOOST_NO_RAW_LITERALS
|
|
||||||
# define BOOST_NO_NULLPTR
|
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
# define BOOST_NO_LAMBDAS
|
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
|
||||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
|
||||||
# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
|
||||||
# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
|
||||||
# define BOOST_NO_DELETED_FUNCTIONS
|
|
||||||
# define BOOST_NO_DEFAULTED_FUNCTIONS
|
|
||||||
# define BOOST_NO_DECLTYPE
|
|
||||||
# define BOOST_NO_CONSTEXPR
|
|
||||||
# define BOOST_NO_CONCEPTS
|
|
||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
# define BOOST_NO_CHAR32_T
|
|
||||||
# define BOOST_NO_CHAR16_T
|
|
||||||
# define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
||||||
# define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
|
||||||
# define BOOST_NO_0X_HDR_THREAD
|
|
||||||
# define BOOST_NO_0X_HDR_SYSTEM_ERROR
|
|
||||||
# define BOOST_NO_0X_HDR_REGEX
|
|
||||||
# define BOOST_NO_0X_HDR_RATIO
|
|
||||||
# define BOOST_NO_0X_HDR_RANDOM
|
|
||||||
# define BOOST_NO_0X_HDR_MUTEX
|
|
||||||
# define BOOST_NO_0X_HDR_MEMORY_CONCEPTS
|
|
||||||
# define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS
|
|
||||||
# define BOOST_NO_0X_HDR_INITIALIZER_LIST
|
|
||||||
# define BOOST_NO_0X_HDR_FUTURE
|
|
||||||
# define BOOST_NO_0X_HDR_FORWARD_LIST
|
|
||||||
# define BOOST_NO_0X_HDR_CONTAINER_CONCEPTS
|
|
||||||
# define BOOST_NO_0X_HDR_CONDITION_VARIABLE
|
|
||||||
# define BOOST_NO_0X_HDR_CONCEPTS
|
|
||||||
# define BOOST_NO_0X_HDR_CODECVT
|
|
||||||
# define BOOST_NO_0X_HDR_CHRONO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -16,28 +16,11 @@
|
|||||||
// if no threading API is detected.
|
// if no threading API is detected.
|
||||||
//
|
//
|
||||||
|
|
||||||
// PGI 10.x doesn't seem to define __PGIC__
|
#if (__PGIC__ >= 7)
|
||||||
|
|
||||||
// versions earlier than 10.x do define __PGIC__
|
|
||||||
#if __PGIC__ >= 10
|
|
||||||
|
|
||||||
// options requested by configure --enable-test
|
|
||||||
#define BOOST_HAS_PTHREADS
|
|
||||||
#define BOOST_HAS_NRVO
|
|
||||||
#define BOOST_HAS_LONG_LONG
|
|
||||||
|
|
||||||
// options --enable-test wants undefined
|
|
||||||
#undef BOOST_NO_STDC_NAMESPACE
|
|
||||||
#undef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
|
||||||
#undef BOOST_DEDUCED_TYPENAME
|
|
||||||
|
|
||||||
#elif __PGIC__ >= 7
|
|
||||||
|
|
||||||
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
#define BOOST_NO_SWPRINTF
|
#define BOOST_NO_SWPRINTF
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@@ -49,6 +32,8 @@
|
|||||||
//
|
//
|
||||||
// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
|
// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
|
||||||
//
|
//
|
||||||
|
#define BOOST_NO_AUTO_DECLARATIONS
|
||||||
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
||||||
#define BOOST_NO_CHAR16_T
|
#define BOOST_NO_CHAR16_T
|
||||||
#define BOOST_NO_CHAR32_T
|
#define BOOST_NO_CHAR32_T
|
||||||
#define BOOST_NO_CONCEPTS
|
#define BOOST_NO_CONCEPTS
|
||||||
@@ -70,7 +55,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// version check:
|
// version check:
|
||||||
|
|||||||
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
// Sun C++ compiler setup:
|
// Sun C++ compiler setup:
|
||||||
|
|
||||||
// Macro identifying the Sun compiler
|
|
||||||
|
|
||||||
#define BOOST_SUNCC __SUNPRO_CC
|
|
||||||
|
|
||||||
# if __SUNPRO_CC <= 0x500
|
# if __SUNPRO_CC <= 0x500
|
||||||
# define BOOST_NO_MEMBER_TEMPLATES
|
# define BOOST_NO_MEMBER_TEMPLATES
|
||||||
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
@@ -73,25 +69,6 @@
|
|||||||
# define BOOST_NO_IS_ABSTRACT
|
# define BOOST_NO_IS_ABSTRACT
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if (__SUNPRO_CC <= 0x5100)
|
|
||||||
// Sun 5.10 may not correctly value-initialize objects of
|
|
||||||
// some user defined types, as was reported in April 2010
|
|
||||||
// (CR 6947016), and confirmed by Steve Clamage.
|
|
||||||
// (Niels Dekker, LKEB, May 2010).
|
|
||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
# endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
|
|
||||||
//
|
|
||||||
#if __SUNPRO_CC > 0x500
|
|
||||||
# define BOOST_SYMBOL_EXPORT __global
|
|
||||||
# define BOOST_SYMBOL_IMPORT __global
|
|
||||||
# define BOOST_SYMBOL_VISIBLE __global
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Issues that effect all known versions:
|
// Issues that effect all known versions:
|
||||||
//
|
//
|
||||||
@@ -101,7 +78,12 @@
|
|||||||
//
|
//
|
||||||
// C++0x features
|
// C++0x features
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if(__SUNPRO_CC >= 0x590)
|
||||||
# define BOOST_HAS_LONG_LONG
|
# define BOOST_HAS_LONG_LONG
|
||||||
|
#else
|
||||||
|
# define BOOST_NO_LONG_LONG
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
#define BOOST_NO_AUTO_DECLARATIONS
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
||||||
@@ -126,7 +108,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Version
|
// Version
|
||||||
|
|||||||
@@ -30,14 +30,6 @@
|
|||||||
# define BOOST_NO_INITIALIZER_LISTS
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__IBMCPP__ <= 1110)
|
|
||||||
// XL C++ V11.1 and earlier versions may not always value-initialize
|
|
||||||
// a temporary object T(), when T is a non-POD aggregate class type.
|
|
||||||
// Michael Wong (IBM Canada Ltd) has confirmed this issue and gave it
|
|
||||||
// high priority. -- Niels Dekker (LKEB), May 2010.
|
|
||||||
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
||||||
//
|
//
|
||||||
@@ -91,7 +83,6 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -37,9 +37,6 @@
|
|||||||
//
|
//
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Visual Studio has no fenv.h
|
|
||||||
#define BOOST_NO_FENV_H
|
|
||||||
|
|
||||||
#if (_MSC_VER <= 1300) // 1300 == VC++ 7.0
|
#if (_MSC_VER <= 1300) // 1300 == VC++ 7.0
|
||||||
|
|
||||||
# if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za
|
# if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za
|
||||||
@@ -82,10 +79,6 @@
|
|||||||
// although a conforming signature for swprint exists in VC7.1
|
// although a conforming signature for swprint exists in VC7.1
|
||||||
// it appears not to actually work:
|
// it appears not to actually work:
|
||||||
# define BOOST_NO_SWPRINTF
|
# define BOOST_NO_SWPRINTF
|
||||||
// Our extern template tests also fail for this compiler:
|
|
||||||
# define BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
// Variadic macros do not exist for VC7.1 and lower
|
|
||||||
# define BOOST_NO_VARIADIC_MACROS
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(UNDER_CE)
|
#if defined(UNDER_CE)
|
||||||
@@ -97,29 +90,15 @@
|
|||||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if _MSC_VER <= 1600 // 1600 == VC++ 10.0
|
||||||
|
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
|
#endif
|
||||||
|
|
||||||
#if _MSC_VER == 1500 // 1500 == VC++ 9.0
|
#if _MSC_VER == 1500 // 1500 == VC++ 9.0
|
||||||
// A bug in VC9:
|
// A bug in VC9:
|
||||||
# define BOOST_NO_ADL_BARRIER
|
# define BOOST_NO_ADL_BARRIER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if (_MSC_VER <= 1600)
|
|
||||||
// MSVC (including the latest checked version) has not yet completely
|
|
||||||
// implemented value-initialization, as is reported:
|
|
||||||
// "VC++ does not value-initialize members of derived classes without
|
|
||||||
// user-declared constructor", reported in 2009 by Sylvester Hesp:
|
|
||||||
// https://connect.microsoft.com/VisualStudio/feedback/details/484295
|
|
||||||
// "Presence of copy constructor breaks member class initialization",
|
|
||||||
// reported in 2009 by Alex Vakulenko:
|
|
||||||
// https://connect.microsoft.com/VisualStudio/feedback/details/499606
|
|
||||||
// "Value-initialization in new-expression", reported in 2005 by
|
|
||||||
// Pavel Kuznetsov (MetaCommunications Engineering):
|
|
||||||
// https://connect.microsoft.com/VisualStudio/feedback/details/100744
|
|
||||||
// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
|
|
||||||
// (Niels Dekker, LKEB, May 2010)
|
|
||||||
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if _MSC_VER <= 1500 || !defined(BOOST_STRICT_CONFIG) // 1500 == VC++ 9.0
|
#if _MSC_VER <= 1500 || !defined(BOOST_STRICT_CONFIG) // 1500 == VC++ 9.0
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
#endif
|
#endif
|
||||||
@@ -136,7 +115,7 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// check for exception handling support:
|
// check for exception handling support:
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
|
#ifndef _CPPUNWIND
|
||||||
# define BOOST_NO_EXCEPTIONS
|
# define BOOST_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -146,7 +125,7 @@
|
|||||||
#if (_MSC_VER >= 1200)
|
#if (_MSC_VER >= 1200)
|
||||||
# define BOOST_HAS_MS_INT64
|
# define BOOST_HAS_MS_INT64
|
||||||
#endif
|
#endif
|
||||||
#if (_MSC_VER >= 1310) && (defined(_MSC_EXTENSIONS) || (_MSC_VER >= 1400))
|
#if (_MSC_VER >= 1310) && defined(_MSC_EXTENSIONS)
|
||||||
# define BOOST_HAS_LONG_LONG
|
# define BOOST_HAS_LONG_LONG
|
||||||
#else
|
#else
|
||||||
# define BOOST_NO_LONG_LONG
|
# define BOOST_NO_LONG_LONG
|
||||||
@@ -165,6 +144,11 @@
|
|||||||
# define BOOST_NO_RTTI
|
# define BOOST_NO_RTTI
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// all versions support __declspec:
|
||||||
|
//
|
||||||
|
#define BOOST_HAS_DECLSPEC
|
||||||
|
|
||||||
//
|
//
|
||||||
// C++0x features
|
// C++0x features
|
||||||
//
|
//
|
||||||
@@ -175,34 +159,31 @@
|
|||||||
#if _MSC_VER < 1600
|
#if _MSC_VER < 1600
|
||||||
#define BOOST_NO_AUTO_DECLARATIONS
|
#define BOOST_NO_AUTO_DECLARATIONS
|
||||||
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
||||||
|
#define BOOST_NO_DECLTYPE
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
#define BOOST_NO_STATIC_ASSERT
|
#define BOOST_NO_STATIC_ASSERT
|
||||||
#define BOOST_NO_NULLPTR
|
|
||||||
#endif // _MSC_VER < 1600
|
#endif // _MSC_VER < 1600
|
||||||
|
|
||||||
#if _MSC_VER >= 1600
|
|
||||||
#define BOOST_HAS_STDINT_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// C++0x features not supported by any versions
|
// C++0x features not supported by any versions
|
||||||
#define BOOST_NO_CHAR16_T
|
#define BOOST_NO_CHAR16_T
|
||||||
#define BOOST_NO_CHAR32_T
|
#define BOOST_NO_CHAR32_T
|
||||||
#define BOOST_NO_CONCEPTS
|
#define BOOST_NO_CONCEPTS
|
||||||
#define BOOST_NO_CONSTEXPR
|
#define BOOST_NO_CONSTEXPR
|
||||||
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
||||||
#define BOOST_NO_DECLTYPE
|
|
||||||
#define BOOST_NO_DELETED_FUNCTIONS
|
#define BOOST_NO_DELETED_FUNCTIONS
|
||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||||
|
#define BOOST_NO_EXTERN_TEMPLATE
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
#define BOOST_NO_SCOPED_ENUMS
|
||||||
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
|
||||||
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
|
||||||
//
|
//
|
||||||
// prefix and suffix headers:
|
// prefix and suffix headers:
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2002.
|
// (C) Copyright John Maddock 2001 - 2002.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -10,13 +9,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "IBM Aix"
|
#define BOOST_PLATFORM "IBM Aix"
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_AIX 1
|
|
||||||
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#define BOOST_HAS_NL_TYPES_H
|
#define BOOST_HAS_NL_TYPES_H
|
||||||
#define BOOST_HAS_NANOSLEEP
|
#define BOOST_HAS_NANOSLEEP
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// (C) Copyright John Maddock 2002.
|
// (C) Copyright John Maddock 2002.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -8,8 +7,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "AmigaOS"
|
#define BOOST_PLATFORM "AmigaOS"
|
||||||
|
|
||||||
#define BOOST_AMIGA 1
|
|
||||||
|
|
||||||
#define BOOST_DISABLE_THREADS
|
#define BOOST_DISABLE_THREADS
|
||||||
#define BOOST_NO_CWCHAR
|
#define BOOST_NO_CWCHAR
|
||||||
#define BOOST_NO_STD_WSTRING
|
#define BOOST_NO_STD_WSTRING
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// (C) Copyright John Maddock 2001.
|
// (C) Copyright John Maddock 2001.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -10,13 +9,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "BeOS"
|
#define BOOST_PLATFORM "BeOS"
|
||||||
|
|
||||||
#define BOOST_BEOS 1
|
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
//#define BOOST_TRADEMARK_NIX 1
|
|
||||||
#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_NO_CWCHAR
|
#define BOOST_NO_CWCHAR
|
||||||
#define BOOST_NO_CWCTYPE
|
#define BOOST_NO_CWCTYPE
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Darin Adler 2001.
|
// (C) Copyright Darin Adler 2001.
|
||||||
// (C) Copyright Douglas Gregor 2002.
|
// (C) Copyright Douglas Gregor 2002.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -10,30 +9,18 @@
|
|||||||
|
|
||||||
// generic BSD config options:
|
// generic BSD config options:
|
||||||
|
|
||||||
#if !defined(__FreeBSD__) && \
|
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
|
||||||
!defined(__NetBSD__) && \
|
#error "This platform is not BSD"
|
||||||
!defined(__OpenBSD__) && \
|
|
||||||
!defined(__DragonFly__)
|
|
||||||
#error "This platform is not BSD"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
#define BOOST_GENETIC_NIX 1
|
|
||||||
//#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
|
#define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
|
||||||
#define BOOST_FREEBSD __FreeBSD__
|
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
#define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
|
#define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
|
||||||
#define BOOST_NETBSD __NetBSD__
|
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
#define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
|
#define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
|
||||||
#define BOOST_OPENBSD __OpenBSD__
|
|
||||||
#elif defined(__DragonFly__)
|
#elif defined(__DragonFly__)
|
||||||
#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
|
#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
|
||||||
#define BOOST_DFBSD __DragonFly__
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -69,7 +56,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
||||||
|| (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__))
|
|| (__NetBSD_GCC__ >= 2095003) || defined(__DragonFly__))
|
||||||
# define BOOST_NO_CWCHAR
|
# define BOOST_NO_CWCHAR
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,57 +1,49 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
// Use, modification and distribution are subject to the
|
||||||
//
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// Use, modification and distribution are subject to the
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
// 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 for most recent version.
|
|
||||||
|
|
||||||
#define BOOST_PLATFORM "Cygwin" // Platform name.
|
// See http://www.boost.org for most recent version.
|
||||||
#define BOOST_CYGWIN __CYGWIN__ // Boost platform ID macros.
|
|
||||||
|
|
||||||
|
// cygwin specific config options:
|
||||||
|
|
||||||
|
#define BOOST_PLATFORM "Cygwin"
|
||||||
|
#define BOOST_NO_CWCTYPE
|
||||||
|
#define BOOST_NO_CWCHAR
|
||||||
|
#define BOOST_NO_SWPRINTF
|
||||||
#define BOOST_HAS_DIRENT_H
|
#define BOOST_HAS_DIRENT_H
|
||||||
#define BOOST_HAS_LOG1P
|
#define BOOST_HAS_LOG1P
|
||||||
#define BOOST_HAS_EXPM1
|
#define BOOST_HAS_EXPM1
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
//
|
||||||
//#define BOOST_GENETIC_NIX 1
|
// Threading API:
|
||||||
//#define BOOST_TRADEMARK_NIX 1
|
// See if we have POSIX threads, if we do use them, otherwise
|
||||||
#define BOOST_FUNCTIONAL_NIX 1
|
// revert to native Win threads.
|
||||||
|
|
||||||
// See if we have POSIX threads, otherwise revert to native Win threads.
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
|
||||||
#if defined(_POSIX_THREADS) && (_POSIX_THREADS + 0 >= 0) && \
|
# define BOOST_HAS_PTHREADS
|
||||||
!defined(BOOST_HAS_WINTHREADS)
|
# define BOOST_HAS_SCHED_YIELD
|
||||||
#define BOOST_HAS_PTHREADS
|
# define BOOST_HAS_GETTIMEOFDAY
|
||||||
#define BOOST_HAS_SCHED_YIELD
|
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||||
#define BOOST_HAS_GETTIMEOFDAY
|
# define BOOST_HAS_SIGACTION
|
||||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
#define BOOST_HAS_SIGACTION
|
|
||||||
#else
|
#else
|
||||||
#if !defined(BOOST_HAS_WINTHREADS)
|
# if !defined(BOOST_HAS_WINTHREADS)
|
||||||
#define BOOST_HAS_WINTHREADS
|
# define BOOST_HAS_WINTHREADS
|
||||||
#endif
|
# endif
|
||||||
#define BOOST_HAS_FTIME
|
# define BOOST_HAS_FTIME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Find out if we have a stdint.h, there should be a better way to do this.
|
//
|
||||||
|
// find out if we have a stdint.h, there should be a better way to do this:
|
||||||
|
//
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifdef _STDINT_H
|
#ifdef _STDINT_H
|
||||||
#define BOOST_HAS_STDINT_H
|
#define BOOST_HAS_STDINT_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Cygwin has no fenv.h
|
// boilerplate code:
|
||||||
#define BOOST_NO_FENV_H
|
|
||||||
|
|
||||||
#include <boost/config/posix_features.hpp>
|
#include <boost/config/posix_features.hpp>
|
||||||
|
|
||||||
// Cygwin lies about XSI conformance, there is no nl_types.h.
|
|
||||||
#ifdef BOOST_HAS_NL_TYPES_H
|
|
||||||
#undef BOOST_HAS_NL_TYPES_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
// (C) Copyright David Abrahams 2002.
|
// (C) Copyright David Abrahams 2002.
|
||||||
// (C) Copyright Toon Knapen 2003.
|
// (C) Copyright Toon Knapen 2003.
|
||||||
// (C) Copyright Boris Gubenko 2006 - 2007.
|
// (C) Copyright Boris Gubenko 2006 - 2007.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -14,13 +13,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "HP-UX"
|
#define BOOST_PLATFORM "HP-UX"
|
||||||
|
|
||||||
#define BOOST_HPUX 1 // platform ID macro
|
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
// In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
|
// In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
|
||||||
// However, it has the following problem:
|
// However, it has the following problem:
|
||||||
// Use of UINT32_C(0) results in "0u l" for the preprocessed source
|
// Use of UINT32_C(0) results in "0u l" for the preprocessed source
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Jens Maurer 2003.
|
// (C) Copyright Jens Maurer 2003.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -12,11 +11,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "SGI Irix"
|
#define BOOST_PLATFORM "SGI Irix"
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_NO_SWPRINTF
|
#define BOOST_NO_SWPRINTF
|
||||||
//
|
//
|
||||||
// these are not auto detected by POSIX feature tests:
|
// these are not auto detected by POSIX feature tests:
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Jens Maurer 2001 - 2003.
|
// (C) Copyright Jens Maurer 2001 - 2003.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -14,13 +13,6 @@
|
|||||||
// make sure we have __GLIBC_PREREQ if available at all
|
// make sure we have __GLIBC_PREREQ if available at all
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
//#define BOOST_TRADEMARK_NIX 1
|
|
||||||
#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_LINUX 1
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// <stdint.h> added to glibc 2.1.1
|
// <stdint.h> added to glibc 2.1.1
|
||||||
// We can only test for 2.1 though:
|
// We can only test for 2.1 though:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Darin Adler 2001 - 2002.
|
// (C) Copyright Darin Adler 2001 - 2002.
|
||||||
// (C) Copyright Bill Kempf 2002.
|
// (C) Copyright Bill Kempf 2002.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -14,11 +13,6 @@
|
|||||||
|
|
||||||
#if __MACH__ && !defined(_MSL_USING_MSL_C)
|
#if __MACH__ && !defined(_MSL_USING_MSL_C)
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
// Using the Mac OS X system BSD-style C library.
|
// Using the Mac OS X system BSD-style C library.
|
||||||
|
|
||||||
# ifndef BOOST_HAS_UNISTD_H
|
# ifndef BOOST_HAS_UNISTD_H
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// (C) Copyright Jim Douglas 2005.
|
// (C) Copyright Jim Douglas 2005.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -8,15 +7,8 @@
|
|||||||
|
|
||||||
// QNX specific config options:
|
// QNX specific config options:
|
||||||
|
|
||||||
#define BOOST_QNX 1
|
|
||||||
|
|
||||||
#define BOOST_PLATFORM "QNX"
|
#define BOOST_PLATFORM "QNX"
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
//#define BOOST_TRADEMARK_NIX 1
|
|
||||||
#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#include <boost/config/posix_features.hpp>
|
#include <boost/config/posix_features.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// (C) Copyright John Maddock 2001 - 2003.
|
||||||
// (C) Copyright Jens Maurer 2003.
|
// (C) Copyright Jens Maurer 2003.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -11,11 +10,6 @@
|
|||||||
|
|
||||||
#define BOOST_PLATFORM "Sun Solaris"
|
#define BOOST_PLATFORM "Sun Solaris"
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
#define BOOST_HAS_GETTIMEOFDAY
|
#define BOOST_HAS_GETTIMEOFDAY
|
||||||
|
|
||||||
// boilerplate code:
|
// boilerplate code:
|
||||||
|
|||||||
@@ -1,98 +0,0 @@
|
|||||||
// (C) Copyright Yuriy Krasnoschek 2009.
|
|
||||||
// (C) Copyright John Maddock 2001 - 2003.
|
|
||||||
// (C) Copyright Jens Maurer 2001 - 2003.
|
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// 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 for most recent version.
|
|
||||||
|
|
||||||
// symbian specific config options:
|
|
||||||
|
|
||||||
#define BOOST_PLATFORM "Symbian"
|
|
||||||
#define BOOST_SYMBIAN 1
|
|
||||||
|
|
||||||
#if defined(__S60_3X__)
|
|
||||||
// Open C / C++ plugin was introdused in this SDK, earlier versions don't have
|
|
||||||
// CRT / STL
|
|
||||||
# define BOOST_NIX 1
|
|
||||||
//# define BOOST_GENETIC_NIX 1
|
|
||||||
//# define BOOST_TRADEMARK_NIX 1
|
|
||||||
# define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
# define BOOST_S60_3rd_EDITION_FP2_OR_LATER_SDK
|
|
||||||
// make sure we have __GLIBC_PREREQ if available at all
|
|
||||||
# include <cstdlib>
|
|
||||||
// boilerplate code:
|
|
||||||
# define BOOST_HAS_UNISTD_H
|
|
||||||
# include <boost/config/posix_features.hpp>
|
|
||||||
// S60 SDK defines _POSIX_VERSION as POSIX.1
|
|
||||||
# ifndef BOOST_HAS_STDINT_H
|
|
||||||
# define BOOST_HAS_STDINT_H
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_GETTIMEOFDAY
|
|
||||||
# define BOOST_HAS_GETTIMEOFDAY
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_DIRENT_H
|
|
||||||
# define BOOST_HAS_DIRENT_H
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_SIGACTION
|
|
||||||
# define BOOST_HAS_SIGACTION
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_PTHREADS
|
|
||||||
# define BOOST_HAS_PTHREADS
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_NANOSLEEP
|
|
||||||
# define BOOST_HAS_NANOSLEEP
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_SCHED_YIELD
|
|
||||||
# define BOOST_HAS_SCHED_YIELD
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_LOG1P
|
|
||||||
# define BOOST_HAS_LOG1P
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_HAS_EXPM1
|
|
||||||
# define BOOST_HAS_EXPM1
|
|
||||||
# endif
|
|
||||||
# ifndef BOOST_POSIX_API
|
|
||||||
# define BOOST_POSIX_API
|
|
||||||
# endif
|
|
||||||
// endianess support
|
|
||||||
# include <sys/endian.h>
|
|
||||||
// Symbian SDK provides _BYTE_ORDER instead of __BYTE_ORDER
|
|
||||||
# ifndef __LITTLE_ENDIAN
|
|
||||||
# ifdef _LITTLE_ENDIAN
|
|
||||||
# define __LITTLE_ENDIAN _LITTLE_ENDIAN
|
|
||||||
# else
|
|
||||||
# define __LITTLE_ENDIAN 1234
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# ifndef __BIG_ENDIAN
|
|
||||||
# ifdef _BIG_ENDIAN
|
|
||||||
# define __BIG_ENDIAN _BIG_ENDIAN
|
|
||||||
# else
|
|
||||||
# define __BIG_ENDIAN 4321
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# ifndef __BYTE_ORDER
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN // Symbian is LE
|
|
||||||
# endif
|
|
||||||
// Known limitations
|
|
||||||
# define BOOST_ASIO_DISABLE_SERIAL_PORT
|
|
||||||
# define BOOST_DATE_TIME_NO_LOCALE
|
|
||||||
# define BOOST_NO_STD_WSTRING
|
|
||||||
# define BOOST_EXCEPTION_DISABLE
|
|
||||||
# define BOOST_NO_EXCEPTIONS
|
|
||||||
|
|
||||||
#else // TODO: More platform support e.g. UIQ
|
|
||||||
# error "Unsuppoted Symbian SDK"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__WINSCW__) && !defined(BOOST_DISABLE_WIN32)
|
|
||||||
# define BOOST_DISABLE_WIN32 // winscw defines WIN32 macro
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// (C) Copyright Artyom Beilis 2010.
|
|
||||||
// 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)
|
|
||||||
|
|
||||||
#ifndef BOOST_CONFIG_PLATFORM_VMS_HPP
|
|
||||||
#define BOOST_CONFIG_PLATFORM_VMS_HPP
|
|
||||||
|
|
||||||
#define BOOST_PLATFORM "OpenVMS"
|
|
||||||
|
|
||||||
#undef BOOST_HAS_STDINT_H
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
|
||||||
#define BOOST_HAS_NL_TYPES_H
|
|
||||||
#define BOOST_HAS_GETTIMEOFDAY
|
|
||||||
#define BOOST_HAS_DIRENT_H
|
|
||||||
#define BOOST_HAS_PTHREADS
|
|
||||||
#define BOOST_HAS_NANOSLEEP
|
|
||||||
#define BOOST_HAS_CLOCK_GETTIME
|
|
||||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
||||||
#define BOOST_HAS_LOG1P
|
|
||||||
#define BOOST_HAS_EXPM1
|
|
||||||
#define BOOST_HAS_THREADS
|
|
||||||
#undef BOOST_HAS_SCHED_YIELD
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
// (C) Copyright Dustin Spicuzza 2009.
|
// (C) Copyright Dustin Spicuzza 2009.
|
||||||
// (C) Copyright Bryce Lelbach 2010
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -24,11 +23,6 @@
|
|||||||
#define _POSIX_TIMERS 1
|
#define _POSIX_TIMERS 1
|
||||||
#define _POSIX_THREADS 1
|
#define _POSIX_THREADS 1
|
||||||
|
|
||||||
#define BOOST_NIX 1
|
|
||||||
//#define BOOST_GENETIC_NIX 1
|
|
||||||
#define BOOST_TRADEMARK_NIX 1
|
|
||||||
//#define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
|
|
||||||
// vxworks doesn't work with asio serial ports
|
// vxworks doesn't work with asio serial ports
|
||||||
#define BOOST_ASIO_DISABLE_SERIAL_PORT
|
#define BOOST_ASIO_DISABLE_SERIAL_PORT
|
||||||
|
|
||||||
|
|||||||
@@ -21,14 +21,8 @@
|
|||||||
# define BOOST_NO_SWPRINTF
|
# define BOOST_NO_SWPRINTF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Default defines for BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT
|
#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
|
||||||
// If a compiler doesn't support __declspec(dllexport)/__declspec(dllimport),
|
|
||||||
// its boost/config/compiler/ file must define BOOST_SYMBOL_EXPORT and
|
|
||||||
// BOOST_SYMBOL_IMPORT
|
|
||||||
#ifndef BOOST_SYMBOL_EXPORT
|
|
||||||
# define BOOST_HAS_DECLSPEC
|
# define BOOST_HAS_DECLSPEC
|
||||||
# define BOOST_SYMBOL_EXPORT __declspec(dllexport)
|
|
||||||
# define BOOST_SYMBOL_IMPORT __declspec(dllimport)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
|
#if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
|
||||||
@@ -38,11 +32,6 @@
|
|||||||
# define BOOST_HAS_UNISTD_H
|
# define BOOST_HAS_UNISTD_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__) && (__GNUC__ >= 4)
|
|
||||||
# define BOOST_HAS_EXPM1
|
|
||||||
# define BOOST_HAS_LOG1P
|
|
||||||
# define BOOST_HAS_GETTIMEOFDAY
|
|
||||||
#endif
|
|
||||||
//
|
//
|
||||||
// Win32 will normally be using native Win32 threads,
|
// Win32 will normally be using native Win32 threads,
|
||||||
// but there is a pthread library avaliable as an option,
|
// but there is a pthread library avaliable as an option,
|
||||||
|
|||||||
@@ -14,27 +14,23 @@
|
|||||||
// one identification macro for each of the
|
// one identification macro for each of the
|
||||||
// compilers we support:
|
// compilers we support:
|
||||||
|
|
||||||
# define BOOST_CXX_GCCXML 0
|
# define BOOST_CXX_GCCXML 0
|
||||||
# define BOOST_CXX_NVCC 0
|
# define BOOST_CXX_COMO 0
|
||||||
# define BOOST_CXX_COMO 0
|
# define BOOST_CXX_DMC 0
|
||||||
# define BOOST_CXX_PATHSCALE 0
|
# define BOOST_CXX_INTEL 0
|
||||||
# define BOOST_CXX_CLANG 0
|
# define BOOST_CXX_GNUC 0
|
||||||
# define BOOST_CXX_DMC 0
|
# define BOOST_CXX_KCC 0
|
||||||
# define BOOST_CXX_INTEL 0
|
# define BOOST_CXX_SGI 0
|
||||||
# define BOOST_CXX_GNUC 0
|
# define BOOST_CXX_TRU64 0
|
||||||
# define BOOST_CXX_KCC 0
|
# define BOOST_CXX_GHS 0
|
||||||
# define BOOST_CXX_SGI 0
|
# define BOOST_CXX_BORLAND 0
|
||||||
# define BOOST_CXX_TRU64 0
|
# define BOOST_CXX_CW 0
|
||||||
# define BOOST_CXX_GHS 0
|
# define BOOST_CXX_SUNPRO 0
|
||||||
# define BOOST_CXX_BORLAND 0
|
# define BOOST_CXX_HPACC 0
|
||||||
# define BOOST_CXX_CW 0
|
# define BOOST_CXX_MPW 0
|
||||||
# define BOOST_CXX_SUNPRO 0
|
# define BOOST_CXX_IBMCPP 0
|
||||||
# define BOOST_CXX_HPACC 0
|
# define BOOST_CXX_MSVC 0
|
||||||
# define BOOST_CXX_MPW 0
|
# define BOOST_CXX_PGI 0
|
||||||
# define BOOST_CXX_IBMCPP 0
|
|
||||||
# define BOOST_CXX_MSVC 0
|
|
||||||
# define BOOST_CXX_PGI 0
|
|
||||||
# define BOOST_CXX_NVCC 0
|
|
||||||
|
|
||||||
|
|
||||||
// locate which compiler we are using and define
|
// locate which compiler we are using and define
|
||||||
@@ -44,22 +40,10 @@
|
|||||||
// GCC-XML emulates other compilers, it has to appear first here!
|
// GCC-XML emulates other compilers, it has to appear first here!
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
|
||||||
|
|
||||||
#elif defined __CUDACC__
|
|
||||||
// NVIDIA CUDA C++ compiler for GPU
|
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/nvcc.hpp"
|
|
||||||
|
|
||||||
#elif defined __COMO__
|
#elif defined __COMO__
|
||||||
// Comeau C++
|
// Comeau C++
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
||||||
|
|
||||||
#elif defined(__PATHSCALE__) && (__PATHCC__ >= 4)
|
|
||||||
// PathScale EKOPath compiler (has to come before clang and gcc)
|
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"
|
|
||||||
|
|
||||||
#elif defined __clang__
|
|
||||||
// Clang C++ emulates GCC, so it has to appear early.
|
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
|
|
||||||
|
|
||||||
#elif defined __DMC__
|
#elif defined __DMC__
|
||||||
// Digital Mars C++
|
// Digital Mars C++
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
|
||||||
|
|||||||
@@ -65,13 +65,6 @@
|
|||||||
// vxWorks:
|
// vxWorks:
|
||||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/vxworks.hpp"
|
# define BOOST_PLATFORM_CONFIG "boost/config/platform/vxworks.hpp"
|
||||||
|
|
||||||
#elif defined(__SYMBIAN32__)
|
|
||||||
// Symbian:
|
|
||||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/symbian.hpp"
|
|
||||||
|
|
||||||
#elif defined(__VMS)
|
|
||||||
// VMS:
|
|
||||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/vms.hpp"
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# if defined(unix) \
|
# if defined(unix) \
|
||||||
|
|||||||
@@ -86,11 +86,6 @@
|
|||||||
# define BOOST_NO_STD_LOCALE
|
# define BOOST_NO_STD_LOCALE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <typeinfo>
|
|
||||||
#if !_HAS_EXCEPTIONS
|
|
||||||
# define BOOST_NO_STD_TYPEINFO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// C++0x headers implemented in 520 (as shipped by Microsoft)
|
// C++0x headers implemented in 520 (as shipped by Microsoft)
|
||||||
//
|
//
|
||||||
#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520
|
#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520
|
||||||
@@ -105,13 +100,6 @@
|
|||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_HAS_TR1_IMPORTS) && !defined(BOOST_NO_0X_HDR_TUPLE)
|
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C++0x headers not yet implemented
|
// C++0x headers not yet implemented
|
||||||
@@ -126,6 +114,7 @@
|
|||||||
# define BOOST_NO_0X_HDR_MUTEX
|
# define BOOST_NO_0X_HDR_MUTEX
|
||||||
# define BOOST_NO_0X_HDR_RATIO
|
# define BOOST_NO_0X_HDR_RATIO
|
||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
|
|
||||||
#ifdef _CPPLIB_VER
|
#ifdef _CPPLIB_VER
|
||||||
# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER
|
# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER
|
||||||
|
|||||||
@@ -54,11 +54,9 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Intrinsic type_traits support.
|
// Intrinsic type_traits support.
|
||||||
|
|||||||
@@ -54,6 +54,7 @@
|
|||||||
# define BOOST_HAS_THREADS
|
# define BOOST_HAS_THREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if !defined(_GLIBCPP_USE_LONG_LONG) \
|
#if !defined(_GLIBCPP_USE_LONG_LONG) \
|
||||||
&& !defined(_GLIBCXX_USE_LONG_LONG)\
|
&& !defined(_GLIBCXX_USE_LONG_LONG)\
|
||||||
&& defined(BOOST_HAS_LONG_LONG)
|
&& defined(BOOST_HAS_LONG_LONG)
|
||||||
@@ -62,16 +63,6 @@
|
|||||||
# undef BOOST_HAS_LONG_LONG
|
# undef BOOST_HAS_LONG_LONG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Apple doesn't seem to reliably defined a *unix* macro
|
|
||||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
|
||||||
|| defined(__unix) \
|
|
||||||
|| defined(unix) \
|
|
||||||
|| defined(__APPLE__) \
|
|
||||||
|| defined(__APPLE) \
|
|
||||||
|| defined(APPLE))
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
|
#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
|
||||||
# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
|
# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
|
||||||
# define BOOST_HAS_SLIST
|
# define BOOST_HAS_SLIST
|
||||||
@@ -124,12 +115,6 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C++0x features in GCC 4.5.0 and later
|
|
||||||
//
|
|
||||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// C++0x headers not yet implemented
|
// C++0x headers not yet implemented
|
||||||
//
|
//
|
||||||
# define BOOST_NO_0X_HDR_CODECVT
|
# define BOOST_NO_0X_HDR_CODECVT
|
||||||
@@ -138,6 +123,5 @@
|
|||||||
# define BOOST_NO_0X_HDR_FUTURE
|
# define BOOST_NO_0X_HDR_FUTURE
|
||||||
# define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS
|
# define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS
|
||||||
# define BOOST_NO_0X_HDR_MEMORY_CONCEPTS
|
# define BOOST_NO_0X_HDR_MEMORY_CONCEPTS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
|
|
||||||
// --- end ---
|
// --- end ---
|
||||||
|
|||||||
@@ -43,11 +43,9 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "Modena C++ standard library"
|
#define BOOST_STDLIB "Modena C++ standard library"
|
||||||
|
|
||||||
|
|||||||
@@ -67,11 +67,9 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
|
#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
|
||||||
|
|
||||||
|
|||||||
@@ -173,9 +173,7 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,17 +40,6 @@
|
|||||||
# define BOOST_NO_STRINGSTREAM
|
# define BOOST_NO_STRINGSTREAM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Apple doesn't seem to reliably defined a *unix* macro
|
|
||||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
|
||||||
|| defined(__unix) \
|
|
||||||
|| defined(unix) \
|
|
||||||
|| defined(__APPLE__) \
|
|
||||||
|| defined(__APPLE) \
|
|
||||||
|| defined(APPLE))
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Assume no std::locale without own iostreams (this may be an
|
// Assume no std::locale without own iostreams (this may be an
|
||||||
// incorrect assumption in some cases):
|
// incorrect assumption in some cases):
|
||||||
@@ -137,11 +126,9 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "SGI standard library"
|
#define BOOST_STDLIB "SGI standard library"
|
||||||
|
|
||||||
|
|||||||
@@ -16,16 +16,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Apple doesn't seem to reliably defined a *unix* macro
|
|
||||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
|
||||||
|| defined(__unix) \
|
|
||||||
|| defined(unix) \
|
|
||||||
|| defined(__APPLE__) \
|
|
||||||
|| defined(__APPLE) \
|
|
||||||
|| defined(APPLE))
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// __STL_STATIC_CONST_INIT_BUG implies BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
// __STL_STATIC_CONST_INIT_BUG implies BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
// for versions prior to 4.1(beta)
|
// for versions prior to 4.1(beta)
|
||||||
@@ -231,11 +221,9 @@ namespace boost { using std::min; using std::max; }
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)
|
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)
|
||||||
|
|
||||||
|
|||||||
@@ -12,16 +12,6 @@
|
|||||||
#define BOOST_HAS_MACRO_USE_FACET
|
#define BOOST_HAS_MACRO_USE_FACET
|
||||||
#define BOOST_NO_STD_MESSAGES
|
#define BOOST_NO_STD_MESSAGES
|
||||||
|
|
||||||
// Apple doesn't seem to reliably defined a *unix* macro
|
|
||||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
|
||||||
|| defined(__unix) \
|
|
||||||
|| defined(unix) \
|
|
||||||
|| defined(__APPLE__) \
|
|
||||||
|| defined(__APPLE) \
|
|
||||||
|| defined(APPLE))
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// C++0x headers not yet implemented
|
// C++0x headers not yet implemented
|
||||||
//
|
//
|
||||||
# define BOOST_NO_0X_HDR_ARRAY
|
# define BOOST_NO_0X_HDR_ARRAY
|
||||||
@@ -43,11 +33,9 @@
|
|||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TUPLE
|
# define BOOST_NO_0X_HDR_TUPLE
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
# define BOOST_NO_STD_UNORDERED // deprecated; see following
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "Visual Age default standard library"
|
#define BOOST_STDLIB "Visual Age default standard library"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Copyright (c) 2002-2003 David Abrahams
|
// Copyright (c) 2002-2003 David Abrahams
|
||||||
// Copyright (c) 2003 Gennaro Prota
|
// Copyright (c) 2003 Gennaro Prota
|
||||||
// Copyright (c) 2003 Eric Friedman
|
// Copyright (c) 2003 Eric Friedman
|
||||||
// Copyright (c) 2010 Eric Jourdanneau, Joel Falcou
|
//
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See
|
// Distributed under the Boost Software License, Version 1.0. (See
|
||||||
// accompanying file LICENSE_1_0.txt or copy at
|
// accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -25,27 +25,6 @@
|
|||||||
#ifndef BOOST_CONFIG_SUFFIX_HPP
|
#ifndef BOOST_CONFIG_SUFFIX_HPP
|
||||||
#define BOOST_CONFIG_SUFFIX_HPP
|
#define BOOST_CONFIG_SUFFIX_HPP
|
||||||
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
|
||||||
//
|
|
||||||
// Some GCC-4.x versions issue warnings even when __extension__ is used,
|
|
||||||
// so use this as a workaround:
|
|
||||||
//
|
|
||||||
#pragma GCC system_header
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// ensure that visibility macros are always defined, thus symplifying use
|
|
||||||
//
|
|
||||||
#ifndef BOOST_SYMBOL_EXPORT
|
|
||||||
# define BOOST_SYMBOL_EXPORT
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_SYMBOL_IMPORT
|
|
||||||
# define BOOST_SYMBOL_IMPORT
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_SYMBOL_VISIBLE
|
|
||||||
# define BOOST_SYMBOL_VISIBLE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// look for long long by looking for the appropriate macros in <limits.h>.
|
// look for long long by looking for the appropriate macros in <limits.h>.
|
||||||
// Note that we use limits.h rather than climits for maximal portability,
|
// Note that we use limits.h rather than climits for maximal portability,
|
||||||
@@ -103,13 +82,6 @@
|
|||||||
# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
|
||||||
// Normalize BOOST_NO_STATIC_ASSERT and (depricated) BOOST_HAS_STATIC_ASSERT:
|
|
||||||
//
|
|
||||||
#if !defined(BOOST_NO_STATIC_ASSERT) && !defined(BOOST_HAS_STATIC_ASSERT)
|
|
||||||
# define BOOST_HAS_STATIC_ASSERT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// if there is no __int64 then there is no specialisation
|
// if there is no __int64 then there is no specialisation
|
||||||
// for numeric_limits<__int64> either:
|
// for numeric_limits<__int64> either:
|
||||||
@@ -342,20 +314,6 @@
|
|||||||
# define BOOST_NO_INITIALIZER_LISTS
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
|
||||||
// Set BOOST_HAS_RVALUE_REFS when BOOST_NO_RVALUE_REFERENCES is not defined
|
|
||||||
//
|
|
||||||
#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_HAS_RVALUE_REFS)
|
|
||||||
#define BOOST_HAS_RVALUE_REFS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// Set BOOST_HAS_VARIADIC_TMPL when BOOST_NO_VARIADIC_TEMPLATES is not defined
|
|
||||||
//
|
|
||||||
#if !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_HAS_VARIADIC_TMPL)
|
|
||||||
#define BOOST_HAS_VARIADIC_TMPL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// BOOST_HAS_ABI_HEADERS
|
// BOOST_HAS_ABI_HEADERS
|
||||||
// This macro gets set if we have headers that fix the ABI,
|
// This macro gets set if we have headers that fix the ABI,
|
||||||
// and prevent ODR violations when linking to external libraries:
|
// and prevent ODR violations when linking to external libraries:
|
||||||
@@ -596,12 +554,6 @@ namespace boost{
|
|||||||
|
|
||||||
#endif // defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
#endif // defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||||
|
|
||||||
// When BOOST_NO_STD_TYPEINFO is defined, we can just import
|
|
||||||
// the global definition into std namespace:
|
|
||||||
#ifdef BOOST_NO_STD_TYPEINFO
|
|
||||||
#include <typeinfo>
|
|
||||||
namespace std{ using ::typeinfo; }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------//
|
||||||
|
|
||||||
@@ -639,34 +591,11 @@ namespace std{ using ::typeinfo; }
|
|||||||
# if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \
|
# if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \
|
||||||
|| defined(_POSIX_SOURCE)
|
|| defined(_POSIX_SOURCE)
|
||||||
# define BOOST_PLATFORM "Generic Unix"
|
# define BOOST_PLATFORM "Generic Unix"
|
||||||
# define BOOST_NIX 1
|
|
||||||
//# define BOOST_GENETIC_NIX 1
|
|
||||||
//# define BOOST_TRADEMARK_NIX 1
|
|
||||||
# define BOOST_FUNCTIONAL_NIX 1
|
|
||||||
# else
|
# else
|
||||||
# define BOOST_PLATFORM "Unknown"
|
# define BOOST_PLATFORM "Unknown"
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
//
|
|
||||||
// Set some default values GPU support
|
|
||||||
//
|
|
||||||
# ifndef BOOST_GPU_ENABLED
|
|
||||||
# define BOOST_GPU_ENABLED
|
|
||||||
# endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// constexpr workarounds
|
|
||||||
//
|
|
||||||
#if defined(BOOST_NO_CONSTEXPR)
|
|
||||||
#define BOOST_CONSTEXPR
|
|
||||||
#define BOOST_CONSTEXPR_OR_CONST const
|
|
||||||
#else
|
|
||||||
#define BOOST_CONSTEXPR constexpr
|
|
||||||
#define BOOST_CONSTEXPR_OR_CONST constexpr
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
@@ -65,11 +65,6 @@
|
|||||||
#else
|
#else
|
||||||
#define BOOST_MSVC_WORKAROUND_GUARD 0
|
#define BOOST_MSVC_WORKAROUND_GUARD 0
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_MSVC_FULL_VER
|
|
||||||
#define BOOST_MSVC_FULL_VER_WORKAROUND_GUARD 1
|
|
||||||
#else
|
|
||||||
#define BOOST_MSVC_FULL_VER_WORKAROUND_GUARD 0
|
|
||||||
#endif
|
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
#define __GNUC___WORKAROUND_GUARD 1
|
#define __GNUC___WORKAROUND_GUARD 1
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -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 104600
|
#define BOOST_VERSION 104100
|
||||||
|
|
||||||
//
|
//
|
||||||
// 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,7 +27,7 @@
|
|||||||
// 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_46"
|
#define BOOST_LIB_VERSION "1_41"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+1
-13
@@ -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 Sat Sep 25 16:53:42 2010
|
# This file was automatically generated on Sun Oct 11 13:04:18 2009
|
||||||
# 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
|
||||||
@@ -229,9 +229,6 @@ test-suite "BOOST_NO_0X_HDR_THREAD" :
|
|||||||
test-suite "BOOST_NO_0X_HDR_TUPLE" :
|
test-suite "BOOST_NO_0X_HDR_TUPLE" :
|
||||||
[ run ../no_0x_hdr_tuple_pass.cpp ]
|
[ run ../no_0x_hdr_tuple_pass.cpp ]
|
||||||
[ compile-fail ../no_0x_hdr_tuple_fail.cpp ] ;
|
[ compile-fail ../no_0x_hdr_tuple_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_0X_HDR_TYPEINDEX" :
|
|
||||||
[ run ../no_0x_hdr_typeindex_pass.cpp ]
|
|
||||||
[ compile-fail ../no_0x_hdr_typeindex_fail.cpp ] ;
|
|
||||||
test-suite "BOOST_NO_0X_HDR_TYPE_TRAITS" :
|
test-suite "BOOST_NO_0X_HDR_TYPE_TRAITS" :
|
||||||
[ run ../no_0x_hdr_type_traits_pass.cpp ]
|
[ run ../no_0x_hdr_type_traits_pass.cpp ]
|
||||||
[ compile-fail ../no_0x_hdr_type_traits_fail.cpp ] ;
|
[ compile-fail ../no_0x_hdr_type_traits_fail.cpp ] ;
|
||||||
@@ -268,9 +265,6 @@ test-suite "BOOST_NO_CHAR16_T" :
|
|||||||
test-suite "BOOST_NO_CHAR32_T" :
|
test-suite "BOOST_NO_CHAR32_T" :
|
||||||
[ run ../no_char32_t_pass.cpp ]
|
[ run ../no_char32_t_pass.cpp ]
|
||||||
[ compile-fail ../no_char32_t_fail.cpp ] ;
|
[ compile-fail ../no_char32_t_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_COMPLETE_VALUE_INITIALIZATION" :
|
|
||||||
[ run ../no_com_value_init_pass.cpp ]
|
|
||||||
[ compile-fail ../no_com_value_init_fail.cpp ] ;
|
|
||||||
test-suite "BOOST_NO_CONCEPTS" :
|
test-suite "BOOST_NO_CONCEPTS" :
|
||||||
[ run ../no_concepts_pass.cpp ]
|
[ run ../no_concepts_pass.cpp ]
|
||||||
[ compile-fail ../no_concepts_fail.cpp ] ;
|
[ compile-fail ../no_concepts_fail.cpp ] ;
|
||||||
@@ -367,9 +361,6 @@ test-suite "BOOST_NO_LIMITS" :
|
|||||||
test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
|
test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
|
||||||
[ run ../no_limits_const_exp_pass.cpp ]
|
[ run ../no_limits_const_exp_pass.cpp ]
|
||||||
[ compile-fail ../no_limits_const_exp_fail.cpp ] ;
|
[ compile-fail ../no_limits_const_exp_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_NUMERIC_LIMITS_LOWEST" :
|
|
||||||
[ run ../no_limits_lowest_pass.cpp ]
|
|
||||||
[ compile-fail ../no_limits_lowest_fail.cpp ] ;
|
|
||||||
test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
|
test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
|
||||||
[ run ../no_ll_limits_pass.cpp ]
|
[ run ../no_ll_limits_pass.cpp ]
|
||||||
[ compile-fail ../no_ll_limits_fail.cpp ] ;
|
[ compile-fail ../no_ll_limits_fail.cpp ] ;
|
||||||
@@ -514,9 +505,6 @@ test-suite "BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE" :
|
|||||||
test-suite "BOOST_NO_USING_TEMPLATE" :
|
test-suite "BOOST_NO_USING_TEMPLATE" :
|
||||||
[ run ../no_using_template_pass.cpp ]
|
[ run ../no_using_template_pass.cpp ]
|
||||||
[ compile-fail ../no_using_template_fail.cpp ] ;
|
[ compile-fail ../no_using_template_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_VARIADIC_MACROS" :
|
|
||||||
[ run ../no_variadic_macros_pass.cpp ]
|
|
||||||
[ compile-fail ../no_variadic_macros_fail.cpp ] ;
|
|
||||||
test-suite "BOOST_NO_VARIADIC_TEMPLATES" :
|
test-suite "BOOST_NO_VARIADIC_TEMPLATES" :
|
||||||
[ run ../no_variadic_templates_pass.cpp ]
|
[ run ../no_variadic_templates_pass.cpp ]
|
||||||
[ compile-fail ../no_variadic_templates_fail.cpp ] ;
|
[ compile-fail ../no_variadic_templates_fail.cpp ] ;
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ namespace boost_no_0x_hdr_tuple {
|
|||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
std::tuple<int, int, long> t(0, 1, 2);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
// (C) Copyright Beman Dawes 2009
|
|
||||||
|
|
||||||
// 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_0X_HDR_TYPEINDEX
|
|
||||||
// TITLE: C++0x header <typeindex> unavailable
|
|
||||||
// DESCRIPTION: The standard library does not supply C++0x header <typeindex>
|
|
||||||
|
|
||||||
#include <typeindex>
|
|
||||||
|
|
||||||
namespace boost_no_0x_hdr_typeindex {
|
|
||||||
|
|
||||||
int test()
|
|
||||||
{
|
|
||||||
std::type_index t1 = typeid(int);
|
|
||||||
std::type_index t2 = typeid(double);
|
|
||||||
std::hash<std::type_index> h;
|
|
||||||
return (t1 != t2) && (h(t1) != h(t2)) ? 0 : 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -11,14 +11,14 @@
|
|||||||
|
|
||||||
namespace boost_no_auto_declarations {
|
namespace boost_no_auto_declarations {
|
||||||
|
|
||||||
void check_f(int& x)
|
void check(int& x)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
auto x = 10;
|
auto x = 10;
|
||||||
check_f(x);
|
check(x);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,14 +11,14 @@
|
|||||||
|
|
||||||
namespace boost_no_auto_multideclarations {
|
namespace boost_no_auto_multideclarations {
|
||||||
|
|
||||||
void check_f(int& x, int*& y)
|
void check(int& x, int*& y)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
auto x = 10, *y = &x;
|
auto x = 10, *y = &x;
|
||||||
check_f(x, y);
|
check(x, y);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// (C) Copyright Beman Dawes 2008
|
// (C) Copyright Beman Dawes 2008
|
||||||
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@@ -15,7 +14,7 @@ namespace boost_no_char16_t {
|
|||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
const char16_t* p = u"abc";
|
char16_t c;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace boost_no_char32_t {
|
|||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
const char32_t* p = U"abc";
|
char32_t c;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// (C) Copyright Beman Dawes 2008
|
// (C) Copyright Beman Dawes 2008
|
||||||
|
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@@ -13,34 +12,10 @@
|
|||||||
|
|
||||||
namespace boost_no_decltype {
|
namespace boost_no_decltype {
|
||||||
|
|
||||||
struct test_class
|
|
||||||
{
|
|
||||||
test_class() {}
|
|
||||||
};
|
|
||||||
|
|
||||||
test_class get_test_class()
|
|
||||||
{
|
|
||||||
return test_class();
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename F>
|
|
||||||
void baz(F f)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
// Strangely VC-10 deduces the return type of F
|
|
||||||
// to be "test_class&". Remove the constructor
|
|
||||||
// from test_class and then decltype does work OK!!
|
|
||||||
//
|
|
||||||
typedef decltype(f()) res;
|
|
||||||
res r;
|
|
||||||
}
|
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
decltype(i) j;
|
decltype(i) j;
|
||||||
decltype(get_test_class()) k;
|
|
||||||
baz(get_test_class);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,26 +12,7 @@
|
|||||||
|
|
||||||
namespace boost_no_extern_template {
|
namespace boost_no_extern_template {
|
||||||
|
|
||||||
template<class T, class U> void f(T const* p, U const* q)
|
extern template<class T> void f(T);
|
||||||
{
|
|
||||||
p = q;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
class must_not_compile
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
void f(T const* p, int const* q);
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
void must_not_compile<T>::f(T const* p, int const* q)
|
|
||||||
{
|
|
||||||
p = q;
|
|
||||||
}
|
|
||||||
|
|
||||||
extern template void f<>(int const*, float const*);
|
|
||||||
extern template class must_not_compile<int>;
|
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,78 +0,0 @@
|
|||||||
// (C) Copyright John Maddock 2001.
|
|
||||||
// (C) Copyright Bryce Lelbach 2010.
|
|
||||||
// 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 most recent version.
|
|
||||||
|
|
||||||
// MACRO: BOOST_NO_FENV_H
|
|
||||||
// TITLE: fenv.h
|
|
||||||
// DESCRIPTION: There is no POSIX <fenv.h> available. If <fenv.h> is
|
|
||||||
// available, <boost/detail/fenv.hpp> should be included
|
|
||||||
// instead of directly including <fenv.h>.
|
|
||||||
|
|
||||||
#include <boost/detail/fenv.hpp>
|
|
||||||
|
|
||||||
namespace boost_no_fenv_h {
|
|
||||||
|
|
||||||
int test()
|
|
||||||
{
|
|
||||||
/// POSIX required typedefs
|
|
||||||
typedef ::fenv_t has_fenv_t;
|
|
||||||
typedef ::fexcept_t has_fexcept_t;
|
|
||||||
|
|
||||||
/// POSIX required macros
|
|
||||||
#if !defined(FE_DIVBYZERO)
|
|
||||||
#error platform does not define FE_DIVBYZERO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_INEXACT)
|
|
||||||
#error platform does not define FE_INEXACT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_INVALID)
|
|
||||||
#error platform does not define FE_INVALID
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_OVERFLOW)
|
|
||||||
#error platform does not define FE_OVERFLOW
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_UNDERFLOW)
|
|
||||||
#error platform does not define FE_UNDERFLOW
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_DOWNWARD)
|
|
||||||
#error platform does not define FE_DOWNWARD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_TONEAREST)
|
|
||||||
#error platform does not define FE_TONEAREST
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_UPWARD)
|
|
||||||
#error platform does not define FE_UPWARD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(FE_DFL_ENV)
|
|
||||||
#error platform does not define FE_DFL_ENV
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int (*has_feclearexcept)(int) = ::feclearexcept;
|
|
||||||
int (*has_fegetenv)(fenv_t*) = ::fegetenv;
|
|
||||||
int (*has_fegetexcept)(fexcept_t*, int) = ::fegetexcept;
|
|
||||||
int (*has_fegetround)(void) = ::fegetround;
|
|
||||||
int (*has_feholdexcept)(fenv_t*) = ::feholdexcept;
|
|
||||||
int (*has_feraiseexcept)(int) = ::feraiseexcept;
|
|
||||||
int (*has_fesetenv)(const fenv_t*) = ::fesetenv;
|
|
||||||
int (*has_fesetexceptflag)(const fexcept_t*, int) = ::fesetexceptflag;
|
|
||||||
int (*has_fesetround)(int) = ::fesetround;
|
|
||||||
int (*has_fetestexcept)(int) = ::fetestexcept;
|
|
||||||
int (*has_feupdateenv)(const fenv_t*) = ::feupdateenv;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -11,18 +11,11 @@
|
|||||||
// DESCRIPTION: If the compiler does not support C++0x initializer lists
|
// DESCRIPTION: If the compiler does not support C++0x initializer lists
|
||||||
|
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace boost_no_initializer_lists {
|
namespace boost_no_initializer_lists {
|
||||||
|
|
||||||
void f(std::initializer_list<int>)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
std::vector<std::string> v{"once", "upon", "a", "time"}; // See C++ std 8.5.4
|
|
||||||
f( { 1, 2, 3, 4 } );
|
|
||||||
std::initializer_list<int> x = { 1, 2 };
|
std::initializer_list<int> x = { 1, 2 };
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,9 @@ __extension__
|
|||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
return llt<mask>::value != (1uLL << 50);
|
llt<mask> m;
|
||||||
|
(void)m;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
// (C) Copyright Vicente J. Botet Escriba 2010.
|
|
||||||
// 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 most recent version.
|
|
||||||
|
|
||||||
// MACRO: BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
// TITLE: static function lowest() in numeric_limits class <limits>
|
|
||||||
// DESCRIPTION: static function numeric_limits<T>::lowest() are not available for use.
|
|
||||||
|
|
||||||
#include <limits>
|
|
||||||
|
|
||||||
namespace boost_no_numeric_limits_lowest{
|
|
||||||
|
|
||||||
int f()
|
|
||||||
{
|
|
||||||
// this is never called, it just has to compile:
|
|
||||||
return std::numeric_limits<int>::lowest();
|
|
||||||
}
|
|
||||||
|
|
||||||
int test()
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -13,31 +13,15 @@
|
|||||||
namespace boost_no_nested_friendship {
|
namespace boost_no_nested_friendship {
|
||||||
|
|
||||||
class A {
|
class A {
|
||||||
public:
|
|
||||||
A() {}
|
|
||||||
struct B {
|
|
||||||
int f(A& a)
|
|
||||||
{
|
|
||||||
a.f1();
|
|
||||||
a.f2(a);
|
|
||||||
return a.b;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
private:
|
|
||||||
static int b;
|
static int b;
|
||||||
static void f1(){}
|
class B {
|
||||||
template <class T>
|
int f() { return b; }
|
||||||
static void f2(const T&){}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
int A::b = 0;
|
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
A a;
|
return 0;
|
||||||
A::B b;
|
|
||||||
return b.f(a);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ namespace boost_no_raw_literals {
|
|||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
const char* s = R"(abc)";
|
const char* s = R"[abc]";
|
||||||
const wchar_t* ws = LR"(abc)";
|
const wchar_t* ws = LR"[abc]";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ void B::t()
|
|||||||
namespace boost_no_rtti
|
namespace boost_no_rtti
|
||||||
{
|
{
|
||||||
|
|
||||||
int check_f(const A& a)
|
int check(const A& a)
|
||||||
{
|
{
|
||||||
return typeid(a) == typeid(B) ? 0 : 1;
|
return typeid(a) == typeid(B) ? 0 : 1;
|
||||||
}
|
}
|
||||||
@@ -45,7 +45,7 @@ int test()
|
|||||||
{
|
{
|
||||||
try{
|
try{
|
||||||
B b;
|
B b;
|
||||||
return check_f(b);
|
return check(b);
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,62 +0,0 @@
|
|||||||
// Copyright (C) 2010 Edward Diener
|
|
||||||
// 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 most recent version.
|
|
||||||
|
|
||||||
// MACRO: BOOST_NO_VARIADIC_MACROS
|
|
||||||
// TITLE: C++0x variadic macros unavailable
|
|
||||||
// DESCRIPTION: The compiler does not support C++0x variadic macros
|
|
||||||
|
|
||||||
// This is a simple test
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_SIMPLE(avalue,...) __VA_ARGS__
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
This is a more complicated test, which Steve Watanabe graciously
|
|
||||||
supplied, when I asked if it were possible to strip the parantheses
|
|
||||||
from a macro argument. I have changed the names somewhat to prevent
|
|
||||||
any common clashes with other macros in the config testing suite
|
|
||||||
by prepending to each macro name TEST_VARIADIC_MACRO_.
|
|
||||||
|
|
||||||
You may find this test overdone and may want to remove it.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_CAT(x, y) TEST_VARIADIC_MACRO_CAT_I(x, y)
|
|
||||||
#define TEST_VARIADIC_MACRO_CAT_I(x, y) x ## y
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_APPLY(macro, args) TEST_VARIADIC_MACRO_APPLY_I(macro, args)
|
|
||||||
#define TEST_VARIADIC_MACRO_APPLY_I(macro, args) macro args
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_STRIP_PARENS(x) TEST_VARIADIC_MACRO_EVAL((TEST_VARIADIC_MACRO_STRIP_PARENS_I x), x)
|
|
||||||
#define TEST_VARIADIC_MACRO_STRIP_PARENS_I(...) 1,1
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_EVAL(test, x) TEST_VARIADIC_MACRO_EVAL_I(test, x)
|
|
||||||
#define TEST_VARIADIC_MACRO_EVAL_I(test, x) TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS(TEST_VARIADIC_MACRO_TEST_ARITY test, x)
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_TEST_ARITY(...) TEST_VARIADIC_MACRO_APPLY(TEST_VARIADIC_MACRO_TEST_ARITY_I, (__VA_ARGS__, 2, 1))
|
|
||||||
#define TEST_VARIADIC_MACRO_TEST_ARITY_I(a,b,c,...) c
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS(cond, x) TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_I(cond, x)
|
|
||||||
#define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_I(cond, x) TEST_VARIADIC_MACRO_CAT(TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_, cond)(x)
|
|
||||||
|
|
||||||
#define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_1(x) x
|
|
||||||
#define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2(x) TEST_VARIADIC_MACRO_APPLY(TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2_I, x)
|
|
||||||
#define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2_I(...) __VA_ARGS__
|
|
||||||
|
|
||||||
namespace boost_no_variadic_macros {
|
|
||||||
|
|
||||||
template<TEST_VARIADIC_MACRO_STRIP_PARENS((typename T,int))> struct test_variadic_macro_class {};
|
|
||||||
|
|
||||||
int test()
|
|
||||||
{
|
|
||||||
|
|
||||||
int x = TEST_VARIADIC_MACRO_STRIP_PARENS(3);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
+13
-14
@@ -27,10 +27,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
# include <_mingw.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static unsigned int indent = 4;
|
static unsigned int indent = 4;
|
||||||
static unsigned int width = 40;
|
static unsigned int width = 40;
|
||||||
|
|
||||||
@@ -798,8 +794,6 @@ void print_platform_macros()
|
|||||||
PRINT_MACRO(_THREAD_SAFE);
|
PRINT_MACRO(_THREAD_SAFE);
|
||||||
PRINT_MACRO(_XOPEN_SOURCE_EXTENDED);
|
PRINT_MACRO(_XOPEN_SOURCE_EXTENDED);
|
||||||
PRINT_MACRO(XPG);
|
PRINT_MACRO(XPG);
|
||||||
PRINT_MACRO(__MINGW32_MAJOR_VERSION);
|
|
||||||
PRINT_MACRO(__MINGW32_MINOR_VERSION);
|
|
||||||
// POSIX:
|
// POSIX:
|
||||||
PRINT_MACRO(_POSIX_ADVISORY_INFO);
|
PRINT_MACRO(_POSIX_ADVISORY_INFO);
|
||||||
PRINT_MACRO(_POSIX_ASYNCHRONOUS_IO);
|
PRINT_MACRO(_POSIX_ASYNCHRONOUS_IO);
|
||||||
@@ -906,7 +900,6 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
||||||
PRINT_MACRO(BOOST_DISABLE_WIN32);
|
PRINT_MACRO(BOOST_DISABLE_WIN32);
|
||||||
PRINT_MACRO(BOOST_HAS_THREADS);
|
PRINT_MACRO(BOOST_HAS_THREADS);
|
||||||
PRINT_MACRO(BOOST_WINDOWS);
|
|
||||||
|
|
||||||
// BEGIN GENERATED BLOCK DO NOT EDIT THIS!!!!!!
|
// BEGIN GENERATED BLOCK DO NOT EDIT THIS!!!!!!
|
||||||
PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG);
|
PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG);
|
||||||
@@ -981,7 +974,6 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_0X_HDR_SYSTEM_ERROR);
|
PRINT_MACRO(BOOST_NO_0X_HDR_SYSTEM_ERROR);
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_THREAD);
|
PRINT_MACRO(BOOST_NO_0X_HDR_THREAD);
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_TUPLE);
|
PRINT_MACRO(BOOST_NO_0X_HDR_TUPLE);
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_TYPEINDEX);
|
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_TYPE_TRAITS);
|
PRINT_MACRO(BOOST_NO_0X_HDR_TYPE_TRAITS);
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_MAP);
|
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_MAP);
|
||||||
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_SET);
|
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_SET);
|
||||||
@@ -993,7 +985,6 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_AUTO_PTR);
|
PRINT_MACRO(BOOST_NO_AUTO_PTR);
|
||||||
PRINT_MACRO(BOOST_NO_CHAR16_T);
|
PRINT_MACRO(BOOST_NO_CHAR16_T);
|
||||||
PRINT_MACRO(BOOST_NO_CHAR32_T);
|
PRINT_MACRO(BOOST_NO_CHAR32_T);
|
||||||
PRINT_MACRO(BOOST_NO_COMPLETE_VALUE_INITIALIZATION);
|
|
||||||
PRINT_MACRO(BOOST_NO_CONCEPTS);
|
PRINT_MACRO(BOOST_NO_CONCEPTS);
|
||||||
PRINT_MACRO(BOOST_NO_CONSTEXPR);
|
PRINT_MACRO(BOOST_NO_CONSTEXPR);
|
||||||
PRINT_MACRO(BOOST_NO_CTYPE_FUNCTIONS);
|
PRINT_MACRO(BOOST_NO_CTYPE_FUNCTIONS);
|
||||||
@@ -1033,7 +1024,6 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
||||||
PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP);
|
PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP);
|
||||||
PRINT_MACRO(BOOST_NO_NULLPTR);
|
PRINT_MACRO(BOOST_NO_NULLPTR);
|
||||||
PRINT_MACRO(BOOST_NO_NUMERIC_LIMITS_LOWEST);
|
|
||||||
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS);
|
PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS);
|
||||||
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
||||||
@@ -1074,19 +1064,28 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
||||||
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
||||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||||
PRINT_MACRO(BOOST_NO_VARIADIC_MACROS);
|
|
||||||
PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES);
|
PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES);
|
||||||
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// END GENERATED BLOCK
|
// END GENERATED BLOCK
|
||||||
|
|
||||||
PRINT_MACRO(BOOST_INTEL);
|
PRINT_MACRO(BOOST_INTEL);
|
||||||
PRINT_MACRO(BOOST_MSVC);
|
PRINT_MACRO(BOOST_MSVC);
|
||||||
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_UNREACHABLE_RETURN(0));
|
PRINT_MACRO(BOOST_UNREACHABLE_RETURN(0));
|
||||||
PRINT_MACRO(BOOST_CONSTEXPR);
|
|
||||||
PRINT_MACRO(BOOST_CONSTEXPR_OR_CONST);
|
|
||||||
PRINT_MACRO(BOOST_STATIC_CONSTEXPR);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_separator()
|
void print_separator()
|
||||||
|
|||||||
+1
-41
@@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Sat Sep 25 16:53:42 2010
|
// This file was automatically generated on Sun Oct 11 13:04:18 2009
|
||||||
// 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
|
||||||
@@ -112,11 +112,6 @@ namespace boost_no_0x_hdr_thread = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_0x_hdr_tuple = empty_boost;
|
namespace boost_no_0x_hdr_tuple = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
#include "boost_no_0x_hdr_typeindex.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_0x_hdr_typeindex = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_0X_HDR_TYPE_TRAITS
|
#ifndef BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
#include "boost_no_0x_hdr_type_traits.ipp"
|
#include "boost_no_0x_hdr_type_traits.ipp"
|
||||||
#else
|
#else
|
||||||
@@ -177,11 +172,6 @@ namespace boost_no_char16_t = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_char32_t = empty_boost;
|
namespace boost_no_char32_t = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#include "boost_no_com_value_init.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_complete_value_initialization = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_CONCEPTS
|
#ifndef BOOST_NO_CONCEPTS
|
||||||
#include "boost_no_concepts.ipp"
|
#include "boost_no_concepts.ipp"
|
||||||
#else
|
#else
|
||||||
@@ -342,11 +332,6 @@ namespace boost_no_limits = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_limits_compile_time_constants = empty_boost;
|
namespace boost_no_limits_compile_time_constants = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
#include "boost_no_limits_lowest.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_numeric_limits_lowest = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||||
#include "boost_no_ll_limits.ipp"
|
#include "boost_no_ll_limits.ipp"
|
||||||
#else
|
#else
|
||||||
@@ -587,11 +572,6 @@ namespace boost_no_using_declaration_overloads_from_typename_base = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_using_template = empty_boost;
|
namespace boost_no_using_template = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_VARIADIC_MACROS
|
|
||||||
#include "boost_no_variadic_macros.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_variadic_macros = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_VARIADIC_TEMPLATES
|
#ifndef BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#include "boost_no_variadic_templates.ipp"
|
#include "boost_no_variadic_templates.ipp"
|
||||||
#else
|
#else
|
||||||
@@ -1211,11 +1191,6 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_0X_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_0X_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
if(0 != boost_no_0x_hdr_typeindex::test())
|
|
||||||
{
|
|
||||||
std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
|
||||||
++error_count;
|
|
||||||
}
|
|
||||||
if(0 != boost_no_0x_hdr_type_traits::test())
|
if(0 != boost_no_0x_hdr_type_traits::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@@ -1276,11 +1251,6 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_CHAR32_T at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_CHAR32_T at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
if(0 != boost_no_complete_value_initialization::test())
|
|
||||||
{
|
|
||||||
std::cerr << "Failed test for BOOST_NO_COMPLETE_VALUE_INITIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
|
||||||
++error_count;
|
|
||||||
}
|
|
||||||
if(0 != boost_no_concepts::test())
|
if(0 != boost_no_concepts::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_CONCEPTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_CONCEPTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@@ -1441,11 +1411,6 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
if(0 != boost_no_numeric_limits_lowest::test())
|
|
||||||
{
|
|
||||||
std::cerr << "Failed test for BOOST_NO_NUMERIC_LIMITS_LOWEST at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
|
||||||
++error_count;
|
|
||||||
}
|
|
||||||
if(0 != boost_no_long_long_numeric_limits::test())
|
if(0 != boost_no_long_long_numeric_limits::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_LONG_LONG_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_LONG_LONG_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@@ -1686,11 +1651,6 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_USING_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_USING_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
if(0 != boost_no_variadic_macros::test())
|
|
||||||
{
|
|
||||||
std::cerr << "Failed test for BOOST_NO_VARIADIC_MACROS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
|
||||||
++error_count;
|
|
||||||
}
|
|
||||||
if(0 != boost_no_variadic_templates::test())
|
if(0 != boost_no_variadic_templates::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_VARIADIC_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_VARIADIC_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
|||||||
@@ -14,6 +14,3 @@ lib link_test : link_test.cpp
|
|||||||
debug release
|
debug release
|
||||||
;
|
;
|
||||||
|
|
||||||
run main.cpp link_test : : : <define>BOOST_DYN_LINK=1 <define>BOOST_CONFIG_NO_LIB <link>shared <runtime-link>shared <threading>single : link_test_test ;
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-33
@@ -9,8 +9,6 @@
|
|||||||
#define BOOST_CONFIG_SOURCE
|
#define BOOST_CONFIG_SOURCE
|
||||||
|
|
||||||
#include "link_test.hpp"
|
#include "link_test.hpp"
|
||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
|
||||||
|
|
||||||
bool BOOST_CONFIG_DECL check_options(
|
bool BOOST_CONFIG_DECL check_options(
|
||||||
bool m_dyn_link,
|
bool m_dyn_link,
|
||||||
@@ -19,36 +17,10 @@ bool BOOST_CONFIG_DECL check_options(
|
|||||||
bool m_debug,
|
bool m_debug,
|
||||||
bool m_stlp_debug)
|
bool m_stlp_debug)
|
||||||
{
|
{
|
||||||
if(m_dyn_link != dyn_link)
|
return (m_dyn_link == dyn_link)
|
||||||
{
|
&& (m_dyn_rtl == dyn_rtl)
|
||||||
std::cout << "Dynamic link options do not match" << std::endl;
|
&& (m_has_threads == has_threads)
|
||||||
std::cout << "Application setting = " << m_dyn_link << " Library setting = " << dyn_link << std::endl;
|
&& (m_debug == debug)
|
||||||
return false;
|
&& (m_stlp_debug == stl_debug);
|
||||||
}
|
|
||||||
if(m_dyn_rtl != dyn_rtl)
|
|
||||||
{
|
|
||||||
std::cout << "Runtime library options do not match" << std::endl;
|
|
||||||
std::cout << "Application setting = " << m_dyn_rtl << " Library setting = " << dyn_rtl << std::endl;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if(m_has_threads != has_threads)
|
|
||||||
{
|
|
||||||
std::cout << "Threading options do not match" << std::endl;
|
|
||||||
std::cout << "Application setting = " << m_has_threads << " Library setting = " << has_threads << std::endl;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if(m_debug != debug)
|
|
||||||
{
|
|
||||||
std::cout << "Debug options do not match" << std::endl;
|
|
||||||
std::cout << "Application setting = " << m_debug << " Library setting = " << debug << std::endl;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if(m_stlp_debug != stl_debug)
|
|
||||||
{
|
|
||||||
std::cout << "STLPort debug options do not match" << std::endl;
|
|
||||||
std::cout << "Application setting = " << m_stlp_debug << " Library setting = " << stl_debug << std::endl;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-34
@@ -44,11 +44,11 @@ static const bool stl_debug = false;
|
|||||||
//
|
//
|
||||||
// set up import and export options:
|
// set up import and export options:
|
||||||
//
|
//
|
||||||
#if defined(BOOST_DYN_LINK)
|
#if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_DYN_LINK)
|
||||||
# ifdef BOOST_CONFIG_SOURCE
|
# ifdef BOOST_CONFIG_SOURCE
|
||||||
# define BOOST_CONFIG_DECL BOOST_SYMBOL_EXPORT
|
# define BOOST_CONFIG_DECL __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
# define BOOST_CONFIG_DECL BOOST_SYMBOL_IMPORT
|
# define BOOST_CONFIG_DECL __declspec(dllimport)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_CONFIG_DECL
|
#ifndef BOOST_CONFIG_DECL
|
||||||
@@ -73,36 +73,5 @@ bool BOOST_CONFIG_DECL check_options(
|
|||||||
# include <boost/config/auto_link.hpp>
|
# include <boost/config/auto_link.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
T test_free_proc(T v)
|
|
||||||
{
|
|
||||||
return v;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
struct tester
|
|
||||||
{
|
|
||||||
static int test();
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
int tester<T>::test()
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef BOOST_CONFIG_SOURCE
|
|
||||||
template BOOST_SYMBOL_EXPORT int test_free_proc<int>(int);
|
|
||||||
template BOOST_SYMBOL_EXPORT int tester<int>::test();
|
|
||||||
#else
|
|
||||||
extern template BOOST_SYMBOL_IMPORT int test_free_proc<int>(int);
|
|
||||||
extern template BOOST_SYMBOL_IMPORT int tester<int>::test();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
|
|
||||||
#endif // BOOST_LINK_TEST_HPP
|
#endif // BOOST_LINK_TEST_HPP
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
#ifndef BOOST_NO_EXTERN_TEMPLATE
|
|
||||||
test_free_proc<int>(0);
|
|
||||||
tester<int>::test();
|
|
||||||
#endif
|
|
||||||
return check_options(dyn_link, dyn_rtl, has_threads, debug, stl_debug) ? 0 : -1;
|
return check_options(dyn_link, dyn_rtl, has_threads, debug, stl_debug) ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -69,14 +69,13 @@ autolink-lib link_test : ../link_test.cpp
|
|||||||
:
|
:
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
explicit link_test ;
|
explicit link_test ;
|
||||||
|
|
||||||
run ../main.cpp link_test
|
run ../main.cpp link_test
|
||||||
: : : <toolset>msvc-8.0:<build>no <toolset>msvc-9.0:<build>no <toolset>msvc-10.0:<build>no <link>static <runtime-link>static <threading>single debug : link_test_ssd ;
|
: : : <toolset>msvc-8.0:<build>no <link>static <runtime-link>static <threading>single debug : link_test_ssd ;
|
||||||
|
|
||||||
run ../main.cpp link_test
|
run ../main.cpp link_test
|
||||||
: : : <toolset>msvc-8.0:<build>no <toolset>msvc-9.0:<build>no <toolset>msvc-10.0:<build>no <link>static <runtime-link>static <threading>single release : link_test_ssr ;
|
: : : <toolset>msvc-8.0:<build>no <link>static <runtime-link>static <threading>single release : link_test_ssr ;
|
||||||
|
|
||||||
run ../main.cpp link_test
|
run ../main.cpp link_test
|
||||||
: : : <link>static <runtime-link>static <threading>multi debug : link_test_smd ;
|
: : : <link>static <runtime-link>static <threading>multi debug : link_test_smd ;
|
||||||
@@ -114,4 +113,3 @@ run ../main.cpp link_test
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Fri Jun 04 12:51:34 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
// This file should not compile, if it does then
|
|
||||||
// BOOST_NO_0X_HDR_TYPEINDEX should not be defined.
|
|
||||||
// See file boost_no_0x_hdr_typeindex.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_0X_HDR_TYPEINDEX
|
|
||||||
#include "boost_no_0x_hdr_typeindex.ipp"
|
|
||||||
#else
|
|
||||||
#error "this file should not compile"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_0x_hdr_typeindex::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Fri Jun 04 12:51:34 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
// This file should compile, if it does not then
|
|
||||||
// BOOST_NO_0X_HDR_TYPEINDEX should be defined.
|
|
||||||
// See file boost_no_0x_hdr_typeindex.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_0X_HDR_TYPEINDEX
|
|
||||||
#include "boost_no_0x_hdr_typeindex.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_0x_hdr_typeindex = empty_boost;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_0x_hdr_typeindex::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Fri Apr 09 12:24:53 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
// This file should not compile, if it does then
|
|
||||||
// BOOST_NO_COMPLETE_VALUE_INITIALIZATION should not be defined.
|
|
||||||
// See file boost_no_com_value_init.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_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#include "boost_no_com_value_init.ipp"
|
|
||||||
#else
|
|
||||||
#error "this file should not compile"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_complete_value_initialization::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Fri Apr 09 12:24:53 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
// This file should compile, if it does not then
|
|
||||||
// BOOST_NO_COMPLETE_VALUE_INITIALIZATION should be defined.
|
|
||||||
// See file boost_no_com_value_init.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_COMPLETE_VALUE_INITIALIZATION
|
|
||||||
#include "boost_no_com_value_init.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_complete_value_initialization = empty_boost;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_complete_value_initialization::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
// Copyright Bryce Lelbach 2010.
|
|
||||||
// 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.
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_FENV_H
|
|
||||||
// This file should not compile, if it does then
|
|
||||||
// BOOST_NO_FENV_H should not be defined.
|
|
||||||
// See file boost_no_fenv_h.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_FENV_H
|
|
||||||
#include "boost_no_fenv_h.ipp"
|
|
||||||
#else
|
|
||||||
#error "this file should not compile"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_fenv_h::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
// Copyright Bryce Lelbach 2010.
|
|
||||||
// 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.
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_FENV_H
|
|
||||||
// This file should compile, if it does not then
|
|
||||||
// BOOST_NO_FENV_H should be defined.
|
|
||||||
// See file boost_no_fenv_h.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_FENV_H
|
|
||||||
#include "boost_no_fenv_h.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_fenv_h = empty_boost;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_fenv_h::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Sat Sep 25 16:53:41 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
// This file should not compile, if it does then
|
|
||||||
// BOOST_NO_NUMERIC_LIMITS_LOWEST should not be defined.
|
|
||||||
// See file boost_no_limits_lowest.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_NUMERIC_LIMITS_LOWEST
|
|
||||||
#include "boost_no_limits_lowest.ipp"
|
|
||||||
#else
|
|
||||||
#error "this file should not compile"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_numeric_limits_lowest::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Sat Sep 25 16:53:41 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST
|
|
||||||
// This file should compile, if it does not then
|
|
||||||
// BOOST_NO_NUMERIC_LIMITS_LOWEST should be defined.
|
|
||||||
// See file boost_no_limits_lowest.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_NUMERIC_LIMITS_LOWEST
|
|
||||||
#include "boost_no_limits_lowest.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_numeric_limits_lowest = empty_boost;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_numeric_limits_lowest::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Tue Aug 17 09:59:01 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_VARIADIC_MACROS
|
|
||||||
// This file should not compile, if it does then
|
|
||||||
// BOOST_NO_VARIADIC_MACROS should not be defined.
|
|
||||||
// See file boost_no_variadic_macros.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_VARIADIC_MACROS
|
|
||||||
#include "boost_no_variadic_macros.ipp"
|
|
||||||
#else
|
|
||||||
#error "this file should not compile"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_variadic_macros::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated on Tue Aug 17 09:59:01 2010
|
|
||||||
// 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: generate.cpp 49281 2008-10-11 15:40:44Z johnmaddock $
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
// Test file for macro BOOST_NO_VARIADIC_MACROS
|
|
||||||
// This file should compile, if it does not then
|
|
||||||
// BOOST_NO_VARIADIC_MACROS should be defined.
|
|
||||||
// See file boost_no_variadic_macros.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_VARIADIC_MACROS
|
|
||||||
#include "boost_no_variadic_macros.ipp"
|
|
||||||
#else
|
|
||||||
namespace boost_no_variadic_macros = empty_boost;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main( int, char *[] )
|
|
||||||
{
|
|
||||||
return boost_no_variadic_macros::test();
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user