forked from boostorg/config
Compare commits
69 Commits
boost-1.25
...
boost-1.26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70e8f90f8f | ||
|
|
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 |
62
config.htm
62
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 Express 2.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" 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>
|
||||
|
||||
@@ -484,8 +491,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>
|
||||
@@ -734,10 +742,9 @@ f(&bar); // should choose #2.</pre>
|
||||
<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>
|
||||
@@ -970,6 +977,13 @@ 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 valign="top" width="33%">BOOST_NO_WREGEX</td>
|
||||
<td valign="top" width="33%"><boost/regex.hpp></td>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#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
|
||||
|
||||
@@ -16,10 +16,16 @@
|
||||
|
||||
#if (__EDG_VERSION__ <= 238)
|
||||
# define BOOST_NO_VOID_RETURNS
|
||||
# define BOOST_NO_INTEGRAL_INT64_T
|
||||
#endif
|
||||
|
||||
#if (__EDG_VERSION__ <= 241) && !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
|
||||
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
||||
#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
|
||||
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
//
|
||||
#define BOOST_HAS_THREADS
|
||||
|
||||
//
|
||||
// gcc has "long long"
|
||||
//
|
||||
#define BOOST_HAS_LONG_LONG
|
||||
|
||||
#define BOOST_COMPILER "GNU C++ version " BOOST_STRINGIZE(__GNUC__) "." BOOST_STRINGIZE(__GNUC_MINOR__)
|
||||
|
||||
//
|
||||
|
||||
@@ -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,18 +16,24 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if (__HP_aCC <= 33300) || !defined(BOOST_STRICT_CONFIG)
|
||||
// member templates are sufficiently broken that we disable them for now
|
||||
# define BOOST_NO_MEMBER_TEMPLATES
|
||||
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||
#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 > 33300)
|
||||
# if defined(BOOST_ASSERT_CONFIG)
|
||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||
# endif
|
||||
|
||||
@@ -17,17 +17,23 @@
|
||||
# define BOOST_INTEL_CXX_VERSION __ICC
|
||||
#endif
|
||||
|
||||
#if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
#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)
|
||||
// in the frontend even in "strict" mode, unless you use
|
||||
// -Qoption,cpp,--arg_dep_lookup. (reported by Kirk Klobe & Thomas Witt)
|
||||
// Similarly, -Qoption,cpp,--new_for_init enables new-style "for" loop
|
||||
// variable scoping. (reported by Thomas Witt)
|
||||
// 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
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
# endif
|
||||
@@ -59,3 +65,5 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,29 +7,35 @@
|
||||
|
||||
// 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
|
||||
# endif
|
||||
|
||||
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
|
||||
// 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).
|
||||
// SunPro 5.3 has better support for partial specialization,
|
||||
// but breaks when compiling std::less<shared_ptr<T> >
|
||||
// (Jens Maurer 4 Nov 2001).
|
||||
# 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
|
||||
# endif
|
||||
|
||||
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
|
||||
|
||||
@@ -40,11 +46,13 @@
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
// Visual Age (IBM) C++ compiler setup:
|
||||
|
||||
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||
|
||||
//
|
||||
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
||||
|
||||
@@ -49,7 +49,9 @@
|
||||
# endif
|
||||
// disable min/max macro defines on vc6:
|
||||
//
|
||||
# define NOMINMAX
|
||||
# ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef _NATIVE_WCHAR_T_DEFINED
|
||||
|
||||
@@ -17,4 +17,8 @@
|
||||
#define BOOST_HAS_PTHREAD_DELAY_NP
|
||||
#define BOOST_HAS_PTHREAD_YIELD
|
||||
|
||||
// boilerplate code:
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,5 +19,7 @@
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
// boilerplate code:
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
@@ -37,3 +37,17 @@
|
||||
// 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
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
@@ -16,15 +16,22 @@
|
||||
// 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
|
||||
#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,12 @@
|
||||
|
||||
#define BOOST_NO_SWPRINTF
|
||||
#define BOOST_NO_CWCTYPE
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
#ifndef BOOST_HAS_GETTIMEOFDAY
|
||||
// gettimeofday is always available
|
||||
#define BOOST_HAS_GETTIMEOFDAY
|
||||
#endif
|
||||
|
||||
@@ -11,3 +11,7 @@
|
||||
|
||||
#define BOOST_NO_SWPRINTF
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
@@ -25,6 +25,18 @@
|
||||
# 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 +48,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
|
||||
|
||||
@@ -17,10 +17,20 @@
|
||||
# ifndef BOOST_HAS_UNISTD_H
|
||||
# define BOOST_HAS_UNISTD_H
|
||||
# endif
|
||||
// boilerplate code:
|
||||
# include <boost/config/posix_features.hpp>
|
||||
# ifndef BOOST_HAS_STDINT_H
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# endif
|
||||
|
||||
//
|
||||
// BSD runtime has pthreads, 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
|
||||
|
||||
# ifndef __APPLE_CC__
|
||||
|
||||
// GCC strange "ignore std" mode works better if you pretend everything
|
||||
@@ -30,3 +40,4 @@
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -9,5 +9,11 @@
|
||||
|
||||
#define BOOST_PLATFORM "sun"
|
||||
|
||||
#define BOOST_HAS_GETTIMEOFDAY
|
||||
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,18 +31,26 @@
|
||||
# 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
|
||||
|
||||
@@ -55,11 +63,4 @@
|
||||
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
# 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
|
||||
|
||||
@@ -52,10 +52,28 @@
|
||||
// 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"
|
||||
#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
|
||||
|
||||
|
||||
@@ -16,5 +16,9 @@
|
||||
# define BOOST_NO_STD_WSTRING
|
||||
#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
|
||||
|
||||
|
||||
|
||||
@@ -76,7 +76,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 +104,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:
|
||||
@@ -74,4 +93,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,17 @@
|
||||
# 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::
|
||||
//
|
||||
#if !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
#endif
|
||||
#if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
|
||||
# define BOOST_NO_STD_LOCALE
|
||||
#endif
|
||||
|
||||
//
|
||||
// Without member template support enabled, their are no template
|
||||
// iterate constructors, and no std::allocator:
|
||||
@@ -92,9 +103,11 @@
|
||||
#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
|
||||
#endif
|
||||
@@ -103,3 +116,4 @@
|
||||
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -21,6 +21,18 @@
|
||||
# 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_MSVC) && !defined(__BORLANDC__) \
|
||||
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
//
|
||||
// Assume any extensions are in namespace std:: unless stated otherwise:
|
||||
//
|
||||
@@ -110,26 +122,6 @@
|
||||
# define BOOST_NO_SWPRINTF
|
||||
# endif
|
||||
|
||||
//
|
||||
// If the platform claims to be Unix, then it had better behave like Unix!
|
||||
//
|
||||
# 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
|
||||
|
||||
//
|
||||
// Turn on threading support if the compiler thinks that it's in
|
||||
// multithreaded mode. We put this here because there are only a
|
||||
@@ -240,7 +232,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)
|
||||
|
||||
@@ -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
|
||||
@@ -194,7 +194,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)));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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 102600
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
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 int lli = 0LL;
|
||||
unsigned long long int ulli = 0uLL;
|
||||
(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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
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_gt.cxx
Normal file
34
test/boost_has_pthread_ma_gt.cxx
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_gettype
|
||||
// DESCRIPTION: The platform supports POSIX API pthread_mutexattr_gettype.
|
||||
|
||||
#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;
|
||||
pthread_mutexattr_gettype(&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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
34
test/boost_has_sgi_type_traits.ipp
Normal file
34
test/boost_has_sgi_type_traits.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_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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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__);
|
||||
@@ -821,10 +823,21 @@ void print_boost_macros()
|
||||
std::cout << "Boost version " << BOOST_STRINGIZE(BOOST_VERSION) << std::endl;
|
||||
PRINT_MACRO(BOOST_DECL);
|
||||
PRINT_MACRO(BOOST_HAS_BETHREADS);
|
||||
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
|
||||
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_NANOSLEEP);
|
||||
PRINT_MACRO(BOOST_HAS_NL_TYPES_H);
|
||||
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_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 +847,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,6 +855,7 @@ 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_DEPENDENT_NESTED_DERIVATIONS);
|
||||
PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS);
|
||||
PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS);
|
||||
PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING);
|
||||
@@ -874,7 +889,6 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
||||
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
|
||||
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
||||
}
|
||||
|
||||
void print_separator()
|
||||
|
||||
@@ -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
|
||||
// Wed Oct 31 12:19:39 2001
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#define BOOST_INCLUDE_MAIN
|
||||
@@ -77,36 +77,41 @@ namespace boost_no_function_template_ordering = empty_boost;
|
||||
#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_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"
|
||||
#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_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
|
||||
@@ -137,26 +142,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
|
||||
@@ -187,6 +187,11 @@ namespace boost_no_std_use_facet = empty_boost;
|
||||
#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
|
||||
@@ -217,26 +222,76 @@ 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_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_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_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_gt.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_SLIST
|
||||
#include "boost_has_slist.cxx"
|
||||
#else
|
||||
@@ -279,28 +334,29 @@ int test_main( int, char *[] )
|
||||
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_stdc_namespace::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_iterator_traits::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_friends::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_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_function_template_ordering::test());
|
||||
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
|
||||
@@ -320,10 +376,20 @@ int test_main( int, char *[] )
|
||||
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_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_nl_types_h::test());
|
||||
BOOST_TEST(0 == boost_has_nanosleep::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_clock_gettime::test());
|
||||
BOOST_TEST(0 == boost_has_bethreads::test());
|
||||
BOOST_TEST(0 == boost_has_two_arg_use_facet::test());
|
||||
return 0;
|
||||
|
||||
36
test/has_clock_gettime_fail.cpp
Normal file
36
test/has_clock_gettime_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_clock_gettime_pass.cpp
Normal file
36
test/has_clock_gettime_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_ftime_fail.cpp
Normal file
36
test/has_ftime_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_ftime_pass.cpp
Normal file
36
test/has_ftime_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_gettimeofday_fail.cpp
Normal file
36
test/has_gettimeofday_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_gettimeofday_pass.cpp
Normal file
36
test/has_gettimeofday_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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 Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_long_long_fail.cpp
Normal file
36
test/has_long_long_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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
|
||||
// Tue Oct 16 12:34:33 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_long_long_pass.cpp
Normal file
36
test/has_long_long_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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
|
||||
// Tue Oct 16 12:34:33 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#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();
|
||||
}
|
||||
|
||||
36
test/has_nanosleep_fail.cpp
Normal file
36
test/has_nanosleep_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_NANOSLEEP
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_NANOSLEEP may be defined.
|
||||
// see boost_has_nanosleep.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_nanosleep.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_NANOSLEEP
|
||||
#include "boost_has_nanosleep.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_nanosleep::test();
|
||||
}
|
||||
|
||||
36
test/has_nanosleep_pass.cpp
Normal file
36
test/has_nanosleep_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_NANOSLEEP
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_NANOSLEEP should not be defined.
|
||||
// see boost_has_nanosleep.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_nanosleep.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_NANOSLEEP
|
||||
#include "boost_has_nanosleep.cxx"
|
||||
#else
|
||||
namespace boost_has_nanosleep = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_nanosleep::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_delay_np_fail.cpp
Normal file
36
test/has_pthread_delay_np_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_DELAY_NP
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_PTHREAD_DELAY_NP may be defined.
|
||||
// see boost_has_pthread_delay_np.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_delay_np.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_PTHREAD_DELAY_NP
|
||||
#include "boost_has_pthread_delay_np.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_delay_np::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_delay_np_pass.cpp
Normal file
36
test/has_pthread_delay_np_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_DELAY_NP
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_PTHREAD_DELAY_NP should not be defined.
|
||||
// see boost_has_pthread_delay_np.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_delay_np.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_PTHREAD_DELAY_NP
|
||||
#include "boost_has_pthread_delay_np.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_delay_np = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_delay_np::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_ma_gt_fail.cpp
Normal file
36
test/has_pthread_ma_gt_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_MUTEXATTR_SETTYPE
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE may be defined.
|
||||
// see boost_has_pthread_ma_gt.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_ma_gt.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
#include "boost_has_pthread_ma_gt.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_mutexattr_settype::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_ma_gt_pass.cpp
Normal file
36
test/has_pthread_ma_gt_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_MUTEXATTR_SETTYPE
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE should not be defined.
|
||||
// see boost_has_pthread_ma_gt.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_ma_gt.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||
#include "boost_has_pthread_ma_gt.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_mutexattr_settype = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_mutexattr_settype::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_yield_fail.cpp
Normal file
36
test/has_pthread_yield_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_YIELD
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_PTHREAD_YIELD may be defined.
|
||||
// see boost_has_pthread_yield.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_yield.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_PTHREAD_YIELD
|
||||
#include "boost_has_pthread_yield.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_yield::test();
|
||||
}
|
||||
|
||||
36
test/has_pthread_yield_pass.cpp
Normal file
36
test/has_pthread_yield_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_PTHREAD_YIELD
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_PTHREAD_YIELD should not be defined.
|
||||
// see boost_has_pthread_yield.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_pthread_yield.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_PTHREAD_YIELD
|
||||
#include "boost_has_pthread_yield.cxx"
|
||||
#else
|
||||
namespace boost_has_pthread_yield = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_pthread_yield::test();
|
||||
}
|
||||
|
||||
36
test/has_sched_yield_fail.cpp
Normal file
36
test/has_sched_yield_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_SCHED_YIELD
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_SCHED_YIELD may be defined.
|
||||
// see boost_has_sched_yield.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_sched_yield.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_SCHED_YIELD
|
||||
#include "boost_has_sched_yield.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_sched_yield::test();
|
||||
}
|
||||
|
||||
36
test/has_sched_yield_pass.cpp
Normal file
36
test/has_sched_yield_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_SCHED_YIELD
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_SCHED_YIELD should not be defined.
|
||||
// see boost_has_sched_yield.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_sched_yield.cxx on
|
||||
// Thu Oct 11 12:24:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_SCHED_YIELD
|
||||
#include "boost_has_sched_yield.cxx"
|
||||
#else
|
||||
namespace boost_has_sched_yield = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_sched_yield::test();
|
||||
}
|
||||
|
||||
36
test/has_sgi_type_traits_fail.cpp
Normal file
36
test/has_sgi_type_traits_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_SGI_TYPE_TRAITS
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_SGI_TYPE_TRAITS may be defined.
|
||||
// see boost_has_sgi_type_traits.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_sgi_type_traits.cxx on
|
||||
// Wed Oct 31 12:19:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_SGI_TYPE_TRAITS
|
||||
#include "boost_has_sgi_type_traits.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_sgi_type_traits::test();
|
||||
}
|
||||
|
||||
36
test/has_sgi_type_traits_pass.cpp
Normal file
36
test/has_sgi_type_traits_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_SGI_TYPE_TRAITS
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_SGI_TYPE_TRAITS should not be defined.
|
||||
// see boost_has_sgi_type_traits.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_sgi_type_traits.cxx on
|
||||
// Wed Oct 31 12:19:39 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
|
||||
#include "boost_has_sgi_type_traits.cxx"
|
||||
#else
|
||||
namespace boost_has_sgi_type_traits = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_sgi_type_traits::test();
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
// 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_WEAK_FUNCTION_TEMPLATE_ORDERING
|
||||
// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING need not be defined.
|
||||
// BOOST_NO_FUNCTION_TEMPLATE_ORDERING need not be defined.
|
||||
// see boost_no_func_tmp_order.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_no_func_tmp_order.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Wed Oct 3 13:47:21 2001
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
|
||||
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
#include "boost_no_func_tmp_order.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_weak_function_template_ordering::test();
|
||||
return boost_no_function_template_ordering::test();
|
||||
}
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
// 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_WEAK_FUNCTION_TEMPLATE_ORDERING
|
||||
// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING needs to be defined.
|
||||
// BOOST_NO_FUNCTION_TEMPLATE_ORDERING needs to be defined.
|
||||
// see boost_no_func_tmp_order.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_no_func_tmp_order.cxx on
|
||||
// Mon Sep 10 12:18:12 2001
|
||||
// Wed Oct 3 13:47:21 2001
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -23,14 +23,14 @@
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
|
||||
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||
#include "boost_no_func_tmp_order.cxx"
|
||||
#else
|
||||
namespace boost_weak_function_template_ordering = empty_boost;
|
||||
namespace boost_no_function_template_ordering = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_weak_function_template_ordering::test();
|
||||
return boost_no_function_template_ordering::test();
|
||||
}
|
||||
|
||||
|
||||
36
test/no_integral_int64_t_fail.cpp
Normal file
36
test/no_integral_int64_t_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_NO_INTEGRAL_INT64_T
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_INTEGRAL_INT64_T need not be defined.
|
||||
// see boost_no_integral_int64_t.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_no_integral_int64_t.cxx on
|
||||
// Wed Oct 17 12:10:00 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_INTEGRAL_INT64_T
|
||||
#include "boost_no_integral_int64_t.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_no_integral_int64_t::test();
|
||||
}
|
||||
|
||||
36
test/no_integral_int64_t_pass.cpp
Normal file
36
test/no_integral_int64_t_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
// (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_NO_INTEGRAL_INT64_T
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_INTEGRAL_INT64_T needs to be defined.
|
||||
// see boost_no_integral_int64_t.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_no_integral_int64_t.cxx on
|
||||
// Wed Oct 17 12:10:00 2001
|
||||
|
||||
// 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 <boost/test/cpp_main.cpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_INTEGRAL_INT64_T
|
||||
#include "boost_no_integral_int64_t.cxx"
|
||||
#else
|
||||
namespace boost_no_integral_int64_t = empty_boost;
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_no_integral_int64_t::test();
|
||||
}
|
||||
|
||||
@@ -29,18 +29,20 @@ run libs/config/test/no_func_tmp_order_pass.cpp
|
||||
link-fail libs/config/test/no_func_tmp_order_fail.cpp
|
||||
run libs/config/test/no_inline_memb_init_pass.cpp
|
||||
link-fail libs/config/test/no_inline_memb_init_fail.cpp
|
||||
run libs/config/test/no_integral_int64_t_pass.cpp
|
||||
link-fail libs/config/test/no_integral_int64_t_fail.cpp
|
||||
run libs/config/test/no_iter_construct_pass.cpp
|
||||
link-fail libs/config/test/no_iter_construct_fail.cpp
|
||||
run libs/config/test/no_limits_const_exp_pass.cpp
|
||||
link-fail libs/config/test/no_limits_const_exp_fail.cpp
|
||||
run libs/config/test/no_limits_pass.cpp
|
||||
link-fail libs/config/test/no_limits_fail.cpp
|
||||
run libs/config/test/no_limits_const_exp_pass.cpp
|
||||
link-fail libs/config/test/no_limits_const_exp_fail.cpp
|
||||
run libs/config/test/no_mem_tem_keyword_pass.cpp
|
||||
link-fail libs/config/test/no_mem_tem_keyword_fail.cpp
|
||||
run libs/config/test/no_mem_templates_pass.cpp
|
||||
link-fail libs/config/test/no_mem_templates_fail.cpp
|
||||
run libs/config/test/no_mem_templ_frnds_pass.cpp
|
||||
link-fail libs/config/test/no_mem_templ_frnds_fail.cpp
|
||||
run libs/config/test/no_mem_templates_pass.cpp
|
||||
link-fail libs/config/test/no_mem_templates_fail.cpp
|
||||
run libs/config/test/no_ops_in_namespace_pass.cpp
|
||||
link-fail libs/config/test/no_ops_in_namespace_fail.cpp
|
||||
run libs/config/test/no_partial_spec_pass.cpp
|
||||
@@ -53,14 +55,12 @@ run libs/config/test/no_sstream_pass.cpp
|
||||
link-fail libs/config/test/no_sstream_fail.cpp
|
||||
run libs/config/test/no_std_allocator_pass.cpp
|
||||
link-fail libs/config/test/no_std_allocator_fail.cpp
|
||||
run libs/config/test/no_stdc_namespace_pass.cpp
|
||||
link-fail libs/config/test/no_stdc_namespace_fail.cpp
|
||||
run libs/config/test/no_std_distance_pass.cpp
|
||||
link-fail libs/config/test/no_std_distance_fail.cpp
|
||||
run libs/config/test/no_std_iterator_pass.cpp
|
||||
link-fail libs/config/test/no_std_iterator_fail.cpp
|
||||
run libs/config/test/no_std_iter_traits_pass.cpp
|
||||
link-fail libs/config/test/no_std_iter_traits_fail.cpp
|
||||
run libs/config/test/no_std_iterator_pass.cpp
|
||||
link-fail libs/config/test/no_std_iterator_fail.cpp
|
||||
run libs/config/test/no_std_locale_pass.cpp
|
||||
link-fail libs/config/test/no_std_locale_fail.cpp
|
||||
run libs/config/test/no_std_messages_pass.cpp
|
||||
@@ -73,6 +73,8 @@ run libs/config/test/no_std_use_facet_pass.cpp
|
||||
link-fail libs/config/test/no_std_use_facet_fail.cpp
|
||||
run libs/config/test/no_std_wstring_pass.cpp
|
||||
link-fail libs/config/test/no_std_wstring_fail.cpp
|
||||
run libs/config/test/no_stdc_namespace_pass.cpp
|
||||
link-fail libs/config/test/no_stdc_namespace_fail.cpp
|
||||
run libs/config/test/no_swprintf_pass.cpp
|
||||
link-fail libs/config/test/no_swprintf_fail.cpp
|
||||
run libs/config/test/no_using_template_pass.cpp
|
||||
@@ -85,14 +87,34 @@ run libs/config/test/has_2arg_use_facet_pass.cpp
|
||||
link-fail libs/config/test/has_2arg_use_facet_fail.cpp
|
||||
run libs/config/test/has_bethreads_pass.cpp
|
||||
link-fail libs/config/test/has_bethreads_fail.cpp
|
||||
run libs/config/test/has_clock_gettime_pass.cpp
|
||||
link-fail libs/config/test/has_clock_gettime_fail.cpp
|
||||
run libs/config/test/has_ftime_pass.cpp
|
||||
link-fail libs/config/test/has_ftime_fail.cpp
|
||||
run libs/config/test/has_gettimeofday_pass.cpp
|
||||
link-fail libs/config/test/has_gettimeofday_fail.cpp
|
||||
run libs/config/test/has_hash_pass.cpp
|
||||
link-fail libs/config/test/has_hash_fail.cpp
|
||||
run libs/config/test/has_long_long_pass.cpp
|
||||
link-fail libs/config/test/has_long_long_fail.cpp
|
||||
run libs/config/test/has_macro_use_facet_pass.cpp
|
||||
link-fail libs/config/test/has_macro_use_facet_fail.cpp
|
||||
run libs/config/test/has_nanosleep_pass.cpp
|
||||
link-fail libs/config/test/has_nanosleep_fail.cpp
|
||||
run libs/config/test/has_nl_types_h_pass.cpp
|
||||
link-fail libs/config/test/has_nl_types_h_fail.cpp
|
||||
run libs/config/test/has_pthread_delay_np_pass.cpp
|
||||
link-fail libs/config/test/has_pthread_delay_np_fail.cpp
|
||||
run libs/config/test/has_pthread_ma_gt_pass.cpp
|
||||
link-fail libs/config/test/has_pthread_ma_gt_fail.cpp
|
||||
run libs/config/test/has_pthread_yield_pass.cpp
|
||||
link-fail libs/config/test/has_pthread_yield_fail.cpp
|
||||
run libs/config/test/has_pthreads_pass.cpp
|
||||
link-fail libs/config/test/has_pthreads_fail.cpp
|
||||
run libs/config/test/has_sched_yield_pass.cpp
|
||||
link-fail libs/config/test/has_sched_yield_fail.cpp
|
||||
run libs/config/test/has_sgi_type_traits_pass.cpp
|
||||
link-fail libs/config/test/has_sgi_type_traits_fail.cpp
|
||||
run libs/config/test/has_slist_pass.cpp
|
||||
link-fail libs/config/test/has_slist_fail.cpp
|
||||
run libs/config/test/has_stdint_h_pass.cpp
|
||||
|
||||
@@ -85,6 +85,7 @@ dnl without these some of the tests may fail:
|
||||
|
||||
AC_HAVE_LIBRARY(pthread)
|
||||
AC_HAVE_LIBRARY(m)
|
||||
AC_HAVE_LIBRARY(rt)
|
||||
|
||||
#
|
||||
# enumerate test files and test each one:
|
||||
@@ -351,22 +352,8 @@ for name in $required_defs; do
|
||||
echo '#define '"$name" >> user.hpp
|
||||
done
|
||||
|
||||
cat << EOF
|
||||
|
||||
Adjustments to boost configuration have been written to
|
||||
user.hpp, copy this to boost/config/user.hpp to use "as is",
|
||||
or define BOOST_SITE_CONFIG to point to its location.
|
||||
|
||||
TREAT THIS FILE WITH CARE.
|
||||
Autoconf generated options are not infallible!
|
||||
|
||||
EOF
|
||||
|
||||
cat_conts=`cat user.hpp`
|
||||
|
||||
fi
|
||||
|
||||
|
||||
AC_OUTPUT(
|
||||
[],
|
||||
[
|
||||
@@ -389,6 +376,9 @@ cat_conts="$cat_conts"
|
||||
]
|
||||
)
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user