-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in Boost.Config headers for standalone release.
- Loading branch information
Showing
95 changed files
with
13,331 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Boost config.hpp configuration header file ------------------------------// | ||
|
||
// (C) Copyright John Maddock 2002. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// See http://www.boost.org/libs/config for most recent version. | ||
|
||
// Boost config.hpp policy and rationale documentation has been moved to | ||
// http://www.boost.org/libs/config | ||
// | ||
// CAUTION: This file is intended to be completely stable - | ||
// DO NOT MODIFY THIS FILE! | ||
// | ||
|
||
#ifndef BOOST_CONFIG_HPP | ||
#define BOOST_CONFIG_HPP | ||
|
||
// if we don't have a user config, then use the default location: | ||
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) | ||
# define BOOST_USER_CONFIG <boost/config/user.hpp> | ||
#if 0 | ||
// For dependency trackers: | ||
# include <boost/config/user.hpp> | ||
#endif | ||
#endif | ||
// include it first: | ||
#ifdef BOOST_USER_CONFIG | ||
# include BOOST_USER_CONFIG | ||
#endif | ||
|
||
// if we don't have a compiler config set, try and find one: | ||
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) | ||
# include <boost/config/detail/select_compiler_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) && defined(__cplusplus) | ||
# include <boost/config/detail/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/detail/select_platform_config.hpp> | ||
#endif | ||
// if we have a platform config, include it now: | ||
#ifdef BOOST_PLATFORM_CONFIG | ||
# include BOOST_PLATFORM_CONFIG | ||
#endif | ||
|
||
// get config suffix code: | ||
#include <boost/config/detail/suffix.hpp> | ||
|
||
#ifdef BOOST_HAS_PRAGMA_ONCE | ||
#pragma once | ||
#endif | ||
|
||
#endif // BOOST_CONFIG_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// (C) Copyright John Maddock 2003. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// for C++ Builder the following options effect the ABI: | ||
// | ||
// -b (on or off - effect emum sizes) | ||
// -Vx (on or off - empty members) | ||
// -Ve (on or off - empty base classes) | ||
// -aX (alignment - 5 options). | ||
// -pX (Calling convention - 4 options) | ||
// -VmX (member pointer size and layout - 5 options) | ||
// -VC (on or off, changes name mangling) | ||
// -Vl (on or off, changes struct layout). | ||
|
||
// In addition the following warnings are sufficiently annoying (and | ||
// unfixable) to have them turned off by default: | ||
// | ||
// 8027 - functions containing [for|while] loops are not expanded inline | ||
// 8026 - functions taking class by value arguments are not expanded inline | ||
|
||
#pragma nopushoptwarn | ||
# pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// (C) Copyright John Maddock 2003. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
# pragma option pop | ||
#pragma nopushoptwarn | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// (C) Copyright John Maddock 2003. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// | ||
// Boost binaries are built with the compiler's default ABI settings, | ||
// if the user changes their default alignment in the VS IDE then their | ||
// code will no longer be binary compatible with the bjam built binaries | ||
// unless this header is included to force Boost code into a consistent ABI. | ||
// | ||
// Note that inclusion of this header is only necessary for libraries with | ||
// separate source, header only libraries DO NOT need this as long as all | ||
// translation units are built with the same options. | ||
// | ||
#if defined(_M_X64) | ||
# pragma pack(push,16) | ||
#else | ||
# pragma pack(push,8) | ||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// (C) Copyright John Maddock 2003. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
#pragma pack(pop) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// abi_prefix header -------------------------------------------------------// | ||
|
||
// (c) Copyright John Maddock 2003 | ||
|
||
// Use, modification and distribution are subject to the Boost Software License, | ||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt). | ||
|
||
#ifndef BOOST_CONFIG_ABI_PREFIX_HPP | ||
# define BOOST_CONFIG_ABI_PREFIX_HPP | ||
#else | ||
# error double inclusion of header boost/config/abi_prefix.hpp is an error | ||
#endif | ||
|
||
#include <boost/config.hpp> | ||
|
||
// this must occur after all other includes and before any code appears: | ||
#ifdef BOOST_HAS_ABI_HEADERS | ||
# include BOOST_ABI_PREFIX | ||
#endif | ||
|
||
#if defined( BOOST_BORLANDC ) | ||
#pragma nopushoptwarn | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// abi_sufffix header -------------------------------------------------------// | ||
|
||
// (c) Copyright John Maddock 2003 | ||
|
||
// Use, modification and distribution are subject to the Boost Software License, | ||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt). | ||
|
||
// This header should be #included AFTER code that was preceded by a #include | ||
// <boost/config/abi_prefix.hpp>. | ||
|
||
#ifndef BOOST_CONFIG_ABI_PREFIX_HPP | ||
# error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp | ||
#else | ||
# undef BOOST_CONFIG_ABI_PREFIX_HPP | ||
#endif | ||
|
||
// the suffix header occurs after all of our code: | ||
#ifdef BOOST_HAS_ABI_HEADERS | ||
# include BOOST_ABI_SUFFIX | ||
#endif | ||
|
||
#if defined( BOOST_BORLANDC ) | ||
#pragma nopushoptwarn | ||
#endif |
Oops, something went wrong.