Most changes from review comments implemented. Remove use of "#elif" for

backward PP compatability. Add BOOST_category_item_AVAILABLE as a
defined, or not, symbol for use with "#ifdef" or "#ifndef". Add
documentation of macros used for detection and version information. Also
replace direct use of BVN(0,0,0) and BVN(0,0,1) with more meaningful
macros that are globally defined, and hence consistent.
This commit is contained in:
Rene Rivera committed 2013-01-18 21:25:30 -06:00
1 parent 68470ca33e
commit 9fcecba7cc
89 files changed
+857 -403

No files matched your search

+5 -1
View File
@@ -25,13 +25,17 @@ http://www.boost.org/LICENSE_1_0.txt)
]
*/
#define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_LIBCPP_VERSION)
# undef BOOST_LIB_STD_CXX
# define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VPPP(_LIBCPP_VERSION)
#endif
#if BOOST_LIB_STD_CXX
# define BOOST_LIB_STD_CXX_AVAILABLE
#endif
#define BOOST_LIB_STD_CXX_NAME "libc++"
#include <boost/predef/detail/test.h>
@@ -27,17 +27,21 @@ If available version number as major, minor, and patch.
]
*/
#define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
# undef BOOST_LIB_STD_DINKUMWARE
# if defined(_CPPLIB_VER)
# define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
# else
# define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER(0,0,1)
# define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if BOOST_LIB_STD_DINKUMWARE
# define BOOST_LIB_STD_DINKUMWARE_AVAILABLE
#endif
#define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
#include <boost/predef/detail/test.h>
+5 -1
View File
@@ -26,13 +26,17 @@ Version number available as major.
]
*/
#define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__LIBCOMO__)
# undef BOOST_LIB_STD_COMO
# define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER(__LIBCOMO_VERSION__,0,0)
#endif
#if BOOST_LIB_STD_COMO
# define BOOST_LIB_STD_COMO_AVAILABLE
#endif
#define BOOST_LIB_STD_COMO_NAME "Comeau Computing"
#include <boost/predef/detail/test.h>
+6 -2
View File
@@ -24,11 +24,15 @@ http://www.boost.org/LICENSE_1_0.txt)
]
*/
#define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
# undef BOOST_LIB_STD_MSIPL
# define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER(0,0,1)
# define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if BOOST_LIB_STD_MSIPL
# define BOOST_LIB_STD_MSIPL_AVAILABLE
#endif
#define BOOST_LIB_STD_MSIPL_NAME "Modena Software Lib++"
+5 -1
View File
@@ -28,7 +28,7 @@ Version number available as major, minor, and patch.
]
*/
#define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__MSL_CPP__) || defined(__MSL__)
# undef BOOST_LIB_STD_MSL
@@ -39,6 +39,10 @@ Version number available as major, minor, and patch.
# endif
#endif
#if BOOST_LIB_STD_MSL
# define BOOST_LIB_STD_MSL_AVAILABLE
#endif
#define BOOST_LIB_STD_MSL_NAME "Metrowerks"
#include <boost/predef/detail/test.h>
+6 -2
View File
@@ -27,7 +27,7 @@ If available version number as major, minor, and patch.
]
*/
#define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
# undef BOOST_LIB_STD_RW
@@ -38,10 +38,14 @@ If available version number as major, minor, and patch.
# define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
# endif
# else
# define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER(0,0,1)
# define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if BOOST_LIB_STD_RW
# define BOOST_LIB_STD_RW_AVAILABLE
#endif
#define BOOST_LIB_STD_RW_NAME "Roguewave"
#include <boost/predef/detail/test.h>
+6 -2
View File
@@ -26,17 +26,21 @@ If available version number as major, minor, and patch.
]
*/
#define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__STL_CONFIG_H)
# undef BOOST_LIB_STD_SGI
# if defined(__SGI_STL)
# define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
# else
# define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER(0,0,1)
# define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if BOOST_LIB_STD_SGI
# define BOOST_LIB_STD_SGI_AVAILABLE
#endif
#define BOOST_LIB_STD_SGI_NAME "SGI"
#include <boost/predef/detail/test.h>
+5 -1
View File
@@ -28,7 +28,7 @@ Version number available as year (from 1970), month, and day.
]
*/
#define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
# undef BOOST_LIB_STD_GNU
@@ -39,6 +39,10 @@ Version number available as year (from 1970), month, and day.
# endif
#endif
#if BOOST_LIB_STD_GNU
# define BOOST_LIB_STD_GNU_AVAILABLE
#endif
#define BOOST_LIB_STD_GNU_NAME "GNU"
#include <boost/predef/detail/test.h>
+10 -4
View File
@@ -29,20 +29,26 @@ Version number available as major, minor, and patch.
]
*/
#define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
# undef BOOST_LIB_STD_STLPORT
# if defined(_STLPORT_MAJOR)
# if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR)
# define BOOST_LIB_STD_STLPORT \
BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL)
# elif defined(_STLPORT_VERSION)
# endif
# if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
# define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
# else
# endif
# if !defined(BOOST_LIB_STD_STLPORT)
# define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
# endif
#endif
#if BOOST_LIB_STD_STLPORT
# define BOOST_LIB_STD_STLPORT_AVAILABLE
#endif
#define BOOST_LIB_STD_STLPORT_NAME "STLport"
#include <boost/predef/detail/test.h>
+6 -2
View File
@@ -23,11 +23,15 @@ http://www.boost.org/LICENSE_1_0.txt)
]
*/
#define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__IBMCPP__)
# undef BOOST_LIB_STD_IBM
# define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER(0,0,1)
# define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if BOOST_LIB_STD_IBM
# define BOOST_LIB_STD_IBM_AVAILABLE
#endif
#define BOOST_LIB_STD_IBM_NAME "IBM VACPP"