forked from boostorg/predef
Partial work on changes post-review of Predef library:
* shorter category names * CXX => COMP to be generic compiler category * add predef for string name of item * renamed all version make/extraction macros for clarity * C++ standard predef to use 1970.0.0 epoc date offset * subcategories for OS_BSD * start rewrite to support older preprocessors git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@79517 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
1 parent
4f4e109ab5
commit
7f08aede99
107 files changed
+2341
-1228
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,24 +12,35 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_BORLAND`]
|
||||
[heading `BOOST_COMP_BORLAND`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/C_plus_plus_builder Borland C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_BORLAND BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__BORLANDC__) || defined(__CODEGEARC__)
|
||||
#undef BOOST_CXX_BORLAND
|
||||
#if defined(__CODEGEARC__)
|
||||
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__CODEGEARC__)
|
||||
#else
|
||||
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__BORLANDC__)
|
||||
#endif
|
||||
# undef BOOST_COMP_BORLAND
|
||||
# if defined(__CODEGEARC__)
|
||||
# define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
|
||||
# else
|
||||
# define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_BORLAND_NAME "Borland C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_BORLAND,"Borland C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND,BOOST_COMP_BORLAND_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_CLANG`]
|
||||
[heading `BOOST_COMP_CLANG`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Clang Clang] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_CLANG BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_CLANG BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__clang__)
|
||||
#undef BOOST_CXX_CLANG
|
||||
#define BOOST_CXX_CLANG BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__)
|
||||
# undef BOOST_COMP_CLANG
|
||||
# define BOOST_COMP_CLANG BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_CLANG_NAME "Clang"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_CLANG,"Clang")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_CLANG,BOOST_COMP_CLANG_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -11,25 +11,36 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
#define BOOST_CXX_COMO BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_COMO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_COMO`]
|
||||
[heading `BOOST_COMP_COMO`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#if defined(__COMO__)
|
||||
#undef BOOST_CXX_COMO
|
||||
#if defined(__CONO_VERSION__)
|
||||
#define BOOST_CXX_COMO BOOST_PREDEF_MAKE_F_F_F(__COMO_VERSION__)
|
||||
#else
|
||||
#define BOOST_CXX_COMO BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_COMO
|
||||
# if defined(__CONO_VERSION__)
|
||||
# define BOOST_COMP_COMO BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
|
||||
# else
|
||||
# define BOOST_COMP_COMO BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_COMO_NAME "Comeau C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_COMO,"Comeau C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO,BOOST_COMP_COMO_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,25 +12,36 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_DEC`]
|
||||
[heading `BOOST_COMP_DEC`]
|
||||
|
||||
[@http://www.openvms.compaq.com/openvms/brochures/deccplus/ Compaq C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_DEC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DECC) || defined(__DECCXX)
|
||||
#undef BOOST_CXX_DEC
|
||||
#if defined(__DECCXX_VER)
|
||||
#define BOOST_CXX_DEC BOOST_PREDEF_MAKE_NN_NN_0_NN_00(__DECCXX_VER)
|
||||
#elif defined(__DECC_VER)
|
||||
#define BOOST_CXX_DEC BOOST_PREDEF_MAKE_NN_NN_0_NN_00(__DECC_VER)
|
||||
#else
|
||||
#endif
|
||||
# undef BOOST_COMP_DEC
|
||||
# if defined(__DECCXX_VER)
|
||||
# define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
|
||||
# elif defined(__DECC_VER)
|
||||
# define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
|
||||
# else
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_DEC_NAME "Compaq C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DEC,"Compaq C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC,BOOST_COMP_DEC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Distributed under 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_PREDEF_COMPILER_CYGWIN_H
|
||||
#define BOOST_PREDEF_COMPILER_CYGWIN_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_CYGWIN`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Cygwin] compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
#undef BOOST_CXX_CYGWIN
|
||||
#define BOOST_CXX_CYGWIN BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_CYGWIN,"Cygwin")
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_DIAB`]
|
||||
[heading `BOOST_COMP_DIAB`]
|
||||
|
||||
[@http://www.windriver.com/products/development_suite/wind_river_compiler/ Diab C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_DIAB BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_DIAB BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DCC__)
|
||||
#undef BOOST_CXX_DIAB
|
||||
#define BOOST_CXX_DIAB BOOST_PREDEF_MAKE_N_N_NN(__VERSION_NUMBER__)
|
||||
# undef BOOST_COMP_DIAB
|
||||
# define BOOST_COMP_DIAB BOOST_PREDEF_MAKE_10_VRPP(__VERSION_NUMBER__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_DIAB_NAME "Diab C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DIAB,"Diab C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DIAB,BOOST_COMP_DIAB_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_DMC`]
|
||||
[heading `BOOST_COMP_DMC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Digital_Mars Digital Mars] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_DMC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_DMC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DMC__)
|
||||
#undef BOOST_CXX_DMC
|
||||
#define BOOST_CXX_DMC BOOST_PREDEF_MAKE_F_F_F(__DMC__)
|
||||
# undef BOOST_COMP_DMC
|
||||
# define BOOST_COMP_DMC BOOST_PREDEF_MAKE_0X_VRP(__DMC__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_DMC_NAME "Digital Mars"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DMC,"Digital Mars")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DMC,BOOST_COMP_DMC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_SYSC`]
|
||||
[heading `BOOST_COMP_SYSC`]
|
||||
|
||||
[@http://www.dignus.com/dcxx/ Dignus Systems/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_SYSC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_SYSC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SYSC__)
|
||||
#undef BOOST_CXX_SYSC
|
||||
#define BOOST_CXX_SYSC BOOST_PREDEF_MAKE_N_NN_NN(__SYSC_VER__)
|
||||
# undef BOOST_COMP_SYSC
|
||||
# define BOOST_COMP_SYSC BOOST_PREDEF_MAKE_10_VRRPP(__SYSC_VER__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_SYSC_NAME "Dignus Systems/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SYSC,"Dignus Systems/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SYSC,BOOST_COMP_SYSC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_EDG`]
|
||||
[heading `BOOST_COMP_EDG`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Edison_Design_Group EDG C++ Frontend] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_EDG BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_EDG BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__EDG__)
|
||||
#undef BOOST_CXX_EDG
|
||||
#define BOOST_CXX_EDG BOOST_PREDEF_MAKE_N_NN(__EDG_VERSION__)
|
||||
# undef BOOST_COMP_EDG
|
||||
# define BOOST_COMP_EDG BOOST_PREDEF_MAKE_10_VRR(__EDG_VERSION__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_EDG_NAME "EDG C++ Frontend"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_EDG,"EDG C++ Frontend")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_EDG,BOOST_COMP_EDG_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,21 +12,32 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_PATH`]
|
||||
[heading `BOOST_COMP_PATH`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_PATH BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_PATH BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__PATHCC__)
|
||||
#undef BOOST_CXX_PATH
|
||||
#define BOOST_CXX_PATH \
|
||||
# undef BOOST_COMP_PATH
|
||||
# define BOOST_COMP_PATH \
|
||||
BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_PATH_NAME "EKOpath"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PATH,"EKOpath")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH,BOOST_COMP_PATH_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
+21
-10
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,26 +12,37 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_GNUC`]
|
||||
[heading `BOOST_COMP_GNUC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/GNU_Compiler_Collection Gnu GCC C/C++] compiler.
|
||||
Version number available as major, minor, and patch (if available).
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_GNUC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_GNUC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#undef BOOST_CXX_GNUC
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
#define BOOST_CXX_GNUC \
|
||||
# undef BOOST_COMP_GNUC
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define BOOST_COMP_GNUC \
|
||||
BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__)
|
||||
#else
|
||||
#define BOOST_CXX_GNUC \
|
||||
# else
|
||||
# define BOOST_COMP_GNUC \
|
||||
BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0)
|
||||
#endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_GNUC_NAME "Gnu GCC C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu GCC C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GNUC,BOOST_COMP_GNUC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,19 +12,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_GCCXML`]
|
||||
[heading `BOOST_COMP_GCCXML`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX GCC XML] compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_GCCXML BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GCCXML__)
|
||||
#undef BOOST_CXX_GCCXML
|
||||
#define BOOST_CXX_GCCXML BOOST_VERSION_NUMBER(0,0,1)
|
||||
# undef BOOST_COMP_GCCXML
|
||||
# define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_GCCXML_NAME "GCC XML"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GCCXML,"GCC XML")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GCCXML,BOOST_COMP_GCCXML_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,24 +12,35 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_GHS`]
|
||||
[heading `BOOST_COMP_GHS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Green_Hills_Software Green Hills C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_GHS BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_GHS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__ghs) || defined(__ghs__)
|
||||
#undef BOOST_CXX_GHS
|
||||
#if defined(__GHS_VERSION_NUMBER__)
|
||||
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__GHS_VERSION_NUMBER__)
|
||||
#else if defined(__ghs)
|
||||
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__ghs)
|
||||
#endif
|
||||
# undef BOOST_COMP_GHS
|
||||
# if defined(__GHS_VERSION_NUMBER__)
|
||||
# define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
|
||||
# else if defined(__ghs)
|
||||
# define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__ghs)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_GHS_NAME "Green Hills C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GHS,"Green Hills C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,24 +12,35 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_HPACC`]
|
||||
[heading `BOOST_COMP_HPACC`]
|
||||
|
||||
HP aC++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_HPACC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_HPACC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__HP_aCC)
|
||||
#undef BOOST_CXX_HPACC
|
||||
#if (__HP_aCC > 1)
|
||||
#define BOOST_CXX_HPACC BOOST_PREDEF_MAKE_NN_NN_NN(__HP_aCC)
|
||||
#else
|
||||
#define BOOST_CXX_HPACC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_HPACC
|
||||
# if (__HP_aCC > 1)
|
||||
# define BOOST_COMP_HPACC BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC)
|
||||
# else
|
||||
# define BOOST_COMP_HPACC BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_HPACC_NAME "HP aC++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HPACC,"HP aC++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC,BOOST_COMP_HPACC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_IAR`]
|
||||
[heading `BOOST_COMP_IAR`]
|
||||
|
||||
IAR C/C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_IAR BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_IAR BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IAR_SYSTEMS_ICC__)
|
||||
#undef BOOST_CXX_IAR
|
||||
#define BOOST_CXX_IAR BOOST_PREDEF_MAKE_NN_NN(__VER__)
|
||||
# undef BOOST_COMP_IAR
|
||||
# define BOOST_COMP_IAR BOOST_PREDEF_MAKE_10_VVRR(__VER__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_IAR_NAME "IAR C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IAR,"IAR C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IAR,BOOST_COMP_IAR_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
+25
-14
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,28 +12,39 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_IBM`]
|
||||
[heading `BOOST_COMP_IBM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/VisualAge IBM XL C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_IBM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__)
|
||||
#undef BOOST_CXX_IBM
|
||||
#if defined(__COMPILER_VER__)
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_F_FF_FFFF(__COMPILER_VER__)
|
||||
#elif defined(__xlC__)
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_FF_FF(__xlC__)
|
||||
#elif defined(__xlc__)
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_FF_FF(__xlc__)
|
||||
#else
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_N_N_N(__IBMCPP__)
|
||||
#endif
|
||||
# undef BOOST_COMP_IBM
|
||||
# if defined(__COMPILER_VER__)
|
||||
# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__)
|
||||
# elif defined(__xlC__)
|
||||
# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VVRR(__xlC__)
|
||||
# elif defined(__xlc__)
|
||||
# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VVRR(__xlc__)
|
||||
# else
|
||||
# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_10_VRP(__IBMCPP__)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_IBM_NAME "IBM XL C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM XL C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IBM,BOOST_COMP_IBM_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,25 +12,36 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_INTEL`]
|
||||
[heading `BOOST_COMP_INTEL`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_INTEL BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_INTEL BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
|
||||
defined(__ECC)
|
||||
#undef BOOST_CXX_INTEL
|
||||
#if defined(__INTEL_COMPILER)
|
||||
#define BOOST_CXX_INTEL BOOST_PREDEF_MAKE_N_N_N(__INTEL_COMPILER)
|
||||
#else
|
||||
#define BOOST_CXX_INTEL BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_INTEL
|
||||
# if defined(__INTEL_COMPILER)
|
||||
# define BOOST_COMP_INTEL BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
|
||||
# else
|
||||
# define BOOST_COMP_INTEL BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_INTEL_NAME "Intel C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_INTEL,"Intel C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL,BOOST_COMP_INTEL_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_KCC`]
|
||||
[heading `BOOST_COMP_KCC`]
|
||||
|
||||
Kai C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_KCC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_KCC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__KCC)
|
||||
#undef BOOST_CXX_KCC
|
||||
#define BOOST_CXX_KCC BOOST_PREDEF_MAKE_F_F_FF(__KCC_VERSION)
|
||||
# undef BOOST_COMP_KCC
|
||||
# define BOOST_COMP_KCC BOOST_PREDEF_MAKE_0X_VRPP(__KCC_VERSION)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_KCC_NAME "Kai C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_KCC,"Kai C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_KCC,BOOST_COMP_KCC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,19 +12,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_LLVM`]
|
||||
[heading `BOOST_COMP_LLVM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/LLVM LLVM] compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_LLVM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__llvm__)
|
||||
#undef BOOST_CXX_LLVM
|
||||
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,1)
|
||||
# undef BOOST_COMP_LLVM
|
||||
# define BOOST_COMP_LLVM BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_LLVM_NAME "LLVM"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_LLVM,"LLVM")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,19 +12,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_HIGHC`]
|
||||
[heading `BOOST_COMP_HIGHC`]
|
||||
|
||||
MetaWare High C/C++ compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__HIGHC__)
|
||||
#undef BOOST_CXX_HIGHC
|
||||
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,1)
|
||||
# undef BOOST_COMP_HIGHC
|
||||
# define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_HIGHC_NAME "MetaWare High C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HIGHC,"MetaWare High C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HIGHC,BOOST_COMP_HIGHC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,32 +12,43 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_MWERKS`]
|
||||
[heading `BOOST_COMP_MWERKS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/CodeWarrior Metrowerks CodeWarrior] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MWERKS__) || defined(__CWCC__)
|
||||
#undef BOOST_CXX_MWERKS
|
||||
#if defined(__CWCC__)
|
||||
#define BOOST_CXX_MWERKS BOOST_PREDEF_MAKE_F_F_FF(__CWCC__)
|
||||
#elif (__MWERKS__ >= 0x4200)
|
||||
#define BOOST_CXX_MWERKS BOOST_PREDEF_MAKE_F_F_FF(__MWERKS__)
|
||||
#elif (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
|
||||
#elif (__MWERKS__ >= 0x3200)
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
|
||||
#elif (__MWERKS__ >= 0x3000)
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
|
||||
#else
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_MWERKS
|
||||
# if defined(__CWCC__)
|
||||
# define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__)
|
||||
# elif (__MWERKS__ >= 0x4200)
|
||||
# define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__)
|
||||
# elif (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3
|
||||
# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
|
||||
# elif (__MWERKS__ >= 0x3200)
|
||||
# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
|
||||
# elif (__MWERKS__ >= 0x3000)
|
||||
# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
|
||||
# else
|
||||
# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MWERKS,"Metrowerks CodeWarrior")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS,BOOST_COMP_MWERKS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,19 +12,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_MRI`]
|
||||
[heading `BOOST_COMP_MRI`]
|
||||
|
||||
[@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_MRI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_MRI)
|
||||
#undef BOOST_CXX_MRI
|
||||
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,1)
|
||||
# undef BOOST_COMP_MRI
|
||||
# define BOOST_COMP_MRI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_MRI_NAME "Microtec C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MRI,"Microtec C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI,BOOST_COMP_MRI_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,29 +12,40 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_MINGW`]
|
||||
[heading `BOOST_COMP_MINGW`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/MinGW MinGW] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_MINGW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
#include <_mingw.h>
|
||||
#undef BOOST_CXX_MINGW
|
||||
#if defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR)
|
||||
#define BOOST_CXX_MINGW \
|
||||
# include <_mingw.h>
|
||||
# undef BOOST_COMP_MINGW
|
||||
# if defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR)
|
||||
# define BOOST_COMP_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW64_VERSION_MAJOR,__MINGW64_VERSION_MINOR,0)
|
||||
#elif defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR)
|
||||
#define BOOST_CXX_MINGW \
|
||||
# elif defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR)
|
||||
# define BOOST_COMP_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
|
||||
#else
|
||||
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# else
|
||||
# define BOOST_COMP_MINGW BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_MINGW_NAME "MinGW"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MINGW,"MinGW")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MINGW,BOOST_COMP_MINGW_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
+21
-10
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,24 +12,35 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_MPW`]
|
||||
[heading `BOOST_COMP_MPW`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler.
|
||||
Version number available as major, and minor.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_MPW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
|
||||
#undef BOOST_CXX_MPW
|
||||
#if defined(__MRC__)
|
||||
#define BOOST_CXX_MPW BOOST_PREDEF_MAKE_FF_FF(__MRC__)
|
||||
#else
|
||||
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_MPW
|
||||
# if defined(__MRC__)
|
||||
# define BOOST_COMP_MPW BOOST_PREDEF_MAKE_0X_VVRR(__MRC__)
|
||||
# else
|
||||
# define BOOST_COMP_MPW BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_MPW_NAME "MPW C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MPW,"MPW C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW,BOOST_COMP_MPW_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_PALM`]
|
||||
[heading `BOOST_COMP_PALM`]
|
||||
|
||||
Palm C/C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_PALM BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_PALM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_PACC_VER)
|
||||
#undef BOOST_CXX_PALM
|
||||
#define BOOST_CXX_PALM BOOST_PREDEF_MAKE_F_FF_FF_000(_PACC_VER)
|
||||
# undef BOOST_COMP_PALM
|
||||
# define BOOST_COMP_PALM BOOST_PREDEF_MAKE_0X_VRRPP000(_PACC_VER)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_PALM_NAME "Palm C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PALM,"Palm C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PALM,BOOST_COMP_PALM_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
+21
-10
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,23 +12,34 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_PGI`]
|
||||
[heading `BOOST_COMP_PGI`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_PGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__PGI)
|
||||
#undef BOOST_CXX_PGI
|
||||
#if defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
|
||||
#else
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_PGI
|
||||
# if defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)
|
||||
# define BOOST_COMP_PGI BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
|
||||
# else
|
||||
# define BOOST_COMP_PGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_PGI_NAME "Portland Group C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PGI,"Portland Group C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI,BOOST_COMP_PGI_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,26 +12,37 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_SGI`]
|
||||
[heading `BOOST_COMP_SGI`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_SGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sgi) || defined(sgi)
|
||||
#undef BOOST_CXX_SGI
|
||||
#if defined(_SGI_COMPILER_VERSION)
|
||||
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_SGI_COMPILER_VERSION)
|
||||
#elif defined(_COMPILER_VERSION)
|
||||
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_COMPILER_VERSION)
|
||||
#else
|
||||
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_SGI
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
# define BOOST_COMP_SGI BOOST_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION)
|
||||
# elif defined(_COMPILER_VERSION)
|
||||
# define BOOST_COMP_SGI BOOST_PREDEF_MAKE_10_VRP(_COMPILER_VERSION)
|
||||
# else
|
||||
# define BOOST_COMP_SGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_SGI_NAME "SGI MIPSpro"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI MIPSpro")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SGI,BOOST_COMP_SGI_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,26 +12,37 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_SUNPRO`]
|
||||
[heading `BOOST_COMP_SUNPRO`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Sun_Studio_%28software%29 Sun Studio] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
|
||||
#undef BOOST_CXX_SUNPRO
|
||||
#if defined(__SUNPRO_CC)
|
||||
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_CC)
|
||||
#elif defined(__SUNPRO_C)
|
||||
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_C)
|
||||
#else
|
||||
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
# undef BOOST_COMP_SUNPRO
|
||||
# if defined(__SUNPRO_CC)
|
||||
# define BOOST_COMP_SUNPRO BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC)
|
||||
# elif defined(__SUNPRO_C)
|
||||
# define BOOST_COMP_SUNPRO BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C)
|
||||
# else
|
||||
# define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_SUNPRO_NAME "Sun Studio"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Studio")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO,BOOST_COMP_SUNPRO_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,19 +12,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_TENDRA`]
|
||||
[heading `BOOST_COMP_TENDRA`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/TenDRA_Compiler TenDRA C/C++] compiler.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__TenDRA__)
|
||||
#undef BOOST_CXX_TENDRA
|
||||
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,1)
|
||||
# undef BOOST_COMP_TENDRA
|
||||
# define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_TENDRA_NAME "TenDRA C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_TENDRA,"TenDRA C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_TENDRA,BOOST_COMP_TENDRA_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,37 +12,48 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_MSVC`]
|
||||
[heading `BOOST_COMP_MSVC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Visual_studio Microsoft Visual C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MSVC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_MSVC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#undef BOOST_CXX_MSVC
|
||||
#if !defined (_MSC_FULL_VER)
|
||||
#define BOOST_CXX_MSVC_BUILD 0
|
||||
#else
|
||||
# undef BOOST_COMP_MSVC
|
||||
# if !defined (_MSC_FULL_VER)
|
||||
# define BOOST_COMP_MSVC_BUILD 0
|
||||
# else
|
||||
/* how many digits does the build number have? */
|
||||
#if _MSC_FULL_VER / 10000 == _MSC_VER
|
||||
# if _MSC_FULL_VER / 10000 == _MSC_VER
|
||||
/* four digits */
|
||||
#define BOOST_CXX_MSVC_BUILD (_MSC_FULL_VER % 10000)
|
||||
#elif _MSC_FULL_VER / 100000 == _MSC_VER
|
||||
# define BOOST_COMP_MSVC_BUILD (_MSC_FULL_VER % 10000)
|
||||
# elif _MSC_FULL_VER / 100000 == _MSC_VER
|
||||
/* five digits */
|
||||
#define BOOST_CXX_MSVC_BUILD (_MSC_FULL_VER % 100000)
|
||||
#else
|
||||
#error "Cannot determine build number from _MSC_FULL_VER"
|
||||
#endif
|
||||
#endif
|
||||
#define BOOST_CXX_MSVC BOOST_VERSION_NUMBER(\
|
||||
# define BOOST_COMP_MSVC_BUILD (_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
# error "Cannot determine build number from _MSC_FULL_VER"
|
||||
# endif
|
||||
# endif
|
||||
# define BOOST_COMP_MSVC BOOST_VERSION_NUMBER(\
|
||||
_MSC_VER/100-6,\
|
||||
_MSC_VER%100,\
|
||||
BOOST_CXX_MSVC_BUILD)
|
||||
BOOST_COMP_MSVC_BUILD)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_MSVC_NAME "Microsoft Visual C/C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MSVC,"Microsoft Visual C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MSVC,BOOST_COMP_MSVC_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2011
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
Distributed under 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)
|
||||
@@ -12,20 +12,31 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_WATCOM`]
|
||||
[heading `BOOST_COMP_WATCOM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Watcom Watcom C++] compiler.
|
||||
Version number available as major, and minor.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_WATCOM BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_WATCOM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__WATCOMC__)
|
||||
#undef BOOST_CXX_WATCOM
|
||||
#define BOOST_CXX_WATCOM BOOST_PREDEF_MAKE_NN_NN(__WATCOMC__)
|
||||
# undef BOOST_COMP_WATCOM
|
||||
# define BOOST_COMP_WATCOM BOOST_PREDEF_MAKE_10_VVRR(__WATCOMC__)
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_WATCOM_NAME "Watcom C++"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_WATCOM,"Watcom C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_WATCOM,BOOST_COMP_WATCOM_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user