forked from boostorg/config
Compare commits
264 Commits
boost-1.25
...
boost-1.30
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
027a183e99 | ||
|
|
74273c680b | ||
|
|
eca02b259d | ||
|
|
dc1a500cc6 | ||
|
|
fcc6f41a56 | ||
|
|
d11fe4464a | ||
|
|
283d55a144 | ||
|
|
261a01ccab | ||
|
|
f07d411903 | ||
|
|
44d1e083e8 | ||
|
|
0a24a02b94 | ||
|
|
adbd58188c | ||
|
|
c90afc4022 | ||
|
|
9d6d544940 | ||
|
|
2a0358cb5f | ||
|
|
ded9a55c2d | ||
|
|
39d0339f38 | ||
|
|
8c654b6131 | ||
|
|
ddd1594f79 | ||
|
|
598573bd19 | ||
|
|
b0aa8f3c2c | ||
|
|
e4171501b5 | ||
|
|
609a9b1721 | ||
|
|
10b23200bb | ||
|
|
e457f90dfa | ||
|
|
659d73e807 | ||
|
|
1789378a6e | ||
|
|
c2f2333c2d | ||
|
|
043ada7c08 | ||
|
|
18e4652814 | ||
|
|
7c7da1d09a | ||
|
|
ce94616f6e | ||
|
|
783b6407c3 | ||
|
|
bd3900cb28 | ||
|
|
6fc288a2cd | ||
|
|
21922c5b5b | ||
|
|
5e5eaae566 | ||
|
|
3ada4c5873 | ||
|
|
ff6bee14c8 | ||
|
|
75d1036e2b | ||
|
|
941d72d8df | ||
|
|
6b980a5a2d | ||
|
|
430d235b4e | ||
|
|
3596eec09a | ||
|
|
555d41525d | ||
|
|
eb0e48ba27 | ||
|
|
09ab4bc87b | ||
|
|
0c41779a38 | ||
|
|
dd33b06231 | ||
|
|
a7e89b0c67 | ||
|
|
93c84f7657 | ||
|
|
180d63457b | ||
|
|
b09fd33660 | ||
|
|
2ca6ac7df2 | ||
|
|
ea44ab1401 | ||
|
|
0ec58eab08 | ||
|
|
3c3999d851 | ||
|
|
49ab0b66d5 | ||
|
|
14bbe68053 | ||
|
|
f217166b21 | ||
|
|
48b23b5064 | ||
|
|
f0ab8c6d41 | ||
|
|
49e2972952 | ||
|
|
253bd15cf1 | ||
|
|
f72495d8b5 | ||
|
|
7302ec29fe | ||
|
|
9ec9927674 | ||
|
|
e1504cfb2e | ||
|
|
c980eca229 | ||
|
|
b0310d66ea | ||
|
|
397e88754d | ||
|
|
8c49d00328 | ||
|
|
61cc49fd2f | ||
|
|
78dddbc032 | ||
|
|
f7ca700f8a | ||
|
|
a37bdd82b5 | ||
|
|
1ac93b8c1a | ||
|
|
beeb65b38d | ||
|
|
d3a4cda4c0 | ||
|
|
d3cc222fe9 | ||
|
|
5241fbdd13 | ||
|
|
4000c1eeed | ||
|
|
398a9b79f0 | ||
|
|
cb0286c416 | ||
|
|
b99b9771c1 | ||
|
|
e0d2db8a3d | ||
|
|
d6a89e7d49 | ||
|
|
414d604f79 | ||
|
|
3dfd72e3bc | ||
|
|
9a536e3f28 | ||
|
|
7c8d4f23ce | ||
|
|
93a28fab3b | ||
|
|
51aac5ee14 | ||
|
|
ec0bf8e76a | ||
|
|
f591b2901f | ||
|
|
392bbe5700 | ||
|
|
81097e309e | ||
|
|
0c1888c352 | ||
|
|
053c1fb45f | ||
|
|
56c052de56 | ||
|
|
23308946c7 | ||
|
|
3168ad683a | ||
|
|
3a70564582 | ||
|
|
06034f2281 | ||
|
|
f1d6e86af9 | ||
|
|
5406c65596 | ||
|
|
5c7f8b9290 | ||
|
|
113cded49d | ||
|
|
08cf657ad4 | ||
|
|
224e97fbb6 | ||
|
|
bc1b510b18 | ||
|
|
99b01de780 | ||
|
|
873f5745a6 | ||
|
|
f6c78ce85d | ||
|
|
8f83b72cfb | ||
|
|
2fbcada958 | ||
|
|
b79fe524db | ||
|
|
2f2fe38142 | ||
|
|
a02e3a0b7e | ||
|
|
17dcb7eabb | ||
|
|
388bf56907 | ||
|
|
739a468531 | ||
|
|
03affa0d41 | ||
|
|
a2e706b74a | ||
|
|
d0e59f4b09 | ||
|
|
52a0dc9a14 | ||
|
|
edc44fc45d | ||
|
|
234c93f760 | ||
|
|
d88a4e5f15 | ||
|
|
71bb9dcb7e | ||
|
|
c039069703 | ||
|
|
a10341d270 | ||
|
|
b6045d7e4a | ||
|
|
d8cfcaf517 | ||
|
|
b44b6d5082 | ||
|
|
8dfc8e3813 | ||
|
|
d1c3bf73de | ||
|
|
697f09e480 | ||
|
|
9e02db296c | ||
|
|
6b5a580456 | ||
|
|
33badb1465 | ||
|
|
40652fd38b | ||
|
|
8b19f71d8b | ||
|
|
529cd10632 | ||
|
|
9bbd6ebd4e | ||
|
|
86fdd6b8b7 | ||
|
|
125d0a3960 | ||
|
|
2b3a97d877 | ||
|
|
1c7875b8f3 | ||
|
|
f60564c3fc | ||
|
|
e9a05a8e99 | ||
|
|
77408f35fa | ||
|
|
6c739c164c | ||
|
|
9689b13885 | ||
|
|
32b9a941eb | ||
|
|
98c7b04e09 | ||
|
|
8e4cc7303b | ||
|
|
70bbd4f23e | ||
|
|
6018d270bc | ||
|
|
7e7c15a4cc | ||
|
|
69ad1282a3 | ||
|
|
a62b71e0f7 | ||
|
|
e21b6658c9 | ||
|
|
bd52ac9181 | ||
|
|
57743254f6 | ||
|
|
8d9d0c50da | ||
|
|
10f4ccdeb5 | ||
|
|
2e8d7faec6 | ||
|
|
43130a3d85 | ||
|
|
77c2b1f807 | ||
|
|
bdf2ddfb26 | ||
|
|
4091f8c54f | ||
|
|
a42bc25797 | ||
|
|
95579505ba | ||
|
|
dfdd6c27c0 | ||
|
|
466f871557 | ||
|
|
577d925828 | ||
|
|
d4cb507015 | ||
|
|
82c4ce106f | ||
|
|
c556aa4e2d | ||
|
|
b73d7be5f1 | ||
|
|
ed54a93299 | ||
|
|
0483b05a98 | ||
|
|
b9cd52c6a2 | ||
|
|
78793dd2ba | ||
|
|
810fea3ae9 | ||
|
|
3cc12ab7e0 | ||
|
|
5dcc786a6d | ||
|
|
ae5fdbe5f4 | ||
|
|
1a8c1dda68 | ||
|
|
2a53a7458e | ||
|
|
cf0493ff14 | ||
|
|
6a41c69ad6 | ||
|
|
cdd885bc28 | ||
|
|
63dc3c2a64 | ||
|
|
ebc6c751ac | ||
|
|
5435b76457 | ||
|
|
3b5fa98ad0 | ||
|
|
59dd992f5f | ||
|
|
84c8b8180f | ||
|
|
906226607b | ||
|
|
7b623f0998 | ||
|
|
5390cbc736 | ||
|
|
279fff7821 | ||
|
|
96026e7152 | ||
|
|
0a31cf05f6 | ||
|
|
cdb0120c91 | ||
|
|
817241d9c9 | ||
|
|
ec39a3ca36 | ||
|
|
4f21fcf5da | ||
|
|
b520cf5d9f | ||
|
|
0bbfde6d71 | ||
|
|
2131184c6e | ||
|
|
0d7929b698 | ||
|
|
e440678d4e | ||
|
|
673f4590cd | ||
|
|
c02d987546 | ||
|
|
ac6e44953b | ||
|
|
91548127fd | ||
|
|
fe476f7923 | ||
|
|
824fccf457 | ||
|
|
57683a3a42 | ||
|
|
31daafada8 | ||
|
|
26b772c3cc | ||
|
|
188e522fc9 | ||
|
|
c3024d2a6c | ||
|
|
ecd63c5809 | ||
|
|
6221145c0a | ||
|
|
951e46f0f0 | ||
|
|
d449ccb591 | ||
|
|
26783c6679 | ||
|
|
4a52042c75 | ||
|
|
10b5a8cc1c | ||
|
|
003fceb582 | ||
|
|
8126210523 | ||
|
|
382bb3cc08 | ||
|
|
c2ed94bee0 | ||
|
|
c7ba2a0704 | ||
|
|
8e577f1e8b | ||
|
|
07d86e9ca1 | ||
|
|
2b77c9bfb5 | ||
|
|
3f58e08292 | ||
|
|
e899c77505 | ||
|
|
3c9f7b61fe | ||
|
|
4ca0738b27 | ||
|
|
ebc4ba8796 | ||
|
|
2069d5ad13 | ||
|
|
4f01724912 | ||
|
|
bb18d81860 | ||
|
|
780d8dcb95 | ||
|
|
7b544cc9c3 | ||
|
|
b70903dca0 | ||
|
|
5e28fcc6ab | ||
|
|
f49ba073ca | ||
|
|
a4073dbdc2 | ||
|
|
5698a3da9c | ||
|
|
bb8bb5fb72 | ||
|
|
8a851846ce | ||
|
|
2570b3ba7f | ||
|
|
d8e8bfc667 | ||
|
|
41747deb59 | ||
|
|
67bc121441 | ||
|
|
f85f7eead2 | ||
|
|
30fb4ad5fa |
268
config.htm
268
config.htm
@@ -5,13 +5,14 @@
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="Template"
|
||||
content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||
<title></title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" link="#0000FF" vlink="#800080">
|
||||
|
||||
<p align="left"><img src="../../c++boost.gif" width="277" height="86"></p>
|
||||
<p align="left"><img src="../../c++boost.gif" alt="Boost"
|
||||
width="277" height="86"></p>
|
||||
|
||||
<h1 align="center">Boost Configuration Reference</h1>
|
||||
|
||||
@@ -41,29 +42,35 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
<h4><a name="default_config"></a>Using the default boost
|
||||
configuration</h4>
|
||||
|
||||
<p>Boost is comes already configured
|
||||
for most common compilers and platforms; you should be able to use boost "as
|
||||
is". Since the compiler is
|
||||
configured separately from the standard library, the default configuration
|
||||
should work even if you replace the compiler's standard
|
||||
library with a third-party standard library (like <a href="http://www.stlport.org"> STLport</a>). </p>
|
||||
<p>Boost is comes already configured for most common compilers
|
||||
and platforms; you should be able to use boost "as is".
|
||||
Since the compiler is configured separately from the standard
|
||||
library, the default configuration should work even if you
|
||||
replace the compiler's standard library with a third-party
|
||||
standard library (like <a href="http://www.stlport.org">STLport</a>).
|
||||
</p>
|
||||
|
||||
<p>Using boost "as is" without trying to reconfigure is the recommended method
|
||||
for using boost. You can, however, run the configure script if you want to, and there are regression tests
|
||||
<p>Using boost "as is" without trying to reconfigure is
|
||||
the recommended method for using boost. You can, however, run the
|
||||
configure script if you want to, and there are regression tests
|
||||
provided that allow you to test the current boost configuration
|
||||
with your particular compiler setup.</p>
|
||||
|
||||
<p>Boost library users can request support for additional compilers or platforms
|
||||
by visiting our <a href="http://sourceforge.net/tracker/?group_id=7586">
|
||||
Tracker</a> and submitting a support request. </p>
|
||||
<p>Boost library users can request support for additional
|
||||
compilers or platforms by visiting our <a
|
||||
href="http://sourceforge.net/tracker/?group_id=7586">Tracker</a>
|
||||
and submitting a support request. </p>
|
||||
|
||||
<h4>The <a href="../../boost/config.hpp"><boost/config.hpp></a> <a name="header">header</a></h4>
|
||||
<h4>The <a href="../../boost/config.hpp"><boost/config.hpp></a>
|
||||
<a name="header">header</a></h4>
|
||||
|
||||
<p>Boost library implementations access configuration macros via <code> #include <boost/config.hpp></code>. </p>
|
||||
<p>Boost library implementations access configuration macros via <code>#include
|
||||
<boost/config.hpp></code>. </p>
|
||||
|
||||
<p>Boost library users are never required to <code> #include <boost/config.hpp></code>,
|
||||
and are discouraged from doing so on their own. It is an implementation detail
|
||||
which is subject to change, and thus should not be depended upon by users. </p>
|
||||
<p>Boost library users are never required to <code>#include
|
||||
<boost/config.hpp></code>, and are discouraged from doing
|
||||
so on their own. It is an implementation detail which is subject
|
||||
to change, and thus should not be depended upon by users. </p>
|
||||
|
||||
<h4><a name="config_script">Using the configure script</a></h4>
|
||||
|
||||
@@ -263,6 +270,15 @@ they are listed in the following table: </p>
|
||||
threading support, even if the compiler in its current
|
||||
translation mode supports multiple threads.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_DISABLE_WIN32</td>
|
||||
<td>When defined, disables the use of Win32 specific
|
||||
API's, even when these are available. Also has the effect
|
||||
of setting BOOST_DISABLE_THREADS unless
|
||||
BOOST_HAS_PTHREADS is set. This option may be set
|
||||
automatically by the config system when it detects that
|
||||
the compiler is in "strict mode".</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h4><a name="advanced_config"></a>Advanced configuration usage</h4>
|
||||
@@ -467,6 +483,12 @@ the standard.</p>
|
||||
<td valign="top" width="33%"><p align="center"><b>Description</b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_BCB_PARTIAL_SPECIALIZATION_BUG</td>
|
||||
<td>Compiler</td>
|
||||
<td>The compiler exibits certain partial specialisation
|
||||
bug - probably Borland C++ Builder specific.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
@@ -484,8 +506,9 @@ the standard.</p>
|
||||
<td valign="top" width="51%">BOOST_NO_CTYPE_FUNCTIONS</td>
|
||||
<td valign="top" width="16%">Platform</td>
|
||||
<td valign="top" width="33%">The Platform does not
|
||||
provide functions for the character-classifying operations
|
||||
<ctype.h> and <cctype>, only macros.</td>
|
||||
provide functions for the character-classifying
|
||||
operations <ctype.h> and <cctype>, only
|
||||
macros.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_CV_SPECIALIZATIONS</td>
|
||||
@@ -531,6 +554,23 @@ struct foo : {
|
||||
class X { ... };</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_NO_EXCEPTION_STD_NAMESPACE</td>
|
||||
<td valign="top">Standard Library</td>
|
||||
<td>The standard library does not put some or all of the
|
||||
contents of <exception> in namespace std.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_NO_EXCEPTIONS</td>
|
||||
<td valign="top">Compiler</td>
|
||||
<td>The compiler does not support exception handling (this
|
||||
setting is typically required by many C++ compilers for
|
||||
embedded platforms). Note that there is no requirement
|
||||
for boost libraries to honor this configuration setting -
|
||||
indeed doing so may be impossible in some cases. Those
|
||||
libraries that do honor this will typically abort if a
|
||||
critical error occurs - you have been warned!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
@@ -570,7 +610,9 @@ f(&bar); // should choose #2.</pre>
|
||||
<td valign="top" width="51%">BOOST_NO_LIMITS</td>
|
||||
<td valign="top" width="16%">Standard library</td>
|
||||
<td valign="top" width="33%">The C++ implementation does
|
||||
not provide the <limits> header.</td>
|
||||
not provide the <limits> header. Never check for
|
||||
this symbol in library code; always include <boost/limits.hpp>,
|
||||
which guarantees to provide <code>std::numeric_limits</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS</td>
|
||||
@@ -579,6 +621,21 @@ f(&bar); // should choose #2.</pre>
|
||||
numeric_limits<T>::is_signed are not available for
|
||||
use at compile-time.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_LONG_LONG_NUMERIC_LIMITS</td>
|
||||
<td>Standard library</td>
|
||||
<td>There is no specialization for numeric_limits<long
|
||||
long> and numeric_limits<unsigned long long>.
|
||||
<boost/limits.hpp> will then add these
|
||||
specializations as a standard library "fix"
|
||||
only if the compiler supports the long long datatype.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS</td>
|
||||
<td>Compiler</td>
|
||||
<td>The compiler does not support the specialization of
|
||||
individual member functions of template classes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_MEMBER_TEMPLATE_KEYWORD</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
@@ -599,6 +656,16 @@ f(&bar); // should choose #2.</pre>
|
||||
<td valign="top" width="33%">Member template functions
|
||||
not fully supported.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_MS_INT64_NUMERIC_LIMITS</td>
|
||||
<td>Standard library</td>
|
||||
<td>There is no specialization for
|
||||
numeric_limits<__int64> and
|
||||
numeric_limits<unsigned __int64>. <boost/limits.hpp>
|
||||
will then add these specializations as a standard library
|
||||
"fix", only if the compiler supports the __int64
|
||||
datatype.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_OPERATORS_IN_NAMESPACE</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
@@ -681,6 +748,12 @@ f(&bar); // should choose #2.</pre>
|
||||
<td valign="top" width="33%">The standard library lacks a
|
||||
conforming std::use_facet.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_STD_WSTREAMBUF</td>
|
||||
<td>Standard library</td>
|
||||
<td>The standard library's implementation of std::basic_streambuf<wchar_t>
|
||||
is either missing, incomplete, or buggy.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_STD_WSTRING</td>
|
||||
<td valign="top" width="16%">Standard library</td>
|
||||
@@ -723,21 +796,36 @@ f(&bar); // should choose #2.</pre>
|
||||
not provide templated iterator constructors for its
|
||||
containers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_TEMPLATE_TEMPLATES</td>
|
||||
<td>Compiler</td>
|
||||
<td>The compiler does not support template template
|
||||
parameters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_NO_UNREACHABLE_RETURN_DETECTION</td>
|
||||
<td>Compiler</td>
|
||||
<td>If a return is unreachable, then no return statement
|
||||
should be required, however some compilers insist on it,
|
||||
while other issue a bunch of warnings if it is in fact
|
||||
present.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_USING_TEMPLATE</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
<td valign="top" width="33%">The compiler will not accept
|
||||
a using declaration that imports a template from the
|
||||
global namespace into a named namespace. Probably Borland
|
||||
specific.</td>
|
||||
a using declaration that imports a template class or
|
||||
function from another namespace. Originally a Borland
|
||||
specific problem with imports to/from the global
|
||||
namespace, extended to MSVC6 which has a specific issue
|
||||
with importing template classes (but not functions).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="51%">BOOST_NO_VOID_RETURNS</td>
|
||||
<td valign="top" width="16%">Compiler</td>
|
||||
<td valign="top" width="33%">The compiler does not
|
||||
allow a void function to return the result of calling
|
||||
another void function.
|
||||
<pre>void f() {}
|
||||
<td valign="top" width="33%">The compiler does not allow
|
||||
a void function to return the result of calling another
|
||||
void function. <pre>void f() {}
|
||||
void g() { return f(); }</pre>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -764,12 +852,38 @@ present.</p>
|
||||
<td valign="top" width="37%">The platform supports BeOS
|
||||
style threads.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_CLOCK_GETTIME</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API clock_gettime.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_DIRENT_H</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX header <dirent.h>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_FTIME</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the Win32 API
|
||||
GetSystemTimeAsFileTime.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_GETTIMEOFDAY</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API gettimeofday.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_HAS_HASH</td>
|
||||
<td valign="top" width="15%">Standard library</td>
|
||||
<td valign="top" width="37%">The C++ implementation
|
||||
provides the (SGI) hash_set or hash_map classes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_LONG_LONG</td>
|
||||
<td>Compiler</td>
|
||||
<td>The compiler supports the long long data type.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_HAS_MACRO_USE_FACET</td>
|
||||
<td valign="top" width="15%">Standard library</td>
|
||||
@@ -778,18 +892,75 @@ present.</p>
|
||||
that does the job. This is primarily for the Dinkumware
|
||||
std lib.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_MS_INT64</td>
|
||||
<td>Compiler</td>
|
||||
<td>The compiler supports the __int64 data type.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_NANOSLEEP</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API nanosleep.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_HAS_NL_TYPES_H</td>
|
||||
<td valign="top" width="15%">Platform</td>
|
||||
<td valign="top" width="37%">The platform has an
|
||||
<nl_types.h>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_NRVO</td>
|
||||
<td>Compiler</td>
|
||||
<td>Indicated that the compiler supports the named return
|
||||
value optimization (NRVO). Used to select the most
|
||||
efficient implementation for some function. See <a
|
||||
href="../../boost/operators.hpp">boost/operators.hpp</a>
|
||||
for example.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_HAS_PARTIAL_STD_ALLOCATOR</td>
|
||||
<td>Standard Library</td>
|
||||
<td>The standard library has a partially conforming std::allocator
|
||||
class, but without any of the member templates.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_PTHREAD_DELAY_NP</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API pthread_delay_np.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API
|
||||
pthread_mutexattr_settype.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_PTHREAD_YIELD</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API pthread_yield.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_HAS_PTHREADS</td>
|
||||
<td valign="top" width="15%">Platform</td>
|
||||
<td valign="top" width="37%">The platform support POSIX
|
||||
style threads.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_SCHED_YIELD</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has the POSIX API sched_yield.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_SGI_TYPE_TRAITS</td>
|
||||
<td>Compiler/standard library</td>
|
||||
<td>The compiler has native support for SGI style type
|
||||
traits.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_HAS_STDINT_H</td>
|
||||
<td>Platform</td>
|
||||
<td>The platform has a <stdint.h></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_HAS_SLIST</td>
|
||||
<td valign="top" width="15%">Standard library</td>
|
||||
@@ -836,8 +1007,7 @@ present.</p>
|
||||
<td valign="top" width="15%">Standard library</td>
|
||||
<td valign="top" width="37%">Microsoft's broken version
|
||||
of std::iterator is being used. This implies that std::iterator
|
||||
takes no more than two template parameters, and that std::reverse_iterator
|
||||
takes at least two template parameters.</td>
|
||||
takes no more than two template parameters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="48%">BOOST_MSVC6_MEMBER_TEMPLATES</td>
|
||||
@@ -876,6 +1046,22 @@ provide workarounds for compiler/standard library defects.</p>
|
||||
<td valign="top" width="50%"><p align="center"><b>Description</b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="50%">BOOST_DEDUCED_TYPENAME</td>
|
||||
<td valign="top" width="50%">Some compilers don't support
|
||||
the use of <code>typename</code> for dependent types in
|
||||
deduced contexts. This macro expands to nothing on those
|
||||
compilers, and <code>typename</code> elsewhere. For
|
||||
example, replace:<pre>template <class T> void f(T, typename T::type);</pre>
|
||||
<p>with:</p>
|
||||
<pre>template <class T> void f(T, BOOST_DEDUCED_TYPENAME T::type);</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_STD_EXTENSION_NAMESPACE</td>
|
||||
<td>The namespace used for std library extensions (hashtable
|
||||
classes etc).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="50%">BOOST_STATIC_CONSTANT(Type,
|
||||
assignment)</td>
|
||||
@@ -893,6 +1079,12 @@ provide workarounds for compiler/standard library defects.</p>
|
||||
};</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_UNREACHABLE_RETURN(result)</td>
|
||||
<td>Normally evaluates to nothing, but evaluates to <font
|
||||
face="Courier New">return x;</font> if the compiler
|
||||
requires a return, even when it can never be reached.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="50%">BOOST_USE_FACET(Type, loc)</td>
|
||||
<td valign="top" width="50%">When the standard library
|
||||
@@ -970,6 +1162,20 @@ user code.</p>
|
||||
defined by <boost/cstdint.hpp> is not usable in
|
||||
integral constant expressions.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_MSVC</td>
|
||||
<td valign="top"><boost/config.hpp></td>
|
||||
<td valign="top">Defined if the compiler is really
|
||||
Microsoft Visual C++, as opposed to one of the many other
|
||||
compilers that also define _MSC_VER.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_DINKUMWARE_STDLIB</td>
|
||||
<td><boost/config.hpp></td>
|
||||
<td>Defined if the dinkumware standard library is in use,
|
||||
takes the same value as the Dinkumware library version
|
||||
macro _CPPLIB_VER if defined, otherwise 1.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="33%">BOOST_NO_WREGEX</td>
|
||||
<td valign="top" width="33%"><boost/regex.hpp></td>
|
||||
@@ -1281,4 +1487,4 @@ contributed fixes to boost's configuration.</p>
|
||||
|
||||
<p> </p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -5,7 +5,7 @@
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
// See http://www.boost.org/libs/config for most recent version.
|
||||
|
||||
// Boost config.hpp policy and rationale documentation has been moved to
|
||||
// http://www.boost.org/libs/config
|
||||
@@ -30,24 +30,24 @@
|
||||
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_compiler_config.hpp>
|
||||
#endif
|
||||
// if we don't have a std library config set, try and find one:
|
||||
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_stdlib_config.hpp>
|
||||
#endif
|
||||
// if we don't have a platform config set, try and find one:
|
||||
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_platform_config.hpp>
|
||||
#endif
|
||||
|
||||
|
||||
// if we have a compiler config, include it now:
|
||||
#ifdef BOOST_COMPILER_CONFIG
|
||||
# include BOOST_COMPILER_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a std library config set, try and find one:
|
||||
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_stdlib_config.hpp>
|
||||
#endif
|
||||
// if we have a std library config, include it now:
|
||||
#ifdef BOOST_STDLIB_CONFIG
|
||||
# include BOOST_STDLIB_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a platform config set, try and find one:
|
||||
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_platform_config.hpp>
|
||||
#endif
|
||||
// if we have a platform config, include it now:
|
||||
#ifdef BOOST_PLATFORM_CONFIG
|
||||
# include BOOST_PLATFORM_CONFIG
|
||||
|
||||
@@ -7,32 +7,92 @@
|
||||
|
||||
// Borland C++ compiler setup:
|
||||
|
||||
// Version 5.0 and below:
|
||||
# if __BORLANDC__ <= 0x0550
|
||||
// Borland C++ Builder 4 and 5:
|
||||
// Borland C++Builder 4 and 5:
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
# if __BORLANDC__ == 0x0550
|
||||
// Borland C++ Builder 5, command-line compiler 5.5:
|
||||
// Borland C++Builder 5, command-line compiler 5.5:
|
||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#if (__BORLANDC__ >= 0x550)
|
||||
// <climits> is partly broken, some macos define symbols that are really in
|
||||
// Version 5.51 and below:
|
||||
#if (__BORLANDC__ <= 0x551)
|
||||
# define BOOST_NO_CV_SPECIALIZATIONS
|
||||
# define BOOST_NO_CV_VOID_SPECIALIZATIONS
|
||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
#endif
|
||||
|
||||
// Version 7.0 (Kylix) and below:
|
||||
#if (__BORLANDC__ <= 0x570) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||
# define BOOST_NO_USING_TEMPLATE
|
||||
# define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
// we shouldn't really need this - but too many things choke
|
||||
// without it, this needs more investigation:
|
||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
|
||||
//
|
||||
// new bug in 5.61:
|
||||
#if __BORLANDC__ >= 0x561
|
||||
// this seems to be needed by the command line compiler, but not the IDE:
|
||||
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
#endif
|
||||
|
||||
# ifdef _WIN32
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# elif defined(linux) || defined(__linux__) || defined(__linux)
|
||||
// we should really be able to do without this
|
||||
// but the wcs* functions aren't imported into std::
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
// _CPPUNWIND doesn't get automatically set for some reason:
|
||||
# pragma defineonoption BOOST_CPPUNWIND -x
|
||||
# endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Post 0x561 we have long long and stdint.h:
|
||||
#if __BORLANDC__ >= 0x561
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
// On non-Win32 platforms let the platform config figure this out:
|
||||
# ifdef _WIN32
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Borland C++Builder 6 defaults to using STLPort. If _USE_OLD_RW_STL is
|
||||
// defined, then we have 0x560 or greater with the Rogue Wave implementation
|
||||
// which presumably has the std::DBL_MAX bug.
|
||||
#if ((__BORLANDC__ >= 0x550) && (__BORLANDC__ < 0x560)) || defined(_USE_OLD_RW_STL)
|
||||
// <climits> is partly broken, some macros define symbols that are really in
|
||||
// namespace std, so you end up having to use illegal constructs like
|
||||
// std::DBL_MAX, as a fix we'll just include float.h and have done with:
|
||||
#include <float.h>
|
||||
#endif
|
||||
|
||||
// Version 5.51:
|
||||
#if (__BORLANDC__ <= 0x551) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_NO_CV_SPECIALIZATIONS
|
||||
# define BOOST_NO_CV_VOID_SPECIALIZATIONS
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# define BOOST_NO_USING_TEMPLATE
|
||||
//
|
||||
// __int64:
|
||||
//
|
||||
#if __BORLANDC__ >= 0x530
|
||||
# define BOOST_HAS_MS_INT64
|
||||
#endif
|
||||
//
|
||||
// check for exception handling support:
|
||||
//
|
||||
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND)
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
#endif
|
||||
//
|
||||
// all versions have a <dirent.h>:
|
||||
//
|
||||
#define BOOST_HAS_DIRENT_H
|
||||
//
|
||||
// Disable Win32 support in ANSI mode:
|
||||
//
|
||||
#pragma defineonoption BOOST_DISABLE_WIN32 -A
|
||||
|
||||
#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__)
|
||||
|
||||
@@ -43,8 +103,8 @@
|
||||
# error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 5.51:
|
||||
#if (__BORLANDC__ > 0x551)
|
||||
// last known and checked version is 5.7 (Kylix 3):
|
||||
#if (__BORLANDC__ > 0x570)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# else
|
||||
@@ -53,3 +113,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,13 +10,29 @@
|
||||
#include "boost/config/compiler/common_edg.hpp"
|
||||
|
||||
#if (__COMO_VERSION__ <= 4245) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_FUNCTION_USE_VIRTUAL_FUNCTIONS
|
||||
# if defined(_MSC_VER) && _MSC_VER <= 1300
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# if _MSC_VER > 100
|
||||
// only set this in non-strict mode:
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
# endif
|
||||
# endif
|
||||
|
||||
// Void returns don't work when emulating VC 6 (Peter Dimov)
|
||||
|
||||
# if defined(_MSC_VER) && (_MSC_VER == 1200)
|
||||
# define BOOST_NO_VOID_RETURNS
|
||||
# endif
|
||||
|
||||
#endif // version 4245
|
||||
|
||||
//
|
||||
// enable __int64 support in VC emulation mode
|
||||
//
|
||||
# if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# define BOOST_HAS_MS_INT64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__)
|
||||
|
||||
|
||||
@@ -10,11 +10,15 @@
|
||||
//
|
||||
// This is included from within the individual compiler mini-configs.
|
||||
|
||||
#ifndef __EDG_VERSION__
|
||||
#ifndef __EDG_VERSION__
|
||||
# error This file requires that __EDG_VERSION__ be defined.
|
||||
#endif
|
||||
|
||||
#if (__EDG_VERSION__ <= 238)
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
#endif
|
||||
|
||||
#if (__EDG_VERSION__ <= 240)
|
||||
# define BOOST_NO_VOID_RETURNS
|
||||
#endif
|
||||
|
||||
@@ -22,4 +26,23 @@
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
#endif
|
||||
|
||||
#if (__EDG_VERSION__ <= 244) && !defined(BOOST_NO_TEMPLATE_TEMPLATES)
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
#endif
|
||||
|
||||
// See also kai.hpp which checks a Kai-specific symbol for EH
|
||||
# if !defined(__KCC) && !defined(__EXCEPTIONS)
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
# endif
|
||||
|
||||
# if !defined(__NO_LONG_LONG)
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
# endif
|
||||
|
||||
#ifdef c_plusplus
|
||||
// EDG has "long long" in non-strict mode
|
||||
// However, some libraries have insufficient "long long" support
|
||||
// #define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// GNU C++ compiler setup:
|
||||
|
||||
# if __GNUC__ == 2 && __GNUC_MINOR__ == 91
|
||||
// egcs 1.1 won't parse smart_ptr.hpp without this:
|
||||
// egcs 1.1 won't parse shared_ptr.hpp without this:
|
||||
# define BOOST_NO_AUTO_PTR
|
||||
# endif
|
||||
# if __GNUC__ == 2 && __GNUC_MINOR__ < 95
|
||||
@@ -28,14 +28,43 @@
|
||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||
# endif
|
||||
|
||||
//
|
||||
// Threading support:
|
||||
// Turn this on unconditionally here, it will get turned off again later
|
||||
// if no threading API is detected.
|
||||
//
|
||||
#define BOOST_HAS_THREADS
|
||||
# if __GNUC__ < 3
|
||||
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "GNU C++ version " BOOST_STRINGIZE(__GNUC__) "." BOOST_STRINGIZE(__GNUC_MINOR__)
|
||||
#ifndef __EXCEPTIONS
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
#endif
|
||||
|
||||
//
|
||||
// Bug specific to gcc 3.1 and 3.2:
|
||||
//
|
||||
#if (__GNUC__ == 3) && ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2))
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
#endif
|
||||
|
||||
//
|
||||
// Threading support: Turn this on unconditionally here (except for
|
||||
// those platforms where we can know for sure). It will get turned off again
|
||||
// later if no threading API is detected.
|
||||
//
|
||||
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
//
|
||||
// gcc has "long long"
|
||||
//
|
||||
#define BOOST_HAS_LONG_LONG
|
||||
|
||||
//
|
||||
// gcc implements the named return value optimization since version 3.1
|
||||
//
|
||||
#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
|
||||
#define BOOST_HAS_NRVO
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "GNU C++ version " __VERSION__
|
||||
|
||||
//
|
||||
// versions check:
|
||||
@@ -44,11 +73,12 @@
|
||||
# error "Compiler not configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 3.0:
|
||||
#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 0))
|
||||
// last known and checked version is 3.3:
|
||||
#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# else
|
||||
# warning "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
|
||||
// HP aCC C++ compiler setup:
|
||||
|
||||
// THIS FILE IS INCOMPLETE: WE NEED THE CORRECT VERSION CHECKS ADDING!!!
|
||||
#if (__HP_aCC <= 0) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||
#if (__HP_aCC <= 33100)
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||
# if !defined(_NAMESPACE_STD)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
@@ -17,20 +16,42 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if (__HP_aCC <= 33300)
|
||||
// member templates are sufficiently broken that we disable them for now
|
||||
# define BOOST_NO_MEMBER_TEMPLATES
|
||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||
#endif
|
||||
|
||||
#if (__HP_aCC <= 33900) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||
// std lib config should set this one already:
|
||||
//# define BOOST_NO_STD_ALLOCATOR
|
||||
#endif
|
||||
|
||||
// optional features rather than defects:
|
||||
#if (__HP_aCC >= 33900)
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
# define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
|
||||
|
||||
//
|
||||
// versions check:
|
||||
// we don't support HP aCC prior to version 0:
|
||||
#if __HP_aCC < 0
|
||||
#if __HP_aCC < 33000
|
||||
# error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 0:
|
||||
#if (__HP_aCC > 0)
|
||||
#if (__HP_aCC > 33900)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -9,38 +9,77 @@
|
||||
|
||||
#include "boost/config/compiler/common_edg.hpp"
|
||||
|
||||
#ifdef __ICL
|
||||
# define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(__ICL)
|
||||
#if defined(__INTEL_COMPILER)
|
||||
# define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
|
||||
#elif defined(__ICL)
|
||||
# define BOOST_INTEL_CXX_VERSION __ICL
|
||||
#else
|
||||
# define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(__ICC)
|
||||
#elif defined(__ICC)
|
||||
# define BOOST_INTEL_CXX_VERSION __ICC
|
||||
#elif defined(__ECC)
|
||||
# define BOOST_INTEL_CXX_VERSION __ECC
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
||||
#define BOOST_INTEL BOOST_INTEL_CXX_VERSION
|
||||
|
||||
#if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
#endif
|
||||
|
||||
#if (BOOST_INTEL_CXX_VERSION <= 600) || !defined(BOOST_STRICT_CONFIG)
|
||||
|
||||
# if defined(_MSC_VER)
|
||||
// Intel C++ 5.0.1 uses EDG 2.45, but fails to activate Koenig lookup
|
||||
// in the frontend even in "strict" mode. (reported by Kirk Klobe)
|
||||
// Intel C++ 6.0 (currently in Beta test) doesn't have any front-end
|
||||
// changes at all. (reported by Kirk Klobe)
|
||||
# ifndef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
# endif
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
# if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov)
|
||||
|
||||
// Boost libraries assume strong standard conformance unless otherwise
|
||||
// indicated by a config macro. As configured by Intel, the EDG front-end
|
||||
// requires certain compiler options be set to achieve that strong conformance.
|
||||
// Particularly /Qoption,c,--arg_dep_lookup (reported by Kirk Klobe & Thomas Witt)
|
||||
// and /Zc:wchar_t,forScope. See boost-root/tools/build/intel-win32-tools.jam for
|
||||
// details as they apply to particular versions of the compiler. When the
|
||||
// compiler does not predefine a macro indicating if an option has been set,
|
||||
// this config file simply assumes the option has been set.
|
||||
// Thus BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP will not be defined, even if
|
||||
// the compiler option is not enabled.
|
||||
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
# endif
|
||||
|
||||
// Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov)
|
||||
|
||||
# if defined(_MSC_VER) && (_MSC_VER <= 1200)
|
||||
# define BOOST_NO_VOID_RETURNS
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# ifndef _NATIVE_WCHAR_T_DEFINED
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
// See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864
|
||||
#if BOOST_INTEL_CXX_VERSION < 700
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
#else
|
||||
// _WCHAR_T_DEFINED is the Win32 spelling
|
||||
// _WCHAR_T is the Linux spelling
|
||||
# if !defined(_WCHAR_T_DEFINED) && !defined(_WCHAR_T)
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if _MSC_VER+0 >= 1000
|
||||
# if _MSC_VER >= 1200
|
||||
# define BOOST_HAS_MS_INT64
|
||||
# endif
|
||||
# define BOOST_NO_SWPRINTF
|
||||
#elif defined(_WIN32)
|
||||
# define BOOST_DISABLE_WIN32
|
||||
#endif
|
||||
|
||||
// I checked version 6.0 build 020312Z, it implements the NRVO.
|
||||
// Correct this as you find out which version of the compiler
|
||||
// implemented the NRVO first. (Daniel Frey)
|
||||
#if (BOOST_INTEL_CXX_VERSION >= 600)
|
||||
# define BOOST_HAS_NRVO
|
||||
#endif
|
||||
|
||||
//
|
||||
// versions check:
|
||||
@@ -49,13 +88,15 @@
|
||||
# error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 500:
|
||||
#if (BOOST_INTEL_CXX_VERSION > 500)
|
||||
// last known and checked version:
|
||||
#if (BOOST_INTEL_CXX_VERSION > 800)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# elif defined(_MSC_VER)
|
||||
# warning "Unknown compiler version - please run the configure tests and report the results"
|
||||
# pragma message("Unknown compiler version - please run the configure tests and report the results")
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# endif
|
||||
|
||||
// see also common_edg.hpp which needs a special check for __KCC
|
||||
# if !defined(_EXCEPTIONS)
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
|
||||
|
||||
//
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
|
||||
// Metrowerks C++ compiler setup:
|
||||
|
||||
// locale support is disabled when linking with the dynamic runtime
|
||||
# ifdef _MSL_NO_LOCALE
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
# endif
|
||||
|
||||
# if __MWERKS__ <= 0x2301 // 5.3
|
||||
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
# define BOOST_NO_POINTER_TO_MEMBER_CONST
|
||||
@@ -18,16 +23,36 @@
|
||||
//# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
# endif
|
||||
|
||||
# if(__MWERKS__ <= 0x2405) || !defined(BOOST_STRICT_CONFIG) // 7.0
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
# if(__MWERKS__ <= 0x2407) // 7.x
|
||||
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
# endif
|
||||
|
||||
# if(__MWERKS__ <= 0x3003) // 8.x
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
# endif
|
||||
|
||||
#if !__option(wchar_type)
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
#endif
|
||||
|
||||
#if !__option(exceptions)
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(__MWERKS__)
|
||||
# if __MWERKS__ == 0x3000
|
||||
# define BOOST_COMPILER_VERSION 8.0
|
||||
# elif __MWERKS__ == 0x3001
|
||||
# define BOOST_COMPILER_VERSION 8.1
|
||||
# elif __MWERKS__ == 0x3002
|
||||
# define BOOST_COMPILER_VERSION 8.2
|
||||
# elif __MWERKS__ == 0x3003
|
||||
# define BOOST_COMPILER_VERSION 8.3
|
||||
# else
|
||||
# define BOOST_COMPILER_VERSION __MWERKS__
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
||||
|
||||
//
|
||||
// versions check:
|
||||
@@ -36,8 +61,8 @@
|
||||
# error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 0x2405:
|
||||
#if (__MWERKS__ > 0x2405)
|
||||
// last known and checked version:
|
||||
#if (__MWERKS__ > 0x3003)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
|
||||
@@ -11,6 +11,13 @@
|
||||
|
||||
#include "boost/config/compiler/common_edg.hpp"
|
||||
|
||||
//
|
||||
// Threading support:
|
||||
// Turn this on unconditionally here, it will get turned off again later
|
||||
// if no threading API is detected.
|
||||
//
|
||||
#define BOOST_HAS_THREADS
|
||||
//
|
||||
// version check:
|
||||
// probably nothing to do here?
|
||||
|
||||
|
||||
@@ -7,28 +7,46 @@
|
||||
|
||||
// Sun C++ compiler setup:
|
||||
|
||||
# if __SUNPRO_CC >= 0x520
|
||||
# if __SUNPRO_CC <= 0x500
|
||||
# define BOOST_NO_MEMBER_TEMPLATES
|
||||
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
# endif
|
||||
|
||||
# if (__SUNPRO_CC <= 0x520)
|
||||
//
|
||||
// Sunpro 5.1 and later:
|
||||
// Sunpro 5.2 and earler:
|
||||
//
|
||||
// although sunpro 5.1 supports the syntax for
|
||||
// although sunpro 5.2 supports the syntax for
|
||||
// inline initialization it often gets the value
|
||||
// wrong, especially where the value is computed
|
||||
// from other constants (J Maddock 6th May 2001)
|
||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
// although sunpro 5.1 supports the syntax for
|
||||
|
||||
// Although sunpro 5.2 supports the syntax for
|
||||
// partial specialization, it often seems to
|
||||
// bind to the wrong specialization. Better
|
||||
// to disable it until suppport becomes more stable
|
||||
// (J Maddock 6th May 2001).
|
||||
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
# endif
|
||||
|
||||
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
|
||||
// SunPro 5.3 has better support for partial specialization,
|
||||
// but breaks when compiling std::less<shared_ptr<T> >
|
||||
// (Jens Maurer 4 Nov 2001).
|
||||
|
||||
// std::less specialization fixed as reported by George
|
||||
// Heintzelman; partial specialization re-enabled
|
||||
// (Peter Dimov 17 Jan 2002)
|
||||
|
||||
//# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
|
||||
// integral constant expressions with 64 bit numbers fail
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# endif
|
||||
# if __SUNPRO_CC <= 0x500
|
||||
# define BOOST_NO_MEMBER_TEMPLATES
|
||||
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
|
||||
# if (__SUNPRO_CC <= 0x540) || !defined(BOOST_STRICT_CONFIG)
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
|
||||
@@ -40,11 +58,14 @@
|
||||
#error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 0x520:
|
||||
#if (__SUNPRO_CC > 0x520)
|
||||
// last known and checked version is 0x530:
|
||||
#if (__SUNPRO_CC > 0x530)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,8 +7,22 @@
|
||||
|
||||
// Visual Age (IBM) C++ compiler setup:
|
||||
|
||||
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
#if __IBMCPP__ <= 501
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
#endif
|
||||
|
||||
#if (__IBMCPP__ <= 502)
|
||||
// Actually the compiler supports inclass member initialization but it
|
||||
// requires a definition for the class member and it doesn't recognize
|
||||
// it as an integral constant expression when used as a template argument.
|
||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
||||
#endif
|
||||
|
||||
#if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
|
||||
#endif
|
||||
|
||||
//
|
||||
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
||||
@@ -17,7 +31,7 @@
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "IBM Visual Age" BOOST_STRINGIZE(__IBMCPP__)
|
||||
#define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
|
||||
|
||||
//
|
||||
// versions check:
|
||||
@@ -26,8 +40,8 @@
|
||||
#error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 500:
|
||||
#if (__IBMCPP__ > 500)
|
||||
// last known and checked version is 600:
|
||||
#if (__IBMCPP__ > 600)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
|
||||
@@ -10,16 +10,25 @@
|
||||
#define BOOST_MSVC _MSC_VER
|
||||
|
||||
// turn off the warnings before we #include anything
|
||||
#pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info
|
||||
#pragma warning( disable : 4503 ) // warning: decorated name length exceeded
|
||||
|
||||
#if _MSC_VER <= 1200 // 1200 == VC++ 6.0
|
||||
#pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||
# define BOOST_NO_VOID_RETURNS
|
||||
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||
# define BOOST_NO_DEDUCED_TYPENAME
|
||||
// disable min/max macro defines on vc6:
|
||||
//
|
||||
#endif
|
||||
|
||||
#if (_MSC_VER <= 1300) // 1200 == VC++ 7.0
|
||||
|
||||
#if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za
|
||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||
#endif
|
||||
|
||||
#if (_MSC_VER <= 1300) || !defined(BOOST_STRICT_CONFIG) // VC7 Beta 2 or later
|
||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
# define BOOST_NO_PRIVATE_IN_AGGREGATE
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
@@ -37,26 +46,59 @@
|
||||
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
# define BOOST_NO_USING_TEMPLATE
|
||||
# define BOOST_NO_SWPRINTF
|
||||
//# define BOOST_NO_POINTER_TO_MEMBER_CONST
|
||||
//
|
||||
// disable min/max macros if defined:
|
||||
//
|
||||
# ifdef min
|
||||
# undef min
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
# if (_MSC_VER > 1200)
|
||||
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
# endif
|
||||
# ifdef max
|
||||
# undef max
|
||||
# endif
|
||||
// disable min/max macro defines on vc6:
|
||||
//
|
||||
# define NOMINMAX
|
||||
|
||||
#endif
|
||||
|
||||
#if _MSC_VER < 1310 // 1310 == VC++ 7.1
|
||||
# define BOOST_NO_SWPRINTF
|
||||
#endif
|
||||
|
||||
#if _MSC_VER <= 1310
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
#endif
|
||||
|
||||
#ifndef _NATIVE_WCHAR_T_DEFINED
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(_MSC_VER)
|
||||
//
|
||||
// check for exception handling support:
|
||||
#ifndef _CPPUNWIND
|
||||
# define BOOST_NO_EXCEPTIONS
|
||||
#endif
|
||||
|
||||
//
|
||||
// __int64 support:
|
||||
//
|
||||
#if (_MSC_VER >= 1200) && defined(_MSC_EXTENSIONS)
|
||||
# define BOOST_HAS_MS_INT64
|
||||
#endif
|
||||
#if (_MSC_VER >= 1310) && defined(_MSC_EXTENSIONS)
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
//
|
||||
// disable Win32 API's if compiler extentions are
|
||||
// turned off:
|
||||
//
|
||||
#ifndef _MSC_EXTENSIONS
|
||||
# define BOOST_DISABLE_WIN32
|
||||
#endif
|
||||
|
||||
# if _MSC_VER == 1200
|
||||
# define BOOST_COMPILER_VERSION 6.0
|
||||
# elif _MSC_VER == 1300
|
||||
# define BOOST_COMPILER_VERSION 7.0
|
||||
# elif _MSC_VER == 1310
|
||||
# define BOOST_COMPILER_VERSION 7.1
|
||||
# else
|
||||
# define BOOST_COMPILER_VERSION _MSC_VER
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
||||
|
||||
//
|
||||
// versions check:
|
||||
@@ -65,12 +107,17 @@
|
||||
#error "Compiler not supported or configured - please reconfigure"
|
||||
#endif
|
||||
//
|
||||
// last known and checked version is 1300:
|
||||
#if (_MSC_VER > 1300)
|
||||
// last known and checked version is 1310:
|
||||
#if (_MSC_VER > 1310)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# else
|
||||
# warning "Unknown compiler version - please run the configure tests and report the results"
|
||||
# pragma message("Unknown compiler version - please run the configure tests and report the results")
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,11 +10,23 @@
|
||||
#define BOOST_PLATFORM "IBM Aix"
|
||||
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#define BOOST_HAS_PTHREADS
|
||||
#define BOOST_HAS_NL_TYPES_H
|
||||
#define BOOST_HAS_NANOSLEEP
|
||||
#define BOOST_HAS_CLOCK_GETTIME
|
||||
|
||||
// This needs support in "boost/cstdint.hpp" exactly like FreeBSD.
|
||||
// This platform has header named <inttypes.h> which includes all
|
||||
// the things needed.
|
||||
#define BOOST_HAS_STDINT_H
|
||||
|
||||
// Threading API's:
|
||||
#define BOOST_HAS_PTHREADS
|
||||
#define BOOST_HAS_PTHREAD_DELAY_NP
|
||||
#define BOOST_HAS_PTHREAD_YIELD
|
||||
#define BOOST_HAS_SCHED_YIELD
|
||||
//#define BOOST_HAS_PTHREAD_YIELD
|
||||
|
||||
// boilerplate code:
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
15
include/boost/config/platform/amigaos.hpp
Normal file
15
include/boost/config/platform/amigaos.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
|
||||
#define BOOST_PLATFORM "AmigaOS"
|
||||
|
||||
#define BOOST_DISABLE_THREADS
|
||||
#define BOOST_NO_CWCHAR
|
||||
#define BOOST_NO_STD_WSTRING
|
||||
#define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
|
||||
@@ -19,5 +19,7 @@
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +21,21 @@
|
||||
|
||||
//
|
||||
// is this the correct version check?
|
||||
// FreeBSD has <nl_type.h> but does not
|
||||
// FreeBSD has <nl_types.h> but does not
|
||||
// advertise the fact in <unistd.h>:
|
||||
//
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ >= 4)
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ >= 3)
|
||||
# define BOOST_HAS_NL_TYPES_H
|
||||
#endif
|
||||
|
||||
//
|
||||
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
|
||||
// and not in <unistd.h>
|
||||
//
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ <= 3)
|
||||
# define BOOST_HAS_PTHREADS
|
||||
#endif
|
||||
|
||||
//
|
||||
// No wide character support in the BSD header files:
|
||||
//
|
||||
@@ -37,3 +45,21 @@
|
||||
// The BSD <ctype.h> has macros only, no functions:
|
||||
//
|
||||
#define BOOST_NO_CTYPE_FUNCTIONS
|
||||
|
||||
//
|
||||
// thread API's not auto detected:
|
||||
//
|
||||
#define BOOST_HAS_SCHED_YIELD
|
||||
#define BOOST_HAS_NANOSLEEP
|
||||
#define BOOST_HAS_GETTIMEOFDAY
|
||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
#define BOOST_HAS_SIGACTION
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,20 +11,29 @@
|
||||
#define BOOST_NO_CWCTYPE
|
||||
#define BOOST_NO_CWCHAR
|
||||
#define BOOST_NO_SWPRINTF
|
||||
#define BOOST_HAS_DIRENT_H
|
||||
|
||||
//
|
||||
// Threading API:
|
||||
// See if we have POSIX threads, if we do use them, otherwise
|
||||
// revert to native Win threads.
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
|
||||
# define BOOST_HAS_PTHREADS
|
||||
# define BOOST_HAS_SCHED_YIELD
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
# define BOOST_HAS_SIGACTION
|
||||
#else
|
||||
# define BOOST_HAS_WINTHREADS
|
||||
# if !defined(BOOST_HAS_WINTHREADS)
|
||||
# define BOOST_HAS_WINTHREADS
|
||||
# endif
|
||||
# define BOOST_HAS_FTIME
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,3 +17,42 @@
|
||||
|
||||
#define BOOST_NO_SWPRINTF
|
||||
#define BOOST_NO_CWCTYPE
|
||||
|
||||
#ifdef __GNUC__
|
||||
// GNU C on HP-UX does not support threads (checked up to gcc 3.3)
|
||||
# define BOOST_DISABLE_THREADS
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
// the following are always available:
|
||||
#ifndef BOOST_HAS_GETTIMEOFDAY
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
#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_NL_TYPES_H
|
||||
# define BOOST_HAS_NL_TYPES_H
|
||||
#endif
|
||||
#ifndef BOOST_HAS_NANOSLEEP
|
||||
# define BOOST_HAS_NANOSLEEP
|
||||
#endif
|
||||
#ifndef BOOST_HAS_GETTIMEOFDAY
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
#endif
|
||||
#ifndef BOOST_HAS_DIRENT_H
|
||||
# define BOOST_HAS_DIRENT_H
|
||||
#endif
|
||||
#ifndef BOOST_HAS_CLOCK_GETTIME
|
||||
# define BOOST_HAS_CLOCK_GETTIME
|
||||
#endif
|
||||
#ifndef BOOST_HAS_SIGACTION
|
||||
# define BOOST_HAS_SIGACTION
|
||||
#endif
|
||||
|
||||
|
||||
@@ -10,4 +10,19 @@
|
||||
#define BOOST_PLATFORM "SGI Irix"
|
||||
|
||||
#define BOOST_NO_SWPRINTF
|
||||
//
|
||||
// these are not auto detected by POSIX feature tests:
|
||||
//
|
||||
#define BOOST_HAS_GETTIMEOFDAY
|
||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
|
||||
#ifdef __GNUC__
|
||||
// GNU C on IRIX does not support threads (checked up to gcc 3.3)
|
||||
# define BOOST_DISABLE_THREADS
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
@@ -25,6 +25,34 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__LIBCOMO__)
|
||||
//
|
||||
// como on linux doesn't have std:: c functions:
|
||||
// NOTE: versions of libcomo prior to beta28 have octal version numbering,
|
||||
// e.g. version 25 is 21 (dec)
|
||||
//
|
||||
# if __LIBCOMO_VERSION__ <= 20
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# endif
|
||||
|
||||
# if __LIBCOMO_VERSION__ <= 21
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// If glibc is past version 2 then we definitely have
|
||||
// gettimeofday, earlier versions may or may not have it:
|
||||
//
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
#endif
|
||||
|
||||
#ifdef __USE_POSIX199309
|
||||
# define BOOST_HAS_NANOSLEEP
|
||||
#endif
|
||||
|
||||
#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
|
||||
// __GLIBC_PREREQ is available since 2.1.2
|
||||
|
||||
@@ -36,6 +64,10 @@
|
||||
# define BOOST_NO_SWPRINTF
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
#ifndef __GNUC__
|
||||
//
|
||||
// if the compiler is not gcc we still need to be able to parse
|
||||
|
||||
@@ -9,18 +9,32 @@
|
||||
|
||||
#define BOOST_PLATFORM "Mac OS"
|
||||
|
||||
// If __MACH__, we're using the BSD standard C library, not the MSL:
|
||||
#if defined(__MACH__)
|
||||
#if __MACH__ && !defined(_MSL_USING_MSL_C)
|
||||
|
||||
// Using the Mac OS X system BSD-style C library.
|
||||
|
||||
# define BOOST_NO_CTYPE_FUNCTIONS
|
||||
# define BOOST_NO_CWCHAR
|
||||
# ifndef BOOST_HAS_UNISTD_H
|
||||
# define BOOST_HAS_UNISTD_H
|
||||
# endif
|
||||
// boilerplate code:
|
||||
# ifndef TARGET_CARBON
|
||||
# include <boost/config/posix_features.hpp>
|
||||
# endif
|
||||
# ifndef BOOST_HAS_STDINT_H
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# endif
|
||||
|
||||
//
|
||||
// BSD runtime has pthreads, sigaction, sched_yield and gettimeofday,
|
||||
// of these only pthreads are advertised in <unistd.h>, so set the
|
||||
// other options explicitly:
|
||||
//
|
||||
# define BOOST_HAS_SCHED_YIELD
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
# define BOOST_HAS_SIGACTION
|
||||
|
||||
# ifndef __APPLE_CC__
|
||||
|
||||
// GCC strange "ignore std" mode works better if you pretend everything
|
||||
@@ -29,4 +43,24 @@
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
||||
// Using the MSL C library.
|
||||
|
||||
// We will eventually support threads in non-Carbon builds, but we do
|
||||
// not support this yet.
|
||||
# if TARGET_CARBON
|
||||
|
||||
# define BOOST_HAS_MPTASKS
|
||||
|
||||
// The MP task implementation of Boost Threads aims to replace MP-unsafe
|
||||
// parts of the MSL, so we turn on threads unconditionally.
|
||||
# define BOOST_HAS_THREADS
|
||||
|
||||
// The remote call manager depends on this.
|
||||
# define BOOST_BIND_ENABLE_PASCAL
|
||||
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,7 +7,13 @@
|
||||
|
||||
// sun specific config options:
|
||||
|
||||
#define BOOST_PLATFORM "sun"
|
||||
#define BOOST_PLATFORM "Sun Solaris"
|
||||
|
||||
#define BOOST_HAS_GETTIMEOFDAY
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -9,28 +9,64 @@
|
||||
|
||||
#define BOOST_PLATFORM "Win32"
|
||||
|
||||
#if defined BOOST_DECL_EXPORTS
|
||||
# if defined BOOST_DECL_IMPORTS
|
||||
# error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS
|
||||
# endif
|
||||
# define BOOST_DECL __declspec(dllexport)
|
||||
#elif defined BOOST_DECL_IMPORTS
|
||||
# define BOOST_DECL __declspec(dllimport)
|
||||
#else
|
||||
# define BOOST_DECL
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF)
|
||||
# define BOOST_NO_SWPRINTF
|
||||
#endif
|
||||
|
||||
//
|
||||
// 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,
|
||||
// we used to disable this when BOOST_DISABLE_WIN32 was
|
||||
// defined but no longer - this should allow some
|
||||
// files to be compiled in strict mode - while maintaining
|
||||
// a consistent setting of BOOST_HAS_THREADS across
|
||||
// all translation units (needed for shared_ptr etc).
|
||||
//
|
||||
#ifndef BOOST_HAS_PTHREADS
|
||||
# define BOOST_HAS_WINTHREADS
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_DISABLE_WIN32
|
||||
// WEK: Added
|
||||
#define BOOST_HAS_FTIME
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// disable min/max macros:
|
||||
//
|
||||
#ifdef min
|
||||
# undef min
|
||||
#endif
|
||||
#ifdef max
|
||||
# undef max
|
||||
#endif
|
||||
#ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
namespace std{
|
||||
// Apparently, something in the Microsoft libraries requires the "long"
|
||||
// overload, because it calls the min/max functions with arguments of
|
||||
// slightly different type. (If this proves to be incorrect, this
|
||||
// whole "BOOST_MSVC" section can be removed.)
|
||||
inline long min(long __a, long __b) {
|
||||
return __b < __a ? __b : __a;
|
||||
}
|
||||
inline long max(long __a, long __b) {
|
||||
return __a < __b ? __b : __a;
|
||||
}
|
||||
// The "long double" overload is required, otherwise user code calling
|
||||
// min/max for floating-point numbers will use the "long" overload.
|
||||
// (SourceForge bug #495495)
|
||||
inline long double min(long double __a, long double __b) {
|
||||
return __b < __a ? __b : __a;
|
||||
}
|
||||
inline long double max(long double __a, long double __b) {
|
||||
return __a < __b ? __b : __a;
|
||||
}
|
||||
}
|
||||
using std::min;
|
||||
using std::max;
|
||||
# endif
|
||||
|
||||
@@ -5,9 +5,15 @@
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
|
||||
// All POSIX feature tests go in this file:
|
||||
// All POSIX feature tests go in this file,
|
||||
// Note that we test _POSIX_C_SOURCE and _XOPEN_SOURCE as well
|
||||
// _POSIX_VERSION and _XOPEN_VERSION: on some systems POSIX API's
|
||||
// may be present but none-functional unless _POSIX_C_SOURCE and
|
||||
// _XOPEN_SOURCE have been defined to the right value (it's up
|
||||
// to the user to do this *before* including any header, although
|
||||
// in most cases the compiler will do this for you).
|
||||
|
||||
# ifdef BOOST_HAS_UNISTD_H
|
||||
# if defined(BOOST_HAS_UNISTD_H)
|
||||
# include <unistd.h>
|
||||
|
||||
// XOpen has <nl_types.h>, but is this the correct version check?
|
||||
@@ -20,29 +26,46 @@
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# endif
|
||||
|
||||
// POSIX version 2 requires <dirent.h>
|
||||
# if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199009L)
|
||||
# define BOOST_HAS_DIRENT_H
|
||||
# endif
|
||||
|
||||
// POSIX version 3 requires <signal.h> to have sigaction:
|
||||
# if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199506L)
|
||||
# define BOOST_HAS_SIGACTION
|
||||
# endif
|
||||
// POSIX defines _POSIX_THREADS > 0 for pthread support,
|
||||
// however some platforms define _POSIX_THREADS without
|
||||
// a value, hence the (_POSIX_THREADS+0 >= 0) check.
|
||||
// Strictly speaking this may catch platforms with a
|
||||
// non-functioning stub <pthreads.h>, but such occurrences should
|
||||
// occur very rarely if at all.
|
||||
# if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
|
||||
# if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_MPTASKS)
|
||||
# define BOOST_HAS_PTHREADS
|
||||
# endif
|
||||
|
||||
// BOOST_HAS_NANOSLEEP:
|
||||
// This is predicated on _POSIX_TIMERS:
|
||||
# if defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)
|
||||
// This is predicated on _POSIX_TIMERS or _XOPEN_REALTIME:
|
||||
# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)) \
|
||||
|| (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
|
||||
# define BOOST_HAS_NANOSLEEP
|
||||
# endif
|
||||
|
||||
// BOOST_HAS_CLOCK_GETTIME:
|
||||
// This is predicated on _POSIX_TIMERS (also on _XOPEN_REALTIME
|
||||
// but at least one platform - linux - defines that flag without
|
||||
// defining clock_gettime):
|
||||
# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0))
|
||||
# define BOOST_HAS_CLOCK_GETTIME
|
||||
# endif
|
||||
|
||||
// BOOST_HAS_SCHED_YIELD:
|
||||
// This is predicated on _POSIX_PRIORITY_SCHEDULING or
|
||||
// on _POSIX_THREAD_PRIORITY_SCHEDULING.
|
||||
# if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)
|
||||
# define BOOST_HAS_SCHED_YIELD
|
||||
# endif
|
||||
# if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0)
|
||||
// on _POSIX_THREAD_PRIORITY_SCHEDULING or on _XOPEN_REALTIME.
|
||||
# if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)\
|
||||
|| (defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0))\
|
||||
|| (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
|
||||
# define BOOST_HAS_SCHED_YIELD
|
||||
# endif
|
||||
|
||||
@@ -50,16 +73,13 @@
|
||||
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE:
|
||||
// These are predicated on _XOPEN_VERSION, and appears to be first released
|
||||
// in issue 4, version 2 (_XOPEN_VERSION > 500).
|
||||
# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 > 500)
|
||||
# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 >= 500)
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
# if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
# endif
|
||||
# endif
|
||||
|
||||
// BOOST_HAS_CLOCK_GETTIME:
|
||||
// This is predicated on _POSIX_TIMERS.
|
||||
# if defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 > 0)
|
||||
# define BOOST_HAS_CLOCK_GETTIME
|
||||
# endif
|
||||
|
||||
|
||||
# endif
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,15 @@
|
||||
// locate which compiler we are using and define
|
||||
// BOOST_COMPILER_CONFIG as needed:
|
||||
|
||||
#if defined __GNUC__
|
||||
# if defined __COMO__
|
||||
// Comeau C++
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
|
||||
// Intel
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
||||
|
||||
# elif defined __GNUC__
|
||||
// GNU C++:
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
|
||||
|
||||
@@ -34,10 +42,6 @@
|
||||
// Borland
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
|
||||
|
||||
#elif defined(__ICL) || defined(__ICC)
|
||||
// Intel
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
||||
|
||||
#elif defined __MWERKS__
|
||||
// Metrowerks CodeWarrior
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
|
||||
@@ -58,10 +62,6 @@
|
||||
// IBM Visual Age
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
|
||||
|
||||
# elif defined __COMO__
|
||||
// Comeau C++
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
||||
|
||||
#elif defined _MSC_VER
|
||||
// Microsoft Visual C++
|
||||
//
|
||||
@@ -75,3 +75,4 @@
|
||||
# error "Unknown compiler - please configure and report the results to boost.org"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -52,10 +52,32 @@
|
||||
// IBM
|
||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
|
||||
|
||||
#elif defined (BOOST_ASSERT_CONFIG)
|
||||
// this must come last - generate an error if we don't
|
||||
// recognise the platform:
|
||||
# error "Unknown platform - please configure and report the results to boost.org"
|
||||
#elif defined(__amigaos__)
|
||||
// AmigaOS
|
||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
|
||||
|
||||
#else
|
||||
|
||||
# if defined(unix) \
|
||||
|| defined(__unix) \
|
||||
|| defined(_XOPEN_SOURCE) \
|
||||
|| defined(_POSIX_SOURCE)
|
||||
|
||||
// generic unix platform:
|
||||
|
||||
# ifndef BOOST_HAS_UNISTD_H
|
||||
# define BOOST_HAS_UNISTD_H
|
||||
# endif
|
||||
|
||||
# include <boost/config/posix_features.hpp>
|
||||
|
||||
# endif
|
||||
|
||||
# if defined (BOOST_ASSERT_CONFIG)
|
||||
// this must come last - generate an error if we don't
|
||||
// recognise the platform:
|
||||
# error "Unknown platform - please configure and report the results to boost.org"
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
// can end up detecting that first rather than STLport:
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
|
||||
|
||||
#elif defined(__LIBCOMO__)
|
||||
// Comeau STL:
|
||||
#define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
|
||||
|
||||
#elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
|
||||
// Rogue Wave library:
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
|
||||
|
||||
#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
|
||||
// Dinkumware Library:
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
|
||||
|
||||
#elif defined(__GLIBCPP__)
|
||||
// GNU libstdc++ 3
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
|
||||
@@ -51,6 +51,10 @@
|
||||
// Modena C++ standard library
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
|
||||
|
||||
#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
|
||||
// Dinkumware Library (this has to appear after any possible replacement libraries):
|
||||
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
|
||||
|
||||
#elif defined (BOOST_ASSERT_CONFIG)
|
||||
// this must come last - generate an error if we don't
|
||||
// recognise the library:
|
||||
|
||||
@@ -18,16 +18,25 @@
|
||||
#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)
|
||||
// full dinkumware 3.06 and above
|
||||
// fully conforming provided the compiler supports it:
|
||||
# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD) // can be defined in yvals.h
|
||||
# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD) && !(defined(__ICC) && (__ICC >= 700)) // can be defined in yvals.h
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# endif
|
||||
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0))
|
||||
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) && defined(BOOST_MSVC)
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
# endif
|
||||
# define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
# if defined(_MSC_VER) && (_MSC_VER < 1300)
|
||||
// if this lib version is set up for vc6 then there is no std::use_facet:
|
||||
# define BOOST_NO_STD_USE_FACET
|
||||
# define BOOST_HAS_TWO_ARG_USE_FACET
|
||||
// C lib functions aren't in namespace std either:
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
// and nor is <exception>
|
||||
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||
# endif
|
||||
// There's no numeric_limits<long long> support unless _LONGLONG is defined:
|
||||
# if !defined(_LONGLONG) && (_CPPLIB_VER <= 310)
|
||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
# endif
|
||||
// 3.06 appears to have (non-sgi versions of) <hash_set> & <hash_map>,
|
||||
// and no <slist> at all
|
||||
@@ -44,22 +53,30 @@
|
||||
// Updated Dinkum library defines this, and provides
|
||||
// its own min and max definitions.
|
||||
# define BOOST_NO_STD_MIN_MAX
|
||||
# undef min
|
||||
# undef max
|
||||
# endif
|
||||
# ifndef NOMINMAX
|
||||
// avoid spurious NOMINMAX redefinition warning
|
||||
# define NOMINMAX
|
||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
|
||||
|
||||
#if (defined(_MSC_VER) && (_MSC_VER <= 1300)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306)
|
||||
// if we're using a dinkum lib that's
|
||||
// been configured for VC6 then there is
|
||||
// been configured for VC6/7 then there is
|
||||
// no iterator traits (true even for icl)
|
||||
# define BOOST_NO_STD_ITERATOR_TRAITS
|
||||
#endif
|
||||
|
||||
#if defined(__ICL) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310)
|
||||
// Intel C++ chokes over any non-trivial use of <locale>
|
||||
// this may be an overly restrictive define, but regex fails without it:
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
#endif
|
||||
|
||||
#ifdef _CPPLIB_VER
|
||||
# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER
|
||||
#else
|
||||
# define BOOST_DINKUMWARE_STDLIB 1
|
||||
#endif
|
||||
|
||||
#ifdef _CPPLIB_VER
|
||||
# define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)
|
||||
#else
|
||||
@@ -69,3 +86,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
34
include/boost/config/stdlib/libcomo.hpp
Normal file
34
include/boost/config/stdlib/libcomo.hpp
Normal file
@@ -0,0 +1,34 @@
|
||||
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
|
||||
// Comeau STL:
|
||||
|
||||
#if !defined(__LIBCOMO__)
|
||||
# include <utility>
|
||||
# if !defined(__LIBCOMO__)
|
||||
# error "This is not the Comeau STL!"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// std::streambuf<wchar_t> is non-standard
|
||||
// NOTE: versions of libcomo prior to beta28 have octal version numbering,
|
||||
// e.g. version 25 is 21 (dec)
|
||||
#if __LIBCOMO_VERSION__ <= 22
|
||||
# define BOOST_NO_STD_WSTREAMBUF
|
||||
#endif
|
||||
|
||||
//
|
||||
// Intrinsic type_traits support.
|
||||
// The SGI STL has it's own __type_traits class, which
|
||||
// has intrinsic compiler support with SGI's compilers.
|
||||
// Whatever map SGI style type traits to boost equivalents:
|
||||
//
|
||||
#define BOOST_HAS_SGI_TYPE_TRAITS
|
||||
|
||||
#define BOOST_STDLIB "Comeau standard library " BOOST_STRINGIZE(__LIBCOMO_VERSION__)
|
||||
|
||||
@@ -14,7 +14,12 @@
|
||||
# define BOOST_NO_CWCHAR
|
||||
# define BOOST_NO_CWCTYPE
|
||||
# define BOOST_NO_STD_WSTRING
|
||||
# define BOOST_NO_STD_WSTREAMBUF
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef _GLIBCPP_USE_LONG_LONG
|
||||
// May have been set by compiler/*.hpp, but "long long" without library
|
||||
// support is useless.
|
||||
# undef BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
|
||||
@@ -30,6 +30,12 @@
|
||||
#if defined(__MSL__) && (__MSL__ >= 0x5000)
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# define BOOST_HAS_UNISTD_H
|
||||
// boilerplate code:
|
||||
# include <boost/config/posix_features.hpp>
|
||||
#endif
|
||||
|
||||
#if _MWMT
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -39,6 +39,17 @@
|
||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
#endif
|
||||
|
||||
#if BOOST_RWSTD_VER <= 0x020101
|
||||
# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||
# endif
|
||||
|
||||
//
|
||||
// Borland version of numeric_limits lacks __int64 specialisation:
|
||||
//
|
||||
#ifdef __BORLANDC__
|
||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
#endif
|
||||
|
||||
//
|
||||
// No std::iterator if it can't figure out default template args:
|
||||
//
|
||||
@@ -76,7 +87,7 @@
|
||||
// (the or _HPACC_ part is a hack - the library seems to define _RWSTD_ALLOCATOR
|
||||
// on HP aCC systems even though the allocator is in fact broken):
|
||||
//
|
||||
#if !defined(_RWSTD_ALLOCATOR) || defined(_HPACC_) || defined(__HP_aCC)
|
||||
#if !defined(_RWSTD_ALLOCATOR) || (defined(__HP_aCC) && __HP_aCC <= 33100)
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
#endif
|
||||
|
||||
@@ -104,3 +115,4 @@
|
||||
# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -24,12 +24,17 @@
|
||||
//
|
||||
// No std::stringstream with gcc < 3
|
||||
//
|
||||
#if defined(__GNUC__) && (__GNUC__ < 3) && (__GNUC_MINOR__ < 95) && !defined(__STL_USE_NEW_IOSTREAMS) || defined(__APPLE_CC__)
|
||||
// Note that we only set this for gnu C++ prior to 2.95 since the
|
||||
#if defined(__GNUC__) && (__GNUC__ < 3) && \
|
||||
((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \
|
||||
!defined(__STL_USE_NEW_IOSTREAMS) || \
|
||||
defined(__APPLE_CC__)
|
||||
// Note that we only set this for GNU C++ prior to 2.95 since the
|
||||
// latest patches for that release do contain a minimal <sstream>
|
||||
// If you are running a 2.95 release prior to 2.95.3 then this will need
|
||||
// setting, but there is no way to detect that automatically (other
|
||||
// than by running the configure script).
|
||||
// Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't
|
||||
// have <sstream>.
|
||||
# define BOOST_NO_STRINGSTREAM
|
||||
#endif
|
||||
|
||||
@@ -41,6 +46,20 @@
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
#endif
|
||||
|
||||
//
|
||||
// Original native SGI streams have non-standard std::messages facet:
|
||||
//
|
||||
#if defined(__sgi) && (_COMPILER_VERSION <= 650) && !defined(__SGI_STL_OWN_IOSTREAMS)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
#endif
|
||||
|
||||
//
|
||||
// SGI's new iostreams have missing "const" in messages<>::open
|
||||
//
|
||||
#if defined(__sgi) && (_COMPILER_VERSION <= 730) && defined(__STL_USE_NEW_IOSTREAMS)
|
||||
# define BOOST_NO_STD_MESSAGES
|
||||
#endif
|
||||
|
||||
//
|
||||
// No template iterator constructors, or std::allocator
|
||||
// without member templates:
|
||||
@@ -63,6 +82,8 @@
|
||||
# include <string>
|
||||
# if defined(__BASTRING__)
|
||||
# define BOOST_NO_LIMITS
|
||||
// Note: <boost/limits.hpp> will provide compile-time constants
|
||||
# undef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
# define BOOST_NO_STD_WSTRING
|
||||
# endif
|
||||
#endif
|
||||
@@ -74,4 +95,13 @@
|
||||
# define BOOST_NO_STD_ITERATOR
|
||||
#endif
|
||||
|
||||
//
|
||||
// Intrinsic type_traits support.
|
||||
// The SGI STL has it's own __type_traits class, which
|
||||
// has intrinsic compiler support with SGI's compilers.
|
||||
// Whatever map SGI style type traits to boost equivalents:
|
||||
//
|
||||
#define BOOST_HAS_SGI_TYPE_TRAITS
|
||||
|
||||
#define BOOST_STDLIB "SGI standard library"
|
||||
|
||||
|
||||
@@ -45,6 +45,20 @@
|
||||
# define BOOST_NO_STRINGSTREAM
|
||||
#endif
|
||||
|
||||
//
|
||||
// If the streams are not native, and we have a "using ::x" compiler bug
|
||||
// then the io stream facets are not available in namespace std::
|
||||
//
|
||||
#ifdef _STLPORT_VERSION
|
||||
# if !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
# endif
|
||||
#else
|
||||
# if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Without member template support enabled, their are no template
|
||||
// iterate constructors, and no std::allocator:
|
||||
@@ -53,6 +67,10 @@
|
||||
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
#endif
|
||||
//
|
||||
// however we always have at least a partial allocator:
|
||||
//
|
||||
#define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
|
||||
#if !defined(_STLP_MEMBER_TEMPLATE_CLASSES)
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
@@ -69,18 +87,42 @@
|
||||
// but doesn't always get them all, define BOOST_NO_STDC_NAMESPACE, since our
|
||||
// workaround does not conflict with STLports:
|
||||
//
|
||||
#if defined(__STL_IMPORT_VENDOR_CSTD) || defined(__STL_USE_OWN_NAMESPACE) || defined(_STLP_IMPORT_VENDOR_CSTD) || defined(_STLP_USE_OWN_NAMESPACE)
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
//
|
||||
// Harold Howe says:
|
||||
// Borland switched to STLport in BCB6. Defining BOOST_NO_STDC_NAMESPACE with
|
||||
// BCB6 does cause problems. If we detect C++ Builder, then don't define
|
||||
// BOOST_NO_STDC_NAMESPACE
|
||||
//
|
||||
#if !defined(__BORLANDC__)
|
||||
//
|
||||
// If STLport is using it's own namespace, and the real names are in
|
||||
// the global namespace, then we duplicate STLport's using declarations
|
||||
// (by defining BOOST_NO_STDC_NAMESPACE), we do this because STLport doesn't
|
||||
// necessarily import all the names we need into namespace std::
|
||||
//
|
||||
# if (defined(__STL_IMPORT_VENDOR_CSTD) \
|
||||
|| defined(__STL_USE_OWN_NAMESPACE) \
|
||||
|| defined(_STLP_IMPORT_VENDOR_CSTD) \
|
||||
|| defined(_STLP_USE_OWN_NAMESPACE)) \
|
||||
&& (defined(__STL_VENDOR_GLOBAL_CSTD) || defined (_STLP_VENDOR_GLOBAL_CSTD))
|
||||
# define BOOST_NO_STDC_NAMESPACE
|
||||
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||
# endif
|
||||
#elif __BORLANDC__ < 0x560
|
||||
// STLport doesn't import std::abs correctly:
|
||||
#include <stdlib.h>
|
||||
namespace std { using ::abs; }
|
||||
// and strcmp/strcpy don't get imported either ('cos they are macros)
|
||||
#include <string.h>
|
||||
#ifdef strcpy
|
||||
# undef strcpy
|
||||
#endif
|
||||
#ifdef strcmp
|
||||
# undef strcmp
|
||||
#endif
|
||||
#ifdef _STLP_VENDOR_CSTD
|
||||
namespace std{ using _STLP_VENDOR_CSTD::strcmp; using _STLP_VENDOR_CSTD::strcpy; }
|
||||
#endif
|
||||
|
||||
//
|
||||
// std::reverse_iterate behaves like VC6's under some circumstances:
|
||||
//
|
||||
#if defined (_STLP_USE_OLD_HP_ITERATOR_QUERIES) || defined (__STL_USE_OLD_HP_ITERATOR_QUERIES)\
|
||||
|| (!defined ( _STLP_CLASS_PARTIAL_SPECIALIZATION ) && !defined ( __STL_CLASS_PARTIAL_SPECIALIZATION ))
|
||||
// disable this for now, it causes too many problems, we need a better
|
||||
// fix for broken reverse iterators:
|
||||
// # define BOOST_MSVC_STD_ITERATOR
|
||||
#endif
|
||||
|
||||
//
|
||||
@@ -92,14 +134,29 @@
|
||||
#endif
|
||||
|
||||
//
|
||||
// If STLport thinks there are no wide functions, <cwchar> etc. is not working.
|
||||
// If STLport thinks there are no wide functions, <cwchar> etc. is not working; but
|
||||
// only if BOOST_NO_STDC_NAMESPACE is not defined (if it is then we do the import
|
||||
// into std:: ourselves).
|
||||
//
|
||||
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS)
|
||||
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined(BOOST_NO_STDC_NAMESPACE)
|
||||
# define BOOST_NO_CWCHAR
|
||||
# define BOOST_NO_CWTYPE
|
||||
# define BOOST_NO_CWCTYPE
|
||||
#endif
|
||||
|
||||
//
|
||||
// Borland ships a version of STLport with C++ Builder 6 that lacks
|
||||
// hashtables and the like:
|
||||
//
|
||||
#if defined(__BORLANDC__) && (__BORLANDC__ == 0x560)
|
||||
# undef BOOST_HAS_HASH
|
||||
#endif
|
||||
|
||||
|
||||
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,11 @@
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
|
||||
#if __IBMCPP__ <= 501
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
#endif
|
||||
|
||||
#define BOOST_HAS_MACRO_USE_FACET
|
||||
#define BOOST_NO_STD_ALLOCATOR
|
||||
|
||||
#define BOOST_STDLIB "Visual Age default standard library"
|
||||
|
||||
|
||||
@@ -17,9 +17,29 @@
|
||||
#ifndef BOOST_CONFIG_SUFFIX_HPP
|
||||
#define BOOST_CONFIG_SUFFIX_HPP
|
||||
|
||||
# ifndef BOOST_DECL
|
||||
# define BOOST_DECL // default for compilers not needing this decoration.
|
||||
# endif
|
||||
//
|
||||
// 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,
|
||||
// remember that since these just declare a bunch of macros, there should be
|
||||
// no namespace issues from this.
|
||||
//
|
||||
#include <limits.h>
|
||||
# if !defined(BOOST_HAS_LONG_LONG) \
|
||||
&& !(defined(BOOST_MSVC) && BOOST_MSVC <=1300) && !defined(__BORLANDC__) \
|
||||
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_INTEGRAL_INT64_T)
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
#endif
|
||||
|
||||
// GCC 3.x will clean up all of those nasty macro definitions that
|
||||
// BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine
|
||||
// it under GCC 3.x.
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 3) && defined(BOOST_NO_CTYPE_FUNCTIONS)
|
||||
# undef BOOST_NO_CTYPE_FUNCTIONS
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// Assume any extensions are in namespace std:: unless stated otherwise:
|
||||
@@ -43,8 +63,26 @@
|
||||
# if defined(BOOST_NO_LIMITS) \
|
||||
&& !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS)
|
||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||
# endif
|
||||
|
||||
//
|
||||
// if there is no long long then there is no specialisation
|
||||
// for numeric_limits<long long> either:
|
||||
//
|
||||
#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS)
|
||||
# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||
#endif
|
||||
|
||||
//
|
||||
// if there is no __int64 then there is no specialisation
|
||||
// for numeric_limits<__int64> either:
|
||||
//
|
||||
#if !defined(BOOST_HAS_MS_INT64) && !defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS)
|
||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
#endif
|
||||
|
||||
//
|
||||
// if member templates are supported then so is the
|
||||
// VC6 subset of member templates:
|
||||
@@ -54,6 +92,14 @@
|
||||
# define BOOST_MSVC6_MEMBER_TEMPLATES
|
||||
# endif
|
||||
|
||||
//
|
||||
// Without partial specialization, can't test for partial specialisation bugs:
|
||||
//
|
||||
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
|
||||
&& !defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG)
|
||||
# define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
|
||||
# endif
|
||||
|
||||
//
|
||||
// Without partial specialization, std::iterator_traits can't work:
|
||||
//
|
||||
@@ -82,6 +128,13 @@
|
||||
# define BOOST_NO_STD_ALLOCATOR
|
||||
# endif
|
||||
|
||||
//
|
||||
// If we have a standard allocator, then we have a partial one as well:
|
||||
//
|
||||
#if !defined(BOOST_NO_STD_ALLOCATOR)
|
||||
# define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
#endif
|
||||
|
||||
//
|
||||
// We can't have a working std::use_facet if there is no std::locale:
|
||||
//
|
||||
@@ -96,6 +149,13 @@
|
||||
# define BOOST_NO_STD_MESSAGES
|
||||
# endif
|
||||
|
||||
//
|
||||
// We can't have a working std::wstreambuf if there is no std::locale:
|
||||
//
|
||||
# if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_WSTREAMBUF)
|
||||
# define BOOST_NO_STD_WSTREAMBUF
|
||||
# endif
|
||||
|
||||
//
|
||||
// We can't have a <cwctype> if there is no <cwchar>:
|
||||
//
|
||||
@@ -111,24 +171,14 @@
|
||||
# endif
|
||||
|
||||
//
|
||||
// If the platform claims to be Unix, then it had better behave like Unix!
|
||||
// If Win32 support is turned off, then we must turn off
|
||||
// threading support also, unless there is some other
|
||||
// thread API enabled:
|
||||
//
|
||||
# if defined(unix) \
|
||||
|| defined(__unix) \
|
||||
|| defined(_XOPEN_SOURCE) \
|
||||
|| defined(_POSIX_SOURCE)
|
||||
|
||||
# ifndef BOOST_HAS_UNISTD_H
|
||||
# define BOOST_HAS_UNISTD_H
|
||||
# endif
|
||||
# endif
|
||||
|
||||
//
|
||||
// If we have a <unistd.h> then some options can be deduced from it:
|
||||
//
|
||||
# ifdef BOOST_HAS_UNISTD_H
|
||||
# include <boost/config/posix_features.hpp>
|
||||
# endif
|
||||
#if defined(BOOST_DISABLE_WIN32) && defined(_WIN32) \
|
||||
&& !defined(BOOST_DISABLE_THREADS) && !defined(BOOST_HAS_PTHREADS)
|
||||
# define BOOST_DISABLE_THREADS
|
||||
#endif
|
||||
|
||||
//
|
||||
// Turn on threading support if the compiler thinks that it's in
|
||||
@@ -152,7 +202,8 @@
|
||||
// Turn threading support off if we don't recognise the threading API:
|
||||
//
|
||||
#if defined(BOOST_HAS_THREADS) && !defined(BOOST_HAS_PTHREADS)\
|
||||
&& !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_BETHREADS)
|
||||
&& !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_BETHREADS)\
|
||||
&& !defined(BOOST_HAS_MPTASKS)
|
||||
# undef BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
@@ -203,14 +254,6 @@ namespace std {
|
||||
inline const _Tp& max(const _Tp& __a, const _Tp& __b) {
|
||||
return __a < __b ? __b : __a;
|
||||
}
|
||||
# ifdef BOOST_MSVC
|
||||
inline long min(long __a, long __b) {
|
||||
return __b < __a ? __b : __a;
|
||||
}
|
||||
inline long max(long __a, long __b) {
|
||||
return __a < __b ? __b : __a;
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
# endif
|
||||
@@ -240,7 +283,7 @@ namespace std {
|
||||
|
||||
#if defined(BOOST_NO_STD_USE_FACET)
|
||||
# ifdef BOOST_HAS_TWO_ARG_USE_FACET
|
||||
# define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast<Type const*>(0))
|
||||
# define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast<Type*>(0))
|
||||
# elif defined(BOOST_HAS_MACRO_USE_FACET)
|
||||
# define BOOST_USE_FACET(Type, loc) std::_USE(loc, Type)
|
||||
# elif defined(BOOST_HAS_STLP_USE_FACET)
|
||||
@@ -266,6 +309,34 @@ namespace std {
|
||||
# define BOOST_NESTED_TEMPLATE
|
||||
#endif
|
||||
|
||||
// BOOST_UNREACHABLE_RETURN(x) workaround -------------------------------------//
|
||||
// Normally evaluates to nothing, unless BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
// is defined, in which case it evaluates to return x; Use when you have a return
|
||||
// statement that can never be reached.
|
||||
|
||||
#ifdef BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
# define BOOST_UNREACHABLE_RETURN(x) return x;
|
||||
#else
|
||||
# define BOOST_UNREACHABLE_RETURN(x)
|
||||
#endif
|
||||
|
||||
// BOOST_DEDUCED_TYPENAME workaround ------------------------------------------//
|
||||
//
|
||||
// Some compilers don't support the use of `typename' for dependent
|
||||
// types in deduced contexts, e.g.
|
||||
//
|
||||
// template <class T> void f(T, typename T::type);
|
||||
// ^^^^^^^^
|
||||
// Replace these declarations with:
|
||||
//
|
||||
// template <class T> void f(T, BOOST_DEDUCED_TYPENAME T::type);
|
||||
|
||||
#ifndef BOOST_NO_DEDUCED_TYPENAME
|
||||
# define BOOST_DEDUCED_TYPENAME typename
|
||||
#else
|
||||
# define BOOST_DEDUCED_TYPENAME
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------------//
|
||||
|
||||
//
|
||||
@@ -309,3 +380,4 @@ namespace std {
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
// (C) Copyright Boost.org 2001.
|
||||
// boost/config/user.hpp ---------------------------------------------------//
|
||||
|
||||
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Do not check in modified versions of this file,
|
||||
// This file may be customized by the end user, but not by boost.
|
||||
|
||||
@@ -55,4 +61,8 @@
|
||||
// when available:
|
||||
// #define BOOST_DISABLE_THREADS
|
||||
|
||||
// define when you want to disable Win32 specific features
|
||||
// even when available:
|
||||
// #define BOOST_DISABLE_WIN32
|
||||
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
* 5 Apr 2001:
|
||||
* Added sparc (big endian) processor support (John Maddock).
|
||||
* Initial sub:
|
||||
* Modified by Jens Maurer for gcc 2.95 on x86.
|
||||
* Modified by Jens Maurer for gcc 2.95 on x86.
|
||||
*/
|
||||
|
||||
#ifndef BOOST_SGI_CPP_LIMITS
|
||||
@@ -47,9 +47,11 @@
|
||||
#include <cwchar> // for WCHAR_MIN and WCHAR_MAX
|
||||
#endif
|
||||
|
||||
#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB)
|
||||
// The macros are not named appropriately. We don't care about integer
|
||||
// bit layout, but about floating-point NaN (etc.) bit patterns.
|
||||
#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER)
|
||||
#define BOOST_BIG_ENDIAN
|
||||
#elif defined(__i386__)
|
||||
#elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__)
|
||||
#define BOOST_LITTLE_ENDIAN
|
||||
#else
|
||||
#error The file boost/detail/limits.hpp needs to be set up for your CPU type.
|
||||
@@ -92,8 +94,16 @@ enum float_denorm_style {
|
||||
static const __mem_type __mem_name = __mem_value
|
||||
#endif /* BOOST_NO_INCLASS_MEMBER_INITIALIZATION */
|
||||
|
||||
// Base class for all specializations of numeric_limits.
|
||||
// Deal with min/max for MinGW
|
||||
#ifdef min
|
||||
# undef min
|
||||
#endif
|
||||
|
||||
#ifdef max
|
||||
# undef max
|
||||
#endif
|
||||
|
||||
// Base class for all specializations of numeric_limits.
|
||||
template <class __number>
|
||||
class _Numeric_limits_base {
|
||||
public:
|
||||
@@ -194,7 +204,7 @@ public:
|
||||
const unsigned int _S_word[4] = { 0, 0, 0, Word };
|
||||
return *reinterpret_cast<const Number*>(
|
||||
reinterpret_cast<const char *>(&_S_word)+16-
|
||||
(sizeof(Number) == 12 ? 10 : sizeof(Number)));
|
||||
(sizeof(Number) == 12 ? 10 : sizeof(Number)));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -337,24 +347,21 @@ class numeric_limits<unsigned long>
|
||||
// Some compilers have long long, but don't define the
|
||||
// LONGLONG_MIN and LONGLONG_MAX macros in limits.h. This
|
||||
// assumes that long long is 64 bits.
|
||||
#if !defined(LONGLONG_MIN) && !defined(LONGLONG_MAX) \
|
||||
&& !defined(ULONGLONG_MAX)
|
||||
#if !defined(LONGLONG_MAX) && !defined(ULONGLONG_MAX)
|
||||
|
||||
#define ULONGLONG_MAX 0xffffffffffffffffLLU
|
||||
#define LONGLONG_MAX 0x7fffffffffffffffLL
|
||||
#define LONGLONG_MIN (-LONGLONG_MAX - 1)
|
||||
# define ULONGLONG_MAX 0xffffffffffffffffLLU
|
||||
# define LONGLONG_MAX 0x7fffffffffffffffLL
|
||||
|
||||
#endif
|
||||
|
||||
template<>
|
||||
class numeric_limits<long long>
|
||||
: public _Integer_limits<long long, LONGLONG_MIN, LONGLONG_MAX>
|
||||
{};
|
||||
#if !defined(LONGLONG_MIN)
|
||||
# define LONGLONG_MIN (-LONGLONG_MAX - 1)
|
||||
#endif
|
||||
|
||||
template<>
|
||||
class numeric_limits<unsigned long long>
|
||||
: public _Integer_limits<unsigned long long, 0, ULONGLONG_MAX>
|
||||
{};
|
||||
|
||||
#if !defined(ULONGLONG_MIN)
|
||||
# define ULONGLONG_MIN 0
|
||||
#endif
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
||||
74
include/boost/detail/workaround.hpp
Normal file
74
include/boost/detail/workaround.hpp
Normal file
@@ -0,0 +1,74 @@
|
||||
// Copyright David Abrahams 2002. Permission to copy, use,
|
||||
// modify, sell and distribute this software is granted provided this
|
||||
// copyright notice appears in all copies. This software is provided
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
#ifndef WORKAROUND_DWA2002126_HPP
|
||||
# define WORKAROUND_DWA2002126_HPP
|
||||
|
||||
// Compiler/library version workaround macro
|
||||
//
|
||||
// Usage:
|
||||
//
|
||||
// #if BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
||||
// ... // workaround code here
|
||||
// #endif
|
||||
//
|
||||
// When BOOST_STRICT_CONFIG is defined, expands to 0. Otherwise, the
|
||||
// first argument must be undefined or expand to a numeric
|
||||
// value. The above expands to:
|
||||
//
|
||||
// (BOOST_MSVC) != 0 && (BOOST_MSVC) <= 1200
|
||||
//
|
||||
// When used for workarounds that apply to the latest known version
|
||||
// and all earlier versions of a compiler, the following convention
|
||||
// should be observed:
|
||||
//
|
||||
// #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1301))
|
||||
//
|
||||
// The version number in this case corresponds to the last version in
|
||||
// which the workaround was known to have been required. When
|
||||
// BOOST_DETECT_OUTDATED_WORKAROUNDS is not the defined, the macro
|
||||
// BOOST_TESTED_AT(x) expands to "!= 0", which effectively activates
|
||||
// the workaround for any version of the compiler. When
|
||||
// BOOST_DETECT_OUTDATED_WORKAROUNDS is defined, a compiler warning or
|
||||
// error will be issued if the compiler version exceeds the argument
|
||||
// to BOOST_TESTED_AT(). This can be used to locate workarounds which
|
||||
// may be obsoleted by newer versions.
|
||||
|
||||
# ifndef BOOST_STRICT_CONFIG
|
||||
|
||||
# define BOOST_WORKAROUND(symbol, test) \
|
||||
((symbol != 0) && (1 % (( (symbol test) ) + 1)))
|
||||
// ^ ^ ^ ^
|
||||
// The extra level of parenthesis nesting above, along with the
|
||||
// BOOST_OPEN_PAREN indirection below, is required to satisfy the
|
||||
// broken preprocessor in MWCW 8.3 and earlier.
|
||||
//
|
||||
// The basic mechanism works as follows:
|
||||
// (symbol test) + 1 => if (symbol test) then 2 else 1
|
||||
// 1 % ((symbol test) + 1) => if (symbol test) then 1 else 0
|
||||
//
|
||||
// The complication with % is for cooperation with BOOST_TESTED_AT().
|
||||
// When "test" is BOOST_TESTED_AT(x) and
|
||||
// BOOST_DETECT_OUTDATED_WORKAROUNDS is #defined,
|
||||
//
|
||||
// symbol test => if (symbol <= x) then 1 else -1
|
||||
// (symbol test) + 1 => if (symbol <= x) then 2 else 0
|
||||
// 1 % ((symbol test) + 1) => if (symbol <= x) then 1 else divide-by-zero
|
||||
//
|
||||
|
||||
# ifdef BOOST_DETECT_OUTDATED_WORKAROUNDS
|
||||
# define BOOST_OPEN_PAREN (
|
||||
# define BOOST_TESTED_AT(value) > value) ?(-1): BOOST_OPEN_PAREN 1
|
||||
# else
|
||||
# define BOOST_TESTED_AT(value) != 0
|
||||
# endif
|
||||
|
||||
# else
|
||||
|
||||
# define BOOST_WORKAROUND(symbol, test) 0
|
||||
|
||||
# endif
|
||||
|
||||
#endif // WORKAROUND_DWA2002126_HPP
|
||||
@@ -6,15 +6,136 @@
|
||||
//
|
||||
// use this header as a workaround for missing <limits>
|
||||
|
||||
// See http://www.boost.org/libs/utility/limits.html for documentation.
|
||||
|
||||
#ifndef BOOST_LIMITS
|
||||
#define BOOST_LIMITS
|
||||
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#ifdef BOOST_NO_LIMITS
|
||||
#include <boost/detail/limits.hpp>
|
||||
# include <boost/detail/limits.hpp>
|
||||
#else
|
||||
#include <limits>
|
||||
# include <limits>
|
||||
#endif
|
||||
|
||||
#if (defined(BOOST_HAS_LONG_LONG) && defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS)) \
|
||||
|| (defined(BOOST_HAS_MS_INT64) && defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS))
|
||||
// Add missing specializations for numeric_limits:
|
||||
#ifdef BOOST_HAS_MS_INT64
|
||||
# define BOOST_LLT __int64
|
||||
#else
|
||||
# define BOOST_LLT long long
|
||||
#endif
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<>
|
||||
class numeric_limits<BOOST_LLT>
|
||||
{
|
||||
public:
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, is_specialized = true);
|
||||
#ifdef BOOST_HAS_MS_INT64
|
||||
static BOOST_LLT min(){ return 0x8000000000000000i64; }
|
||||
static BOOST_LLT max(){ return 0x7FFFFFFFFFFFFFFFi64; }
|
||||
#elif defined(LLONG_MAX)
|
||||
static BOOST_LLT min(){ return LLONG_MIN; }
|
||||
static BOOST_LLT max(){ return LLONG_MAX; }
|
||||
#elif defined(LONGLONG_MAX)
|
||||
static BOOST_LLT min(){ return LONGLONG_MIN; }
|
||||
static BOOST_LLT max(){ return LONGLONG_MAX; }
|
||||
#else
|
||||
static BOOST_LLT min(){ return 1LL << (sizeof(BOOST_LLT) * CHAR_BIT - 1); }
|
||||
static BOOST_LLT max(){ return ~min(); }
|
||||
#endif
|
||||
BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT -1);
|
||||
BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT) - 1) * 301L / 1000);
|
||||
BOOST_STATIC_CONSTANT(bool, is_signed = true);
|
||||
BOOST_STATIC_CONSTANT(bool, is_integer = true);
|
||||
BOOST_STATIC_CONSTANT(bool, is_exact = true);
|
||||
BOOST_STATIC_CONSTANT(int, radix = 2);
|
||||
static BOOST_LLT epsilon() throw() { return 0; };
|
||||
static BOOST_LLT round_error() throw() { return 0; };
|
||||
|
||||
BOOST_STATIC_CONSTANT(int, min_exponent = 0);
|
||||
BOOST_STATIC_CONSTANT(int, min_exponent10 = 0);
|
||||
BOOST_STATIC_CONSTANT(int, max_exponent = 0);
|
||||
BOOST_STATIC_CONSTANT(int, max_exponent10 = 0);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, has_infinity = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_denorm = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false);
|
||||
static BOOST_LLT infinity() throw() { return 0; };
|
||||
static BOOST_LLT quiet_NaN() throw() { return 0; };
|
||||
static BOOST_LLT signaling_NaN() throw() { return 0; };
|
||||
static BOOST_LLT denorm_min() throw() { return 0; };
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, is_iec559 = false);
|
||||
BOOST_STATIC_CONSTANT(bool, is_bounded = false);
|
||||
BOOST_STATIC_CONSTANT(bool, is_modulo = false);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, traps = false);
|
||||
BOOST_STATIC_CONSTANT(bool, tinyness_before = false);
|
||||
BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero);
|
||||
|
||||
};
|
||||
|
||||
template<>
|
||||
class numeric_limits<unsigned BOOST_LLT>
|
||||
{
|
||||
public:
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, is_specialized = true);
|
||||
#ifdef BOOST_HAS_MS_INT64
|
||||
static unsigned BOOST_LLT min(){ return 0ui64; }
|
||||
static unsigned BOOST_LLT max(){ return 0xFFFFFFFFFFFFFFFFui64; }
|
||||
#elif defined(ULLONG_MAX) && defined(ULLONG_MIN)
|
||||
static unsigned BOOST_LLT min(){ return ULLONG_MIN; }
|
||||
static unsigned BOOST_LLT max(){ return ULLONG_MAX; }
|
||||
#elif defined(ULONGLONG_MAX) && defined(ULONGLONG_MIN)
|
||||
static unsigned BOOST_LLT min(){ return ULONGLONG_MIN; }
|
||||
static unsigned BOOST_LLT max(){ return ULONGLONG_MAX; }
|
||||
#else
|
||||
static unsigned BOOST_LLT min(){ return 0uLL; }
|
||||
static unsigned BOOST_LLT max(){ return ~0uLL; }
|
||||
#endif
|
||||
BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT);
|
||||
BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT)) * 301L / 1000);
|
||||
BOOST_STATIC_CONSTANT(bool, is_signed = false);
|
||||
BOOST_STATIC_CONSTANT(bool, is_integer = true);
|
||||
BOOST_STATIC_CONSTANT(bool, is_exact = true);
|
||||
BOOST_STATIC_CONSTANT(int, radix = 2);
|
||||
static unsigned BOOST_LLT epsilon() throw() { return 0; };
|
||||
static unsigned BOOST_LLT round_error() throw() { return 0; };
|
||||
|
||||
BOOST_STATIC_CONSTANT(int, min_exponent = 0);
|
||||
BOOST_STATIC_CONSTANT(int, min_exponent10 = 0);
|
||||
BOOST_STATIC_CONSTANT(int, max_exponent = 0);
|
||||
BOOST_STATIC_CONSTANT(int, max_exponent10 = 0);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, has_infinity = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_denorm = false);
|
||||
BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false);
|
||||
static unsigned BOOST_LLT infinity() throw() { return 0; };
|
||||
static unsigned BOOST_LLT quiet_NaN() throw() { return 0; };
|
||||
static unsigned BOOST_LLT signaling_NaN() throw() { return 0; };
|
||||
static unsigned BOOST_LLT denorm_min() throw() { return 0; };
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, is_iec559 = false);
|
||||
BOOST_STATIC_CONSTANT(bool, is_bounded = false);
|
||||
BOOST_STATIC_CONSTANT(bool, is_modulo = false);
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, traps = false);
|
||||
BOOST_STATIC_CONSTANT(bool, tinyness_before = false);
|
||||
BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero);
|
||||
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Boost config.hpp configuration header file ------------------------------//
|
||||
// Boost version.hpp configuration header file ------------------------------//
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
// See http://www.boost.org/libs/config for documentation
|
||||
|
||||
#ifndef BOOST_VERSION_HPP
|
||||
#define BOOST_VERSION_HPP
|
||||
@@ -20,7 +20,7 @@
|
||||
// BOOST_VERSION / 100 % 1000 is the minor version
|
||||
// BOOST_VERSION / 100000 is the major version
|
||||
|
||||
#define BOOST_VERSION 102500
|
||||
#define BOOST_VERSION 103002
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
9
index.html
Normal file
9
index.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; URL=config.htm">
|
||||
</head>
|
||||
<body>
|
||||
Automatic redirection failed, please go to
|
||||
<a href="config.htm">config.htm</a>.
|
||||
</body>
|
||||
</html>
|
||||
245
test/Jamfile
Normal file
245
test/Jamfile
Normal file
@@ -0,0 +1,245 @@
|
||||
#
|
||||
# Regression test Jamfile for boost configuration setup.
|
||||
# This file was automatically generated on Thu Feb 13 12:10:01 GMTST 2003,
|
||||
# do not edit by hand...
|
||||
#
|
||||
subproject libs/config/test ;
|
||||
# bring in the rules for testing
|
||||
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
||||
include testing.jam ;
|
||||
|
||||
run config_info.cpp ;
|
||||
run config_test.cpp <lib>../../test/build/boost_test_exec_monitor ;
|
||||
run limits_test.cpp <lib>../../test/build/boost_test_exec_monitor ;
|
||||
|
||||
test-suite "BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP" :
|
||||
[ run no_arg_dep_lookup_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_arg_dep_lookup_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_AUTO_PTR" :
|
||||
[ run no_auto_ptr_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_auto_ptr_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_BCB_PARTIAL_SPECIALIZATION_BUG" :
|
||||
[ run no_bcb_partial_spec_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_bcb_partial_spec_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_CTYPE_FUNCTIONS" :
|
||||
[ run no_ctype_functions_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ctype_functions_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_CV_SPECIALIZATIONS" :
|
||||
[ run no_cv_spec_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_cv_spec_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_CV_VOID_SPECIALIZATIONS" :
|
||||
[ run no_cv_void_spec_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_cv_void_spec_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_CWCHAR" :
|
||||
[ run no_cwchar_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_cwchar_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_CWCTYPE" :
|
||||
[ run no_cwctype_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_cwctype_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_DEDUCED_TYPENAME" :
|
||||
[ run no_ded_typename_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ded_typename_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_DEPENDENT_NESTED_DERIVATIONS" :
|
||||
[ run no_dep_nested_class_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_dep_nested_class_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS" :
|
||||
[ run no_dep_val_param_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_dep_val_param_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_EXCEPTION_STD_NAMESPACE" :
|
||||
[ run no_excep_std_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_excep_std_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_EXCEPTIONS" :
|
||||
[ run no_exceptions_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_exceptions_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS" :
|
||||
[ run no_exp_func_tem_arg_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_exp_func_tem_arg_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_FUNCTION_TEMPLATE_ORDERING" :
|
||||
[ run no_func_tmp_order_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_func_tmp_order_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_MS_INT64_NUMERIC_LIMITS" :
|
||||
[ run no_i64_limits_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_i64_limits_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_INCLASS_MEMBER_INITIALIZATION" :
|
||||
[ run no_inline_memb_init_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_inline_memb_init_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_INTEGRAL_INT64_T" :
|
||||
[ run no_integral_int64_t_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_integral_int64_t_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS" :
|
||||
[ run no_iter_construct_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_iter_construct_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_LIMITS" :
|
||||
[ run no_limits_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_limits_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
|
||||
[ run no_limits_const_exp_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_limits_const_exp_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
|
||||
[ run no_ll_limits_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ll_limits_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS" :
|
||||
[ run no_mem_func_spec_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_mem_func_spec_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_MEMBER_TEMPLATE_KEYWORD" :
|
||||
[ run no_mem_tem_keyword_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_mem_tem_keyword_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_MEMBER_TEMPLATE_FRIENDS" :
|
||||
[ run no_mem_templ_frnds_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_mem_templ_frnds_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_MEMBER_TEMPLATES" :
|
||||
[ run no_mem_templates_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_mem_templates_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_OPERATORS_IN_NAMESPACE" :
|
||||
[ run no_ops_in_namespace_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ops_in_namespace_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION" :
|
||||
[ run no_partial_spec_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_partial_spec_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_PRIVATE_IN_AGGREGATE" :
|
||||
[ run no_priv_aggregate_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_priv_aggregate_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_POINTER_TO_MEMBER_CONST" :
|
||||
[ run no_ptr_mem_const_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ptr_mem_const_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" :
|
||||
[ run no_ret_det_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_ret_det_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STRINGSTREAM" :
|
||||
[ run no_sstream_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_sstream_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_ALLOCATOR" :
|
||||
[ run no_std_allocator_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_allocator_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_DISTANCE" :
|
||||
[ run no_std_distance_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_distance_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_ITERATOR_TRAITS" :
|
||||
[ run no_std_iter_traits_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_iter_traits_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_ITERATOR" :
|
||||
[ run no_std_iterator_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_iterator_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_LOCALE" :
|
||||
[ run no_std_locale_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_locale_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_MESSAGES" :
|
||||
[ run no_std_messages_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_messages_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_MIN_MAX" :
|
||||
[ run no_std_min_max_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_min_max_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN" :
|
||||
[ run no_std_oi_assign_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_oi_assign_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_USE_FACET" :
|
||||
[ run no_std_use_facet_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_use_facet_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_WSTREAMBUF" :
|
||||
[ run no_std_wstreambuf_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_wstreambuf_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STD_WSTRING" :
|
||||
[ run no_std_wstring_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_std_wstring_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_STDC_NAMESPACE" :
|
||||
[ run no_stdc_namespace_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_stdc_namespace_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_SWPRINTF" :
|
||||
[ run no_swprintf_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_swprintf_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_TEMPLATE_TEMPLATES" :
|
||||
[ run no_template_template_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_template_template_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_USING_TEMPLATE" :
|
||||
[ run no_using_template_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_using_template_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_VOID_RETURNS" :
|
||||
[ run no_void_returns_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_void_returns_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_NO_INTRINSIC_WCHAR_T" :
|
||||
[ run no_wchar_t_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail no_wchar_t_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_TWO_ARG_USE_FACET" :
|
||||
[ run has_2arg_use_facet_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_2arg_use_facet_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_BETHREADS" :
|
||||
[ run has_bethreads_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_bethreads_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_CLOCK_GETTIME" :
|
||||
[ run has_clock_gettime_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_clock_gettime_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_DIRENT_H" :
|
||||
[ run has_dirent_h_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_dirent_h_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_FTIME" :
|
||||
[ run has_ftime_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_ftime_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_GETTIMEOFDAY" :
|
||||
[ run has_gettimeofday_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_gettimeofday_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_HASH" :
|
||||
[ run has_hash_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_hash_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_LONG_LONG" :
|
||||
[ run has_long_long_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_long_long_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_MACRO_USE_FACET" :
|
||||
[ run has_macro_use_facet_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_macro_use_facet_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_MS_INT64" :
|
||||
[ run has_ms_int64_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_ms_int64_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_NANOSLEEP" :
|
||||
[ run has_nanosleep_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_nanosleep_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_NL_TYPES_H" :
|
||||
[ run has_nl_types_h_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_nl_types_h_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_NRVO" :
|
||||
[ run has_nrvo_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_nrvo_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_PARTIAL_STD_ALLOCATOR" :
|
||||
[ run has_part_alloc_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_part_alloc_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_PTHREAD_DELAY_NP" :
|
||||
[ run has_pthread_delay_np_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_pthread_delay_np_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE" :
|
||||
[ run has_pthread_ma_st_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_pthread_ma_st_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_PTHREAD_YIELD" :
|
||||
[ run has_pthread_yield_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_pthread_yield_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_PTHREADS" :
|
||||
[ run has_pthreads_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_pthreads_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_SCHED_YIELD" :
|
||||
[ run has_sched_yield_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_sched_yield_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_SGI_TYPE_TRAITS" :
|
||||
[ run has_sgi_type_traits_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_sgi_type_traits_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_SIGACTION" :
|
||||
[ run has_sigaction_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_sigaction_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_SLIST" :
|
||||
[ run has_slist_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_slist_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_STDINT_H" :
|
||||
[ run has_stdint_h_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_stdint_h_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_STLP_USE_FACET" :
|
||||
[ run has_stlp_use_facet_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_stlp_use_facet_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_UNISTD_H" :
|
||||
[ run has_unistd_h_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_unistd_h_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_MSVC6_MEMBER_TEMPLATES" :
|
||||
[ run has_vc6_mem_templ_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_vc6_mem_templ_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_MSVC_STD_ITERATOR" :
|
||||
[ run has_vc_iterator_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_vc_iterator_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
test-suite "BOOST_HAS_WINTHREADS" :
|
||||
[ run has_winthreads_pass.cpp <lib>../../test/build/boost_prg_exec_monitor ]
|
||||
[ compile-fail has_winthreads_fail.cpp <lib>../../test/build/boost_prg_exec_monitor ] ;
|
||||
@@ -17,7 +17,7 @@ namespace boost_has_two_arg_use_facet{
|
||||
int test()
|
||||
{
|
||||
std::locale l;
|
||||
const std::ctype<char>& ct = std::use_facet(l, (const std::ctype<char>*)0);
|
||||
const std::ctype<char>& ct = std::use_facet(l, (std::ctype<char>*)0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -26,3 +26,4 @@ int test()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
32
test/boost_has_clock_gettime.ipp
Normal file
32
test/boost_has_clock_gettime.ipp
Normal file
@@ -0,0 +1,32 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_CLOCK_GETTIME
|
||||
// TITLE: clock_gettime
|
||||
// DESCRIPTION: The platform supports POSIX standard API clock_gettime.
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
namespace boost_has_clock_gettime{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
timespec tp;
|
||||
int res = clock_gettime(CLOCK_REALTIME, &tp);
|
||||
(void) &res;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
27
test/boost_has_dirent_h.ipp
Normal file
27
test/boost_has_dirent_h.ipp
Normal file
@@ -0,0 +1,27 @@
|
||||
// (C) Copyright John Maddock 2002. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_DIRENT_H
|
||||
// TITLE: <dirent.h>
|
||||
// DESCRIPTION: The platform has an <dirent.h>.
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
|
||||
namespace boost_has_dirent_h{
|
||||
|
||||
int test()
|
||||
{
|
||||
DIR* pd = opendir("foobar");
|
||||
if(pd) closedir(pd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
test/boost_has_ftime.ipp
Normal file
31
test/boost_has_ftime.ipp
Normal file
@@ -0,0 +1,31 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_FTIME
|
||||
// TITLE: GetSystemTimeAsFileTime
|
||||
// DESCRIPTION: The platform supports Win32 API GetSystemTimeAsFileTime.
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
namespace boost_has_ftime{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
FILETIME ft;
|
||||
GetSystemTimeAsFileTime(&ft);
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
32
test/boost_has_gettimeofday.ipp
Normal file
32
test/boost_has_gettimeofday.ipp
Normal file
@@ -0,0 +1,32 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_GETTIMEOFDAY
|
||||
// TITLE: gettimeofday
|
||||
// DESCRIPTION: The platform supports POSIX standard API gettimeofday.
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
|
||||
namespace boost_has_gettimeofday{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
timeval tp;
|
||||
int res = gettimeofday(&tp, 0);
|
||||
(void) &res;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
28
test/boost_has_long_long.ipp
Normal file
28
test/boost_has_long_long.ipp
Normal file
@@ -0,0 +1,28 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_LONG_LONG
|
||||
// TITLE: long long
|
||||
// DESCRIPTION: The platform supports long long.
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
namespace boost_has_long_long{
|
||||
|
||||
int test()
|
||||
{
|
||||
long long lli = 0LL;
|
||||
unsigned long long ulli = 0uLL;
|
||||
(void)lli;
|
||||
(void)ulli;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
29
test/boost_has_ms_int64.ipp
Normal file
29
test/boost_has_ms_int64.ipp
Normal file
@@ -0,0 +1,29 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_MS_INT64
|
||||
// TITLE: __int64
|
||||
// DESCRIPTION: The platform supports Microsoft style __int64.
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
namespace boost_has_ms_int64{
|
||||
|
||||
int test()
|
||||
{
|
||||
__int64 lli = 0i64;
|
||||
unsigned __int64 ulli = 0ui64;
|
||||
(void)lli;
|
||||
(void)ulli;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
33
test/boost_has_nanosleep.ipp
Normal file
33
test/boost_has_nanosleep.ipp
Normal file
@@ -0,0 +1,33 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_NANOSLEEP
|
||||
// TITLE: nanosleep
|
||||
// DESCRIPTION: The platform supports POSIX API nanosleep.
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
namespace boost_has_nanosleep{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
timespec ts = {0, 0};
|
||||
timespec rm;
|
||||
int res = nanosleep(&ts, &rm);
|
||||
(void) &res;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
52
test/boost_has_nrvo.ipp
Normal file
52
test/boost_has_nrvo.ipp
Normal file
@@ -0,0 +1,52 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_NRVO
|
||||
// TITLE: Named return value optimisation.
|
||||
// DESCRIPTION: Named return value optimisation.
|
||||
|
||||
|
||||
namespace boost_has_nrvo
|
||||
{
|
||||
|
||||
class test_class
|
||||
{
|
||||
public:
|
||||
test_class() {}
|
||||
test_class(const test_class &other)
|
||||
{
|
||||
++copy_count;
|
||||
}
|
||||
|
||||
static int copy_count;
|
||||
};
|
||||
|
||||
int test_class::copy_count;
|
||||
|
||||
test_class f()
|
||||
{
|
||||
test_class nrv;
|
||||
|
||||
return nrv;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
test_class::copy_count=0;
|
||||
|
||||
f();
|
||||
|
||||
return test_class::copy_count;
|
||||
}
|
||||
|
||||
} // namespace boost_has_nrvo
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
59
test/boost_has_part_alloc.ipp
Normal file
59
test/boost_has_part_alloc.ipp
Normal file
@@ -0,0 +1,59 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
// TITLE: limited std::allocator support
|
||||
// DESCRIPTION: The std lib has at least some kind of stanfard allocator
|
||||
// with allocate/deallocate members and probably not much more.
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace boost_has_partial_std_allocator{
|
||||
|
||||
//
|
||||
// test everything except rebind template members:
|
||||
//
|
||||
|
||||
template <class T>
|
||||
int test_allocator(const T& i)
|
||||
{
|
||||
typedef std::allocator<int> alloc1_t;
|
||||
typedef typename alloc1_t::size_type size_type;
|
||||
typedef typename alloc1_t::difference_type difference_type;
|
||||
typedef typename alloc1_t::pointer pointer;
|
||||
typedef typename alloc1_t::const_pointer const_pointer;
|
||||
typedef typename alloc1_t::reference reference;
|
||||
typedef typename alloc1_t::const_reference const_reference;
|
||||
typedef typename alloc1_t::value_type value_type;
|
||||
|
||||
alloc1_t a1;
|
||||
|
||||
pointer p = a1.allocate(1);
|
||||
const_pointer cp = p;
|
||||
a1.construct(p,i);
|
||||
size_type s = a1.max_size();
|
||||
(void)s;
|
||||
reference r = *p;
|
||||
const_reference cr = *cp;
|
||||
if(p != a1.address(r)) return -1;
|
||||
if(cp != a1.address(cr)) return -1;
|
||||
a1.destroy(p);
|
||||
a1.deallocate(p,1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int test()
|
||||
{
|
||||
return test_allocator(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
32
test/boost_has_pthread_delay_np.ipp
Normal file
32
test/boost_has_pthread_delay_np.ipp
Normal file
@@ -0,0 +1,32 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_PTHREAD_DELAY_NP
|
||||
// TITLE: pthread_delay_np
|
||||
// DESCRIPTION: The platform supports non-standard pthread_delay_np API.
|
||||
|
||||
#include <pthread.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
namespace boost_has_pthread_delay_np{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
timespec ts;
|
||||
int res = pthread_delay_np(&ts);
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
34
test/boost_has_pthread_ma_st.ipp
Normal file
34
test/boost_has_pthread_ma_st.ipp
Normal file
@@ -0,0 +1,34 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
// TITLE: pthread_mutexattr_settype
|
||||
// DESCRIPTION: The platform supports POSIX API pthread_mutexattr_settype.
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
namespace boost_has_pthread_mutexattr_settype{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_init(&attr);
|
||||
int type = 0;
|
||||
pthread_mutexattr_settype(&attr, type);
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
30
test/boost_has_pthread_yield.ipp
Normal file
30
test/boost_has_pthread_yield.ipp
Normal file
@@ -0,0 +1,30 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_PTHREAD_YIELD
|
||||
// TITLE: pthread_yield
|
||||
// DESCRIPTION: The platform supports non standard API pthread_yield.
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
namespace boost_has_pthread_yield{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
int res = pthread_yield();
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
31
test/boost_has_sched_yield.ipp
Normal file
31
test/boost_has_sched_yield.ipp
Normal file
@@ -0,0 +1,31 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_SCHED_YIELD
|
||||
// TITLE: sched_yield
|
||||
// DESCRIPTION: The platform supports POSIX standard API sched_yield.
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
namespace boost_has_sched_yield{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
int res = sched_yield();
|
||||
(void) &res;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
37
test/boost_has_sgi_type_traits.ipp
Normal file
37
test/boost_has_sgi_type_traits.ipp
Normal file
@@ -0,0 +1,37 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_SGI_TYPE_TRAITS
|
||||
// TITLE: SGI style <type_traits.h>
|
||||
// DESCRIPTION: The standard library has it's own type_traits implementation.
|
||||
|
||||
#include <type_traits.h>
|
||||
|
||||
|
||||
namespace boost_has_sgi_type_traits{
|
||||
|
||||
struct foo_type{};
|
||||
|
||||
int test()
|
||||
{
|
||||
::__true_type t;
|
||||
::__false_type f;
|
||||
typedef ::__type_traits<int>::has_trivial_destructor td;
|
||||
typedef ::__type_traits<double>::has_trivial_assignment_operator ta;
|
||||
typedef ::__type_traits<float>::has_trivial_copy_constructor tc;
|
||||
typedef ::__type_traits<char>::has_trivial_default_constructor tdc;
|
||||
typedef ::__type_traits<foo_type>::is_POD_type isp;
|
||||
|
||||
(void) &t; // avoid "unused variable" warnings
|
||||
(void) &f;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
33
test/boost_has_sigaction.ipp
Normal file
33
test/boost_has_sigaction.ipp
Normal file
@@ -0,0 +1,33 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_HAS_SIGACTION
|
||||
// TITLE: sigaction
|
||||
// DESCRIPTION: The platform supports POSIX standard API sigaction.
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
namespace boost_has_sigaction{
|
||||
|
||||
void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
struct sigaction* sa1;
|
||||
struct sigaction* sa2;
|
||||
int res = sigaction(0, sa1, sa2);
|
||||
(void) &res;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
52
test/boost_no_bcb_partial_spec.ipp
Normal file
52
test/boost_no_bcb_partial_spec.ipp
Normal file
@@ -0,0 +1,52 @@
|
||||
// (C) Copyright Terje Slettebø 2002. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
|
||||
// TITLE: Full partial specialization support.
|
||||
// DESCRIPTION: Borland C++ Builder has some rather specific partial
|
||||
// specialisation bugs which this code tests for.
|
||||
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace boost_bcb_partial_specialization_bug{
|
||||
|
||||
|
||||
template<class T1,class T2>
|
||||
class Test
|
||||
{
|
||||
};
|
||||
|
||||
template<class T1,class T2>
|
||||
class Test<std::vector<T1>,T2>
|
||||
{
|
||||
};
|
||||
|
||||
template<class T>
|
||||
class Test<std::vector<int>,T>
|
||||
{
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct is_const{};
|
||||
template <class T>
|
||||
struct is_const<T const>{};
|
||||
|
||||
int test()
|
||||
{
|
||||
Test<std::vector<int>,double> v;
|
||||
is_const<const int> ci;
|
||||
(void)v; // warning suppression
|
||||
(void)ci;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
38
test/boost_no_ded_typename.ipp
Normal file
38
test/boost_no_ded_typename.ipp
Normal file
@@ -0,0 +1,38 @@
|
||||
// (C) Copyright John Maddock and David Abrahams 2002. Permission to
|
||||
// copy, use, modify, sell and distribute this software is granted
|
||||
// provided this copyright notice appears in all copies. This
|
||||
// software is provided "as is" without express or implied warranty,
|
||||
// and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_DEDUCED_TYPENAME
|
||||
// TITLE: deduced typenames
|
||||
// DESCRIPTION: Some compilers can't use the typename keyword in deduced contexts.
|
||||
|
||||
#ifndef BOOST_DEDUCED_TYPENAME
|
||||
#define BOOST_DEDUCED_TYPENAME typename
|
||||
#endif
|
||||
|
||||
|
||||
namespace boost_deduced_typename{
|
||||
|
||||
template <class T>
|
||||
int f(T const volatile*, BOOST_DEDUCED_TYPENAME T::type* = 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct X { typedef int type; };
|
||||
|
||||
int test()
|
||||
{
|
||||
return f((X*)0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
32
test/boost_no_excep_std.ipp
Normal file
32
test/boost_no_excep_std.ipp
Normal file
@@ -0,0 +1,32 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||
// TITLE: <exception> is in namespace std
|
||||
// DESCRIPTION: Some std libs don't put the contents of
|
||||
// <exception> in namespace std.
|
||||
|
||||
#include <exception>
|
||||
|
||||
namespace boost_no_exception_std_namespace{
|
||||
|
||||
int t(int i)
|
||||
{
|
||||
if(i)
|
||||
std::terminate();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
return t(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
40
test/boost_no_exceptions.ipp
Normal file
40
test/boost_no_exceptions.ipp
Normal file
@@ -0,0 +1,40 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_EXCEPTIONS
|
||||
// TITLE: exception handling support
|
||||
// DESCRIPTION: The compiler in its current translation mode supports
|
||||
// exception handling.
|
||||
|
||||
|
||||
namespace boost_no_exceptions{
|
||||
|
||||
void throw_it(int i)
|
||||
{
|
||||
throw i;
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
try
|
||||
{
|
||||
throw_it(2);
|
||||
}
|
||||
catch(int i)
|
||||
{
|
||||
return (i == 2) ? 0 : -1;
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
26
test/boost_no_i64_limits.ipp
Normal file
26
test/boost_no_i64_limits.ipp
Normal file
@@ -0,0 +1,26 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
// TITLE: std::numeric_limits<__int64>
|
||||
// DESCRIPTION: The C++ implementation does not provide the a specialisation
|
||||
// for std::numeric_limits<__int64>.
|
||||
|
||||
#include <limits>
|
||||
|
||||
namespace boost_no_ms_int64_numeric_limits{
|
||||
|
||||
int test()
|
||||
{
|
||||
if(0 == std::numeric_limits<__int64>::is_specialized) return -1;
|
||||
if(0 == std::numeric_limits<unsigned __int64>::is_specialized) return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
44
test/boost_no_integral_int64_t.ipp
Normal file
44
test/boost_no_integral_int64_t.ipp
Normal file
@@ -0,0 +1,44 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_INTEGRAL_INT64_T
|
||||
// TITLE: long long and integral constant expressions
|
||||
// DESCRIPTION: The platform supports long long in integral constant expressions.
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
namespace boost_no_integral_int64_t{
|
||||
|
||||
#ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
enum{ mask = 1uLL << 50 };
|
||||
|
||||
template <unsigned long long m>
|
||||
struct llt
|
||||
{
|
||||
enum{ value = m };
|
||||
};
|
||||
#else
|
||||
static const unsigned long long mask = 1uLL << 50;
|
||||
|
||||
template <unsigned long long m>
|
||||
struct llt
|
||||
{
|
||||
static const unsigned long long value = m;
|
||||
};
|
||||
#endif
|
||||
|
||||
int test()
|
||||
{
|
||||
llt<mask> m;
|
||||
(void)m;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
26
test/boost_no_ll_limits.ipp
Normal file
26
test/boost_no_ll_limits.ipp
Normal file
@@ -0,0 +1,26 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||
// TITLE: std::numeric_limits<long long>
|
||||
// DESCRIPTION: The C++ implementation does not provide the a specialisation
|
||||
// for std::numeric_limits<long long>.
|
||||
|
||||
#include <limits>
|
||||
|
||||
namespace boost_no_long_long_numeric_limits{
|
||||
|
||||
int test()
|
||||
{
|
||||
if(0 == std::numeric_limits<long long>::is_specialized) return -1;
|
||||
if(0 == std::numeric_limits<unsigned long long>::is_specialized) return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
59
test/boost_no_mem_func_spec.ipp
Normal file
59
test/boost_no_mem_func_spec.ipp
Normal file
@@ -0,0 +1,59 @@
|
||||
// (C) Copyright John Maddock 2002. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
// TITLE: Specialisation of individual member functions.
|
||||
// DESCRIPTION: Verify that specializations of individual members
|
||||
// of template classes work OK.
|
||||
|
||||
|
||||
namespace boost_no_member_function_specializations{
|
||||
|
||||
|
||||
template<class T>
|
||||
class foo
|
||||
{
|
||||
public:
|
||||
foo();
|
||||
foo(const T&);
|
||||
~foo();
|
||||
int bar();
|
||||
};
|
||||
|
||||
// declare specialisations:
|
||||
template<> foo<int>::foo();
|
||||
template<> foo<int>::foo(const int&);
|
||||
template<> foo<int>::~foo();
|
||||
template<> int foo<int>::bar();
|
||||
|
||||
// provide defaults:
|
||||
template<class T> foo<T>::foo(){}
|
||||
template<class T> foo<T>::foo(const T&){}
|
||||
template<class T> foo<T>::~foo(){}
|
||||
template<class T> int foo<T>::bar(){ return 0; }
|
||||
|
||||
// provide defs:
|
||||
template<> foo<int>::foo(){}
|
||||
template<> foo<int>::foo(const int&){}
|
||||
template<> foo<int>::~foo(){}
|
||||
template<> int foo<int>::bar(){ return 1; }
|
||||
|
||||
|
||||
int test()
|
||||
{
|
||||
foo<double> f1;
|
||||
foo<int> f2;
|
||||
f1.bar();
|
||||
f2.bar();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ struct t
|
||||
private:
|
||||
void foo(){ i = j; }
|
||||
public:
|
||||
void uncallable(); // silences warning from GCC
|
||||
int i;
|
||||
int j;
|
||||
};
|
||||
|
||||
@@ -80,8 +80,8 @@ public:
|
||||
|
||||
int test()
|
||||
{
|
||||
mem_fun(&tester::foo1);
|
||||
mem_fun(&tester::foo2);
|
||||
boost_no_pointer_to_member_const::mem_fun(&tester::foo1);
|
||||
boost_no_pointer_to_member_const::mem_fun(&tester::foo2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
33
test/boost_no_ret_det.ipp
Normal file
33
test/boost_no_ret_det.ipp
Normal file
@@ -0,0 +1,33 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
// TITLE: detection of unreachable returns
|
||||
// DESCRIPTION: If a return is unreachable, then no return
|
||||
// statement should be required, however some
|
||||
// compilers insist on it, while other issue a
|
||||
// bunch of warnings if it is in fact present.
|
||||
|
||||
|
||||
namespace boost_no_unreachable_return_detection{
|
||||
|
||||
int checker()
|
||||
{
|
||||
throw 0;
|
||||
// no return statement: we don't ever get here...
|
||||
}
|
||||
|
||||
int check = 0;
|
||||
|
||||
int test()
|
||||
{
|
||||
if(check)
|
||||
return checker();
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
namespace boost_no_std_allocator{
|
||||
|
||||
template <class T>
|
||||
int foo(const T& i)
|
||||
int test_allocator(const T& i)
|
||||
{
|
||||
typedef std::allocator<int> alloc1_t;
|
||||
typedef typename alloc1_t::size_type size_type;
|
||||
@@ -57,7 +57,7 @@ int foo(const T& i)
|
||||
|
||||
int test()
|
||||
{
|
||||
return foo(0);
|
||||
return test_allocator(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -12,6 +12,16 @@
|
||||
|
||||
namespace boost_no_std_messages{
|
||||
|
||||
//
|
||||
// this just has to complile, not run:
|
||||
//
|
||||
void test_messages(const std::messages<char>& m)
|
||||
{
|
||||
static const std::locale l;
|
||||
static const std::string name("foobar");
|
||||
m.close(m.open(name, l));
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
const std::messages<char>* pmf = 0;
|
||||
|
||||
103
test/boost_no_std_wstreambuf.ipp
Normal file
103
test/boost_no_std_wstreambuf.ipp
Normal file
@@ -0,0 +1,103 @@
|
||||
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_STD_WSTREAMBUF
|
||||
// TITLE: std::basic_streambuf<wchar_t>
|
||||
// DESCRIPTION: The standard library lacks std::basic_streambuf<wchar_t>.
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace boost_no_std_wstreambuf{
|
||||
|
||||
template <class charT,
|
||||
class traits = ::std::char_traits<charT> >
|
||||
class parser_buf : public ::std::basic_streambuf<charT, traits>
|
||||
{
|
||||
typedef ::std::basic_streambuf<charT, traits> base_type;
|
||||
typedef typename base_type::int_type int_type;
|
||||
typedef typename base_type::char_type char_type;
|
||||
typedef typename base_type::pos_type pos_type;
|
||||
typedef ::std::streamsize streamsize;
|
||||
typedef typename base_type::off_type off_type;
|
||||
public:
|
||||
parser_buf() : base_type() { setbuf(0, 0); }
|
||||
const charT* getnext() { return this->gptr(); }
|
||||
protected:
|
||||
std::basic_streambuf<charT, traits>* setbuf(char_type* s, streamsize n);
|
||||
typename parser_buf<charT, traits>::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which);
|
||||
typename parser_buf<charT, traits>::pos_type seekoff(off_type off, ::std::ios_base::seekdir way, ::std::ios_base::openmode which);
|
||||
private:
|
||||
parser_buf& operator=(const parser_buf&)
|
||||
{ return *this; };
|
||||
parser_buf(const parser_buf&){};
|
||||
};
|
||||
|
||||
template<class charT, class traits>
|
||||
std::basic_streambuf<charT, traits>*
|
||||
parser_buf<charT, traits>::setbuf(char_type* s, streamsize n)
|
||||
{
|
||||
this->setg(s, s, s + n);
|
||||
return this;
|
||||
}
|
||||
|
||||
template<class charT, class traits>
|
||||
typename parser_buf<charT, traits>::pos_type
|
||||
parser_buf<charT, traits>::seekoff(off_type off, ::std::ios_base::seekdir way, ::std::ios_base::openmode which)
|
||||
{
|
||||
typedef typename parser_buf<charT, traits>::pos_type pos_type;
|
||||
if(which & ::std::ios_base::out)
|
||||
return pos_type(off_type(-1));
|
||||
std::ptrdiff_t size = this->egptr() - this->eback();
|
||||
std::ptrdiff_t pos = this->gptr() - this->eback();
|
||||
charT* g = this->eback();
|
||||
switch(way)
|
||||
{
|
||||
case ::std::ios_base::beg:
|
||||
if((off < 0) || (off > size))
|
||||
return pos_type(off_type(-1));
|
||||
else
|
||||
this->setg(g, g + off, g + size);
|
||||
case ::std::ios_base::end:
|
||||
if((off < 0) || (off > size))
|
||||
return pos_type(off_type(-1));
|
||||
else
|
||||
this->setg(g, g + size - off, g + size);
|
||||
case ::std::ios_base::cur:
|
||||
{
|
||||
std::ptrdiff_t newpos = pos + off;
|
||||
if((newpos < 0) || (newpos > size))
|
||||
return pos_type(off_type(-1));
|
||||
else
|
||||
this->setg(g, g + newpos, g + size);
|
||||
}
|
||||
}
|
||||
return static_cast<pos_type>(this->gptr() - this->eback());
|
||||
}
|
||||
|
||||
template<class charT, class traits>
|
||||
typename parser_buf<charT, traits>::pos_type
|
||||
parser_buf<charT, traits>::seekpos(pos_type sp, ::std::ios_base::openmode which)
|
||||
{
|
||||
if(which & ::std::ios_base::out)
|
||||
return pos_type(off_type(-1));
|
||||
std::ptrdiff_t size = this->egptr() - this->eback();
|
||||
charT* g = this->eback();
|
||||
if(sp <= size)
|
||||
{
|
||||
this->setg(g, g + ::std::streamsize(sp), g + size);
|
||||
}
|
||||
return pos_type(off_type(-1));
|
||||
}
|
||||
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
template class parser_buf<char>;
|
||||
template class parser_buf<wchar_t>;
|
||||
|
||||
}
|
||||
47
test/boost_no_template_template.ipp
Normal file
47
test/boost_no_template_template.ipp
Normal file
@@ -0,0 +1,47 @@
|
||||
// (C) Copyright John Maddock 2002. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// MACRO: BOOST_NO_TEMPLATE_TEMPLATES
|
||||
// TITLE: template template paramters.
|
||||
// DESCRIPTION: Verify that template template parameters both work
|
||||
// and can be deduced through a function call.
|
||||
|
||||
|
||||
namespace boost_no_template_templates{
|
||||
|
||||
|
||||
template<class T>
|
||||
class foo
|
||||
{
|
||||
public:
|
||||
foo(){};
|
||||
foo(const T&){};
|
||||
const foo& bar()const{ return *this; }
|
||||
foo& operator=(const foo&){ return *this; }
|
||||
};
|
||||
|
||||
template<typename T, template<typename> class U>
|
||||
U<T> sinhc_pi(const U<T> x)
|
||||
{
|
||||
return x.bar();
|
||||
}
|
||||
|
||||
|
||||
int test()
|
||||
{
|
||||
foo<double> f1;
|
||||
foo<int> f2;
|
||||
f1 = sinhc_pi(f1);
|
||||
f2 = sinhc_pi(f2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
// MACRO: BOOST_NO_USING_TEMPLATE
|
||||
// TITLE: using template declarations
|
||||
// DESCRIPTION: The compiler will not accept a using declaration
|
||||
// that imports a template from the global namespace
|
||||
// into a named namespace. Probably Borland specific.
|
||||
// that imports a class or function template
|
||||
// into a named namespace. Probably Borland/MSVC6 specific.
|
||||
|
||||
template <class T>
|
||||
int global_foo(T)
|
||||
@@ -41,3 +41,4 @@ int test()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
namespace boost_no_intrinsic_wchar_t{
|
||||
|
||||
template <class T>
|
||||
struct is_int{};
|
||||
struct is_int{ int i; };
|
||||
|
||||
template <> struct is_int<unsigned char>{};
|
||||
template <> struct is_int<signed char>{};
|
||||
template <> struct is_int<char>{};
|
||||
template <> struct is_int<unsigned short>{};
|
||||
template <> struct is_int<short>{};
|
||||
template <> struct is_int<unsigned int>{};
|
||||
template <> struct is_int<int>{};
|
||||
template <> struct is_int<unsigned long>{};
|
||||
template <> struct is_int<long>{};
|
||||
template <> struct is_int<wchar_t>{};
|
||||
template <> struct is_int<unsigned char>{ int i; };
|
||||
template <> struct is_int<signed char>{ int i; };
|
||||
template <> struct is_int<char>{ int i; };
|
||||
template <> struct is_int<unsigned short>{ int i; };
|
||||
template <> struct is_int<short>{ int i; };
|
||||
template <> struct is_int<unsigned int>{ int i; };
|
||||
template <> struct is_int<int>{ int i; };
|
||||
template <> struct is_int<unsigned long>{ int i; };
|
||||
template <> struct is_int<long>{ int i; };
|
||||
template <> struct is_int<wchar_t>{ int i; };
|
||||
|
||||
int test()
|
||||
{
|
||||
|
||||
@@ -87,9 +87,9 @@ void print_byte_order(const char* what, T /* t */ )
|
||||
template <class T>
|
||||
void print_sign(const char* what, T t)
|
||||
{
|
||||
t = -1;
|
||||
t = static_cast<T>(-1); // cast suppresses warnings
|
||||
for(unsigned i = 0; i < indent; ++i) std::cout.put(' ');
|
||||
std::cout << "Type " << what << " is " << ((t < 0) ? "signed" : "unsigned") << std::endl;
|
||||
std::cout << "Type " << what << " is " << ((t > 0) ? "unsigned" : "signed") << std::endl;
|
||||
}
|
||||
|
||||
#define PRINT_SIGN(T) print_sign(#T, T())
|
||||
@@ -110,7 +110,7 @@ void print_compiler_macros()
|
||||
PRINT_MACRO(__FUNC__);
|
||||
PRINT_MACRO(_M_IX86);
|
||||
PRINT_MACRO(__MSDOS__);
|
||||
PRINT_MACRO(__MT__ );
|
||||
PRINT_MACRO(__MT__ );
|
||||
PRINT_MACRO(__PASCAL__);
|
||||
PRINT_MACRO(__STDC__);
|
||||
PRINT_MACRO(__TLS__);
|
||||
@@ -175,6 +175,7 @@ void print_compiler_macros()
|
||||
PRINT_MACRO(__hppa);
|
||||
// HP aCC:
|
||||
PRINT_MACRO(__HP_aCC);
|
||||
PRINT_MACRO(_HPACC_);
|
||||
PRINT_MACRO(__LP64__);
|
||||
PRINT_MACRO(__RISC2_0__);
|
||||
PRINT_MACRO(__STDCPP__);
|
||||
@@ -241,6 +242,7 @@ void print_compiler_macros()
|
||||
// EDG
|
||||
PRINT_MACRO(__EDG__);
|
||||
PRINT_MACRO(__EDG_VERSION__);
|
||||
PRINT_MACRO(c_plusplus); // indication for strict mode
|
||||
PRINT_MACRO(_BOOL);
|
||||
PRINT_MACRO(_EXPLICIT);
|
||||
PRINT_MACRO(__SIGNED_CHARS__);
|
||||
@@ -250,6 +252,10 @@ void print_compiler_macros()
|
||||
PRINT_MACRO(__EDG_ABI_COMPATIBILITY_VERSION);
|
||||
PRINT_MACRO(__EDG_IMPLICIT_USING_STD);
|
||||
PRINT_MACRO(__EDG_RUNTIME_USES_NAMESPACES);
|
||||
PRINT_MACRO(__BOOL_DEFINED);
|
||||
PRINT_MACRO(__RTTI);
|
||||
PRINT_MACRO(__PLACEMENT_DELETE);
|
||||
PRINT_MACRO(__NO_LONG_LONG);
|
||||
|
||||
// misc compilers not covered so far:
|
||||
PRINT_MACRO(__ICC);
|
||||
@@ -819,12 +825,41 @@ void print_platform_macros()
|
||||
void print_boost_macros()
|
||||
{
|
||||
std::cout << "Boost version " << BOOST_STRINGIZE(BOOST_VERSION) << std::endl;
|
||||
PRINT_MACRO(BOOST_DECL);
|
||||
// config setup macros first:
|
||||
PRINT_MACRO(BOOST_USER_CONFIG);
|
||||
PRINT_MACRO(BOOST_COMPILER_CONFIG);
|
||||
PRINT_MACRO(BOOST_STDLIB_CONFIG);
|
||||
PRINT_MACRO(BOOST_PLATFORM_CONFIG);
|
||||
PRINT_MACRO(BOOST_NO_CONFIG);
|
||||
PRINT_MACRO(BOOST_NO_USER_CONFIG);
|
||||
PRINT_MACRO(BOOST_NO_COMPILER_CONFIG);
|
||||
PRINT_MACRO(BOOST_NO_STDLIB_CONFIG);
|
||||
PRINT_MACRO(BOOST_NO_PLATFORM_CONFIG);
|
||||
// then defect and feature macros:
|
||||
PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG);
|
||||
PRINT_MACRO(BOOST_DEDUCED_TYPENAME);
|
||||
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
||||
PRINT_MACRO(BOOST_DISABLE_WIN32);
|
||||
PRINT_MACRO(BOOST_HAS_BETHREADS);
|
||||
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
|
||||
PRINT_MACRO(BOOST_HAS_DIRENT_H);
|
||||
PRINT_MACRO(BOOST_HAS_FTIME);
|
||||
PRINT_MACRO(BOOST_HAS_GETTIMEOFDAY);
|
||||
PRINT_MACRO(BOOST_HAS_HASH);
|
||||
PRINT_MACRO(BOOST_HAS_LONG_LONG);
|
||||
PRINT_MACRO(BOOST_HAS_MACRO_USE_FACET);
|
||||
PRINT_MACRO(BOOST_HAS_MS_INT64);
|
||||
PRINT_MACRO(BOOST_HAS_NANOSLEEP);
|
||||
PRINT_MACRO(BOOST_HAS_NL_TYPES_H);
|
||||
PRINT_MACRO(BOOST_HAS_NRVO);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREADS);
|
||||
PRINT_MACRO(BOOST_HAS_SCHED_YIELD);
|
||||
PRINT_MACRO(BOOST_HAS_SIGACTION);
|
||||
PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS);
|
||||
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
||||
PRINT_MACRO(BOOST_HAS_SLIST);
|
||||
PRINT_MACRO(BOOST_HAS_STLP_USE_FACET);
|
||||
PRINT_MACRO(BOOST_HAS_THREADS);
|
||||
@@ -834,6 +869,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_MSVC);
|
||||
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
|
||||
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
|
||||
PRINT_MACRO(BOOST_NESTED_TEMPLATE);
|
||||
PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
|
||||
PRINT_MACRO(BOOST_NO_AUTO_PTR);
|
||||
PRINT_MACRO(BOOST_NO_CTYPE_FUNCTIONS);
|
||||
@@ -841,7 +877,10 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS);
|
||||
PRINT_MACRO(BOOST_NO_CWCHAR);
|
||||
PRINT_MACRO(BOOST_NO_CWCTYPE);
|
||||
PRINT_MACRO(BOOST_NO_DEDUCED_TYPENAME);
|
||||
PRINT_MACRO(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS);
|
||||
PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS);
|
||||
PRINT_MACRO(BOOST_NO_EXCEPTIONS);
|
||||
PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS);
|
||||
PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING);
|
||||
PRINT_MACRO(BOOST_NO_HASH);
|
||||
@@ -851,30 +890,38 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T);
|
||||
PRINT_MACRO(BOOST_NO_LIMITS);
|
||||
PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS);
|
||||
PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS);
|
||||
PRINT_MACRO(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS);
|
||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
|
||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_FRIENDS);
|
||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATES);
|
||||
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
||||
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
||||
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
||||
PRINT_MACRO(BOOST_NO_PRIVATE_IN_AGGREGATE);
|
||||
PRINT_MACRO(BOOST_NO_SLIST);
|
||||
PRINT_MACRO(BOOST_NO_STD_ALLOCATOR);
|
||||
PRINT_MACRO(BOOST_NO_STD_DISTANCE);
|
||||
PRINT_MACRO(BOOST_NO_STD_ITERATOR);
|
||||
PRINT_MACRO(BOOST_NO_STD_ITERATOR_TRAITS);
|
||||
PRINT_MACRO(BOOST_NO_STD_LOCALE);
|
||||
PRINT_MACRO(BOOST_NO_STD_MESSAGES);
|
||||
PRINT_MACRO(BOOST_NO_STD_MIN_MAX);
|
||||
PRINT_MACRO(BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN);
|
||||
PRINT_MACRO(BOOST_NO_STD_USE_FACET);
|
||||
PRINT_MACRO(BOOST_NO_STD_WSTREAMBUF);
|
||||
PRINT_MACRO(BOOST_NO_STD_WSTRING);
|
||||
PRINT_MACRO(BOOST_NO_STDC_NAMESPACE);
|
||||
PRINT_MACRO(BOOST_NO_STRINGSTREAM);
|
||||
PRINT_MACRO(BOOST_NO_SWPRINTF);
|
||||
PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION);
|
||||
PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES);
|
||||
PRINT_MACRO(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS);
|
||||
PRINT_MACRO(BOOST_DISABLE_THREADS);
|
||||
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
||||
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
||||
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
||||
PRINT_MACRO(BOOST_UNREACHABLE_RETURN(0));
|
||||
}
|
||||
|
||||
void print_separator()
|
||||
@@ -900,3 +947,8 @@ int main()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_*.cxx on
|
||||
// Wed Sep 26 15:19:31 EEST 2001
|
||||
// Thu Feb 13 12:10:01 GMTST 2003
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#define BOOST_INCLUDE_MAIN
|
||||
@@ -27,6 +27,11 @@ namespace boost_no_argument_dependent_lookup = empty_boost;
|
||||
#else
|
||||
namespace boost_no_auto_ptr = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
|
||||
#include "boost_no_bcb_partial_spec.cxx"
|
||||
#else
|
||||
namespace boost_bcb_partial_specialization_bug = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CTYPE_FUNCTIONS
|
||||
#include "boost_no_ctype_functions.cxx"
|
||||
#else
|
||||
@@ -52,6 +57,11 @@ namespace boost_no_cwchar = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cwctype = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_DEDUCED_TYPENAME
|
||||
#include "boost_no_ded_typename.cxx"
|
||||
#else
|
||||
namespace boost_deduced_typename = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||
#include "boost_no_dep_nested_class.cxx"
|
||||
#else
|
||||
@@ -62,6 +72,16 @@ namespace boost_no_dependent_nested_derivations = empty_boost;
|
||||
#else
|
||||
namespace boost_no_dependent_types_in_template_value_parameters = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||
#include "boost_no_excep_std.cxx"
|
||||
#else
|
||||
namespace boost_no_exception_std_namespace = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
#include "boost_no_exceptions.cxx"
|
||||
#else
|
||||
namespace boost_no_exceptions = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
#include "boost_no_exp_func_tem_arg.cxx"
|
||||
#else
|
||||
@@ -72,41 +92,61 @@ namespace boost_no_explicit_function_template_arguments = empty_boost;
|
||||
#else
|
||||
namespace boost_no_function_template_ordering = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||
#include "boost_no_i64_limits.cxx"
|
||||
#else
|
||||
namespace boost_no_ms_int64_numeric_limits = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
#include "boost_no_inline_memb_init.cxx"
|
||||
#else
|
||||
namespace boost_no_inclass_member_initialization = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_INTEGRAL_INT64_T
|
||||
#include "boost_no_integral_int64_t.cxx"
|
||||
#else
|
||||
namespace boost_no_integral_int64_t = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||
#include "boost_no_iter_construct.cxx"
|
||||
#else
|
||||
namespace boost_no_templated_iterator_constructors = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_LIMITS
|
||||
#include "boost_no_limits.cxx"
|
||||
#else
|
||||
namespace boost_no_limits = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
#include "boost_no_limits_const_exp.cxx"
|
||||
#else
|
||||
namespace boost_no_limits_compile_time_constants = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_LIMITS
|
||||
#include "boost_no_limits.cxx"
|
||||
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||
#include "boost_no_ll_limits.cxx"
|
||||
#else
|
||||
namespace boost_no_limits = empty_boost;
|
||||
namespace boost_no_long_long_numeric_limits = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||
#include "boost_no_mem_func_spec.cxx"
|
||||
#else
|
||||
namespace boost_no_member_function_specializations = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
||||
#include "boost_no_mem_tem_keyword.cxx"
|
||||
#else
|
||||
namespace boost_no_member_template_keyword = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MEMBER_TEMPLATES
|
||||
#include "boost_no_mem_templates.cxx"
|
||||
#else
|
||||
namespace boost_no_member_templates = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
#include "boost_no_mem_templ_frnds.cxx"
|
||||
#else
|
||||
namespace boost_no_member_template_friends = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_MEMBER_TEMPLATES
|
||||
#include "boost_no_mem_templates.cxx"
|
||||
#else
|
||||
namespace boost_no_member_templates = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||
#include "boost_no_ops_in_namespace.cxx"
|
||||
#else
|
||||
@@ -127,6 +167,11 @@ namespace boost_no_private_in_aggregate = empty_boost;
|
||||
#else
|
||||
namespace boost_no_pointer_to_member_const = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||
#include "boost_no_ret_det.cxx"
|
||||
#else
|
||||
namespace boost_no_unreachable_return_detection = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STRINGSTREAM
|
||||
#include "boost_no_sstream.cxx"
|
||||
#else
|
||||
@@ -137,26 +182,21 @@ namespace boost_no_stringstream = empty_boost;
|
||||
#else
|
||||
namespace boost_no_std_allocator = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STDC_NAMESPACE
|
||||
#include "boost_no_stdc_namespace.cxx"
|
||||
#else
|
||||
namespace boost_no_stdc_namespace = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_DISTANCE
|
||||
#include "boost_no_std_distance.cxx"
|
||||
#else
|
||||
namespace boost_no_std_distance = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
#include "boost_no_std_iterator.cxx"
|
||||
#else
|
||||
namespace boost_no_std_iterator = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
|
||||
#include "boost_no_std_iter_traits.cxx"
|
||||
#else
|
||||
namespace boost_no_std_iterator_traits = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
#include "boost_no_std_iterator.cxx"
|
||||
#else
|
||||
namespace boost_no_std_iterator = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_LOCALE
|
||||
#include "boost_no_std_locale.cxx"
|
||||
#else
|
||||
@@ -182,16 +222,31 @@ namespace boost_no_std_output_iterator_assign = empty_boost;
|
||||
#else
|
||||
namespace boost_no_std_use_facet = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_WSTREAMBUF
|
||||
#include "boost_no_std_wstreambuf.cxx"
|
||||
#else
|
||||
namespace boost_no_std_wstreambuf = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_WSTRING
|
||||
#include "boost_no_std_wstring.cxx"
|
||||
#else
|
||||
namespace boost_no_std_wstring = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STDC_NAMESPACE
|
||||
#include "boost_no_stdc_namespace.cxx"
|
||||
#else
|
||||
namespace boost_no_stdc_namespace = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_SWPRINTF
|
||||
#include "boost_no_swprintf.cxx"
|
||||
#else
|
||||
namespace boost_no_swprintf = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_TEMPLATE_TEMPLATES
|
||||
#include "boost_no_template_template.cxx"
|
||||
#else
|
||||
namespace boost_no_template_templates = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_USING_TEMPLATE
|
||||
#include "boost_no_using_template.cxx"
|
||||
#else
|
||||
@@ -217,26 +272,101 @@ namespace boost_has_two_arg_use_facet = empty_boost;
|
||||
#else
|
||||
namespace boost_has_bethreads = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_CLOCK_GETTIME
|
||||
#include "boost_has_clock_gettime.cxx"
|
||||
#else
|
||||
namespace boost_has_clock_gettime = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_DIRENT_H
|
||||
#include "boost_has_dirent_h.cxx"
|
||||
#else
|
||||
namespace boost_has_dirent_h = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_FTIME
|
||||
#include "boost_has_ftime.cxx"
|
||||
#else
|
||||
namespace boost_has_ftime = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_GETTIMEOFDAY
|
||||
#include "boost_has_gettimeofday.cxx"
|
||||
#else
|
||||
namespace boost_has_gettimeofday = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_HASH
|
||||
#include "boost_has_hash.cxx"
|
||||
#else
|
||||
namespace boost_has_hash = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_LONG_LONG
|
||||
#include "boost_has_long_long.cxx"
|
||||
#else
|
||||
namespace boost_has_long_long = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_MACRO_USE_FACET
|
||||
#include "boost_has_macro_use_facet.cxx"
|
||||
#else
|
||||
namespace boost_has_macro_use_facet = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_MS_INT64
|
||||
#include "boost_has_ms_int64.cxx"
|
||||
#else
|
||||
namespace boost_has_ms_int64 = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_NANOSLEEP
|
||||
#include "boost_has_nanosleep.cxx"
|
||||
#else
|
||||
namespace boost_has_nanosleep = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_NL_TYPES_H
|
||||
#include "boost_has_nl_types_h.cxx"
|
||||
#else
|
||||
namespace boost_has_nl_types_h = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_NRVO
|
||||
#include "boost_has_nrvo.cxx"
|
||||
#else
|
||||
namespace boost_has_nrvo = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
||||
#include "boost_has_part_alloc.cxx"
|
||||
#else
|
||||
namespace boost_has_partial_std_allocator = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_PTHREAD_DELAY_NP
|
||||
#include "boost_has_pthread_delay_np.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_delay_np = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
#include "boost_has_pthread_ma_st.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_mutexattr_settype = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_PTHREAD_YIELD
|
||||
#include "boost_has_pthread_yield.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_yield = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_PTHREADS
|
||||
#include "boost_has_pthreads.cxx"
|
||||
#else
|
||||
namespace boost_has_pthreads = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_SCHED_YIELD
|
||||
#include "boost_has_sched_yield.cxx"
|
||||
#else
|
||||
namespace boost_has_sched_yield = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
|
||||
#include "boost_has_sgi_type_traits.cxx"
|
||||
#else
|
||||
namespace boost_has_sgi_type_traits = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_SIGACTION
|
||||
#include "boost_has_sigaction.cxx"
|
||||
#else
|
||||
namespace boost_has_sigaction = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_SLIST
|
||||
#include "boost_has_slist.cxx"
|
||||
#else
|
||||
@@ -275,56 +405,82 @@ namespace boost_has_winthreads = empty_boost;
|
||||
|
||||
int test_main( int, char *[] )
|
||||
{
|
||||
BOOST_TEST(0 == boost_no_intrinsic_wchar_t::test());
|
||||
BOOST_TEST(0 == boost_no_void_returns::test());
|
||||
BOOST_TEST(0 == boost_no_using_template::test());
|
||||
BOOST_TEST(0 == boost_no_swprintf::test());
|
||||
BOOST_TEST(0 == boost_no_std_wstring::test());
|
||||
BOOST_TEST(0 == boost_no_std_use_facet::test());
|
||||
BOOST_TEST(0 == boost_no_std_output_iterator_assign::test());
|
||||
BOOST_TEST(0 == boost_no_std_min_max::test());
|
||||
BOOST_TEST(0 == boost_no_std_messages::test());
|
||||
BOOST_TEST(0 == boost_no_std_locale::test());
|
||||
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
|
||||
BOOST_TEST(0 == boost_no_std_iterator::test());
|
||||
BOOST_TEST(0 == boost_no_std_distance::test());
|
||||
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
||||
BOOST_TEST(0 == boost_no_std_allocator::test());
|
||||
BOOST_TEST(0 == boost_no_stringstream::test());
|
||||
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
||||
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
||||
BOOST_TEST(0 == boost_no_template_partial_specialization::test());
|
||||
BOOST_TEST(0 == boost_no_operators_in_namespace::test());
|
||||
BOOST_TEST(0 == boost_no_member_template_friends::test());
|
||||
BOOST_TEST(0 == boost_no_member_templates::test());
|
||||
BOOST_TEST(0 == boost_no_member_template_keyword::test());
|
||||
BOOST_TEST(0 == boost_no_limits::test());
|
||||
BOOST_TEST(0 == boost_no_limits_compile_time_constants::test());
|
||||
BOOST_TEST(0 == boost_no_templated_iterator_constructors::test());
|
||||
BOOST_TEST(0 == boost_no_inclass_member_initialization::test());
|
||||
BOOST_TEST(0 == boost_no_function_template_ordering::test());
|
||||
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
|
||||
BOOST_TEST(0 == boost_no_dependent_types_in_template_value_parameters::test());
|
||||
BOOST_TEST(0 == boost_no_dependent_nested_derivations::test());
|
||||
BOOST_TEST(0 == boost_no_cwctype::test());
|
||||
BOOST_TEST(0 == boost_no_cwchar::test());
|
||||
BOOST_TEST(0 == boost_no_cv_void_specializations::test());
|
||||
BOOST_TEST(0 == boost_no_cv_specializations::test());
|
||||
BOOST_TEST(0 == boost_no_ctype_functions::test());
|
||||
BOOST_TEST(0 == boost_no_auto_ptr::test());
|
||||
BOOST_TEST(0 == boost_no_argument_dependent_lookup::test());
|
||||
BOOST_TEST(0 == boost_has_winthreads::test());
|
||||
BOOST_TEST(0 == boost_msvc_std_iterator::test());
|
||||
BOOST_TEST(0 == boost_msvc6_member_templates::test());
|
||||
BOOST_TEST(0 == boost_has_unistd_h::test());
|
||||
BOOST_TEST(0 == boost_has_stlp_use_facet::test());
|
||||
BOOST_TEST(0 == boost_has_stdint_h::test());
|
||||
BOOST_TEST(0 == boost_has_slist::test());
|
||||
BOOST_TEST(0 == boost_has_pthreads::test());
|
||||
BOOST_TEST(0 == boost_has_nl_types_h::test());
|
||||
BOOST_TEST(0 == boost_has_macro_use_facet::test());
|
||||
BOOST_TEST(0 == boost_has_hash::test());
|
||||
BOOST_TEST(0 == boost_has_bethreads::test());
|
||||
BOOST_TEST(0 == boost_has_two_arg_use_facet::test());
|
||||
return 0;
|
||||
BOOST_TEST(0 == boost_no_intrinsic_wchar_t::test());
|
||||
BOOST_TEST(0 == boost_no_void_returns::test());
|
||||
BOOST_TEST(0 == boost_no_using_template::test());
|
||||
BOOST_TEST(0 == boost_no_template_templates::test());
|
||||
BOOST_TEST(0 == boost_no_swprintf::test());
|
||||
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
||||
BOOST_TEST(0 == boost_no_std_wstring::test());
|
||||
BOOST_TEST(0 == boost_no_std_wstreambuf::test());
|
||||
BOOST_TEST(0 == boost_no_std_use_facet::test());
|
||||
BOOST_TEST(0 == boost_no_std_output_iterator_assign::test());
|
||||
BOOST_TEST(0 == boost_no_std_min_max::test());
|
||||
BOOST_TEST(0 == boost_no_std_messages::test());
|
||||
BOOST_TEST(0 == boost_no_std_locale::test());
|
||||
BOOST_TEST(0 == boost_no_std_iterator::test());
|
||||
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
|
||||
BOOST_TEST(0 == boost_no_std_distance::test());
|
||||
BOOST_TEST(0 == boost_no_std_allocator::test());
|
||||
BOOST_TEST(0 == boost_no_stringstream::test());
|
||||
BOOST_TEST(0 == boost_no_unreachable_return_detection::test());
|
||||
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
||||
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
||||
BOOST_TEST(0 == boost_no_template_partial_specialization::test());
|
||||
BOOST_TEST(0 == boost_no_operators_in_namespace::test());
|
||||
BOOST_TEST(0 == boost_no_member_templates::test());
|
||||
BOOST_TEST(0 == boost_no_member_template_friends::test());
|
||||
BOOST_TEST(0 == boost_no_member_template_keyword::test());
|
||||
BOOST_TEST(0 == boost_no_member_function_specializations::test());
|
||||
BOOST_TEST(0 == boost_no_long_long_numeric_limits::test());
|
||||
BOOST_TEST(0 == boost_no_limits_compile_time_constants::test());
|
||||
BOOST_TEST(0 == boost_no_limits::test());
|
||||
BOOST_TEST(0 == boost_no_templated_iterator_constructors::test());
|
||||
BOOST_TEST(0 == boost_no_integral_int64_t::test());
|
||||
BOOST_TEST(0 == boost_no_inclass_member_initialization::test());
|
||||
BOOST_TEST(0 == boost_no_ms_int64_numeric_limits::test());
|
||||
BOOST_TEST(0 == boost_no_function_template_ordering::test());
|
||||
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
|
||||
BOOST_TEST(0 == boost_no_exceptions::test());
|
||||
BOOST_TEST(0 == boost_no_exception_std_namespace::test());
|
||||
BOOST_TEST(0 == boost_no_dependent_types_in_template_value_parameters::test());
|
||||
BOOST_TEST(0 == boost_no_dependent_nested_derivations::test());
|
||||
BOOST_TEST(0 == boost_deduced_typename::test());
|
||||
BOOST_TEST(0 == boost_no_cwctype::test());
|
||||
BOOST_TEST(0 == boost_no_cwchar::test());
|
||||
BOOST_TEST(0 == boost_no_cv_void_specializations::test());
|
||||
BOOST_TEST(0 == boost_no_cv_specializations::test());
|
||||
BOOST_TEST(0 == boost_no_ctype_functions::test());
|
||||
BOOST_TEST(0 == boost_bcb_partial_specialization_bug::test());
|
||||
BOOST_TEST(0 == boost_no_auto_ptr::test());
|
||||
BOOST_TEST(0 == boost_no_argument_dependent_lookup::test());
|
||||
BOOST_TEST(0 == boost_has_winthreads::test());
|
||||
BOOST_TEST(0 == boost_msvc_std_iterator::test());
|
||||
BOOST_TEST(0 == boost_msvc6_member_templates::test());
|
||||
BOOST_TEST(0 == boost_has_unistd_h::test());
|
||||
BOOST_TEST(0 == boost_has_stlp_use_facet::test());
|
||||
BOOST_TEST(0 == boost_has_stdint_h::test());
|
||||
BOOST_TEST(0 == boost_has_slist::test());
|
||||
BOOST_TEST(0 == boost_has_sigaction::test());
|
||||
BOOST_TEST(0 == boost_has_sgi_type_traits::test());
|
||||
BOOST_TEST(0 == boost_has_sched_yield::test());
|
||||
BOOST_TEST(0 == boost_has_pthreads::test());
|
||||
BOOST_TEST(0 == boost_has_pthread_yield::test());
|
||||
BOOST_TEST(0 == boost_has_pthread_mutexattr_settype::test());
|
||||
BOOST_TEST(0 == boost_has_pthread_delay_np::test());
|
||||
BOOST_TEST(0 == boost_has_partial_std_allocator::test());
|
||||
BOOST_TEST(0 == boost_has_nrvo::test());
|
||||
BOOST_TEST(0 == boost_has_nl_types_h::test());
|
||||
BOOST_TEST(0 == boost_has_nanosleep::test());
|
||||
BOOST_TEST(0 == boost_has_ms_int64::test());
|
||||
BOOST_TEST(0 == boost_has_macro_use_facet::test());
|
||||
BOOST_TEST(0 == boost_has_long_long::test());
|
||||
BOOST_TEST(0 == boost_has_hash::test());
|
||||
BOOST_TEST(0 == boost_has_gettimeofday::test());
|
||||
BOOST_TEST(0 == boost_has_ftime::test());
|
||||
BOOST_TEST(0 == boost_has_dirent_h::test());
|
||||
BOOST_TEST(0 == boost_has_clock_gettime::test());
|
||||
BOOST_TEST(0 == boost_has_bethreads::test());
|
||||
BOOST_TEST(0 == boost_has_two_arg_use_facet::test());
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_2arg_use_facet.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_TWO_ARG_USE_FACET
|
||||
@@ -31,6 +30,6 @@
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_two_arg_use_facet::test();
|
||||
}
|
||||
|
||||
return boost_has_two_arg_use_facet::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_2arg_use_facet.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_TWO_ARG_USE_FACET
|
||||
@@ -31,6 +30,6 @@ namespace boost_has_two_arg_use_facet = empty_boost;
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_two_arg_use_facet::test();
|
||||
}
|
||||
|
||||
return boost_has_two_arg_use_facet::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_bethreads.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_BETHREADS
|
||||
@@ -31,6 +30,6 @@
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_bethreads::test();
|
||||
}
|
||||
|
||||
return boost_has_bethreads::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_bethreads.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_BETHREADS
|
||||
@@ -31,6 +30,6 @@ namespace boost_has_bethreads = empty_boost;
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_bethreads::test();
|
||||
}
|
||||
|
||||
return boost_has_bethreads::test();
|
||||
}
|
||||
|
||||
|
||||
35
test/has_clock_gettime_fail.cpp
Normal file
35
test/has_clock_gettime_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_CLOCK_GETTIME
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_CLOCK_GETTIME may be defined.
|
||||
// see boost_has_clock_gettime.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_clock_gettime.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_CLOCK_GETTIME
|
||||
#include "boost_has_clock_gettime.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_clock_gettime::test();
|
||||
}
|
||||
|
||||
35
test/has_clock_gettime_pass.cpp
Normal file
35
test/has_clock_gettime_pass.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_CLOCK_GETTIME
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_CLOCK_GETTIME should not be defined.
|
||||
// see boost_has_clock_gettime.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_clock_gettime.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_CLOCK_GETTIME
|
||||
#include "boost_has_clock_gettime.cxx"
|
||||
#else
|
||||
namespace boost_has_clock_gettime = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_clock_gettime::test();
|
||||
}
|
||||
|
||||
35
test/has_dirent_h_fail.cpp
Normal file
35
test/has_dirent_h_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_DIRENT_H
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_DIRENT_H may be defined.
|
||||
// see boost_has_dirent_h.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_dirent_h.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_DIRENT_H
|
||||
#include "boost_has_dirent_h.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_dirent_h::test();
|
||||
}
|
||||
|
||||
35
test/has_dirent_h_pass.cpp
Normal file
35
test/has_dirent_h_pass.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_DIRENT_H
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_DIRENT_H should not be defined.
|
||||
// see boost_has_dirent_h.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_dirent_h.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_DIRENT_H
|
||||
#include "boost_has_dirent_h.cxx"
|
||||
#else
|
||||
namespace boost_has_dirent_h = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_dirent_h::test();
|
||||
}
|
||||
|
||||
35
test/has_ftime_fail.cpp
Normal file
35
test/has_ftime_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_FTIME
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_FTIME may be defined.
|
||||
// see boost_has_ftime.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_ftime.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_FTIME
|
||||
#include "boost_has_ftime.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_ftime::test();
|
||||
}
|
||||
|
||||
35
test/has_ftime_pass.cpp
Normal file
35
test/has_ftime_pass.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_FTIME
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_FTIME should not be defined.
|
||||
// see boost_has_ftime.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_ftime.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_FTIME
|
||||
#include "boost_has_ftime.cxx"
|
||||
#else
|
||||
namespace boost_has_ftime = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_ftime::test();
|
||||
}
|
||||
|
||||
35
test/has_gettimeofday_fail.cpp
Normal file
35
test/has_gettimeofday_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_GETTIMEOFDAY
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_GETTIMEOFDAY may be defined.
|
||||
// see boost_has_gettimeofday.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_gettimeofday.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_GETTIMEOFDAY
|
||||
#include "boost_has_gettimeofday.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_gettimeofday::test();
|
||||
}
|
||||
|
||||
35
test/has_gettimeofday_pass.cpp
Normal file
35
test/has_gettimeofday_pass.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_GETTIMEOFDAY
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_GETTIMEOFDAY should not be defined.
|
||||
// see boost_has_gettimeofday.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_gettimeofday.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_GETTIMEOFDAY
|
||||
#include "boost_has_gettimeofday.cxx"
|
||||
#else
|
||||
namespace boost_has_gettimeofday = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_gettimeofday::test();
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_hash.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_HASH
|
||||
@@ -31,6 +30,6 @@
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_hash::test();
|
||||
}
|
||||
|
||||
return boost_has_hash::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_hash.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_HASH
|
||||
@@ -31,6 +30,6 @@ namespace boost_has_hash = empty_boost;
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_hash::test();
|
||||
}
|
||||
|
||||
return boost_has_hash::test();
|
||||
}
|
||||
|
||||
|
||||
35
test/has_long_long_fail.cpp
Normal file
35
test/has_long_long_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_LONG_LONG
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_LONG_LONG may be defined.
|
||||
// see boost_has_long_long.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_long_long.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_LONG_LONG
|
||||
#include "boost_has_long_long.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_long_long::test();
|
||||
}
|
||||
|
||||
35
test/has_long_long_pass.cpp
Normal file
35
test/has_long_long_pass.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_LONG_LONG
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_LONG_LONG should not be defined.
|
||||
// see boost_has_long_long.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_long_long.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_LONG_LONG
|
||||
#include "boost_has_long_long.cxx"
|
||||
#else
|
||||
namespace boost_has_long_long = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_long_long::test();
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_macro_use_facet.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_MACRO_USE_FACET
|
||||
@@ -31,6 +30,6 @@
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_macro_use_facet::test();
|
||||
}
|
||||
|
||||
return boost_has_macro_use_facet::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_macro_use_facet.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_MACRO_USE_FACET
|
||||
@@ -31,6 +30,6 @@ namespace boost_has_macro_use_facet = empty_boost;
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_macro_use_facet::test();
|
||||
}
|
||||
|
||||
return boost_has_macro_use_facet::test();
|
||||
}
|
||||
|
||||
|
||||
35
test/has_ms_int64_fail.cpp
Normal file
35
test/has_ms_int64_fail.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_MS_INT64
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_MS_INT64 may be defined.
|
||||
// see boost_has_ms_int64.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_ms_int64.cxx on
|
||||
// Thu Sep 12 12:24:12 2002
|
||||
|
||||
// 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_HAS_MS_INT64
|
||||
#include "boost_has_ms_int64.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_ms_int64::test();
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user