forked from boostorg/predef
Last update, for now, of the predefs. They are all now documented and checked against current knowledge of detection.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@75949 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
1 parent
8bc199d45c
commit
86cc3136ad
61 files changed
+564
-415
No files matched your search
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_BORLAND`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Borland] compiler.
|
||||
[@http://en.wikipedia.org/wiki/C_plus_plus_builder Borland C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_BORLAND BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#if defined(__BORLANDC__) || defined(__CODEGEARC__)
|
||||
#undef BOOST_CXX_BORLAND
|
||||
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__BORLANDC__)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_BORLAND,"Borland")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_BORLAND,"Borland C++")
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
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_CLANG_H
|
||||
#define BOOST_PREDEF_COMPILER_CLANG_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_CXX_CLANG`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Clang Clang] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_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__)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_CLANG,"Clang")
|
||||
|
||||
#endif
|
||||
@@ -16,16 +16,20 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_COMO`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Comeau] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#if defined(__COMO__)
|
||||
#undef BOOST_CXX_COMO
|
||||
#define BOOST_CXX_COMO BOOST_PREDEF_MAKE_F_F_FF(__COMO_VERSION__)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_COMO,"Comeau")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_COMO,"Comeau C++")
|
||||
|
||||
#endif
|
||||
@@ -14,21 +14,23 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_DEC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Compaq DEC] compiler.
|
||||
[@http://www.openvms.compaq.com/openvms/brochures/deccplus/ Compaq C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DECC)
|
||||
#if defined(__DECC) || defined(__DECCXX)
|
||||
#undef BOOST_CXX_DEC
|
||||
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(\
|
||||
(__DECC_VER)/10000000,\
|
||||
(__DECC_VER%10000000)/100000,\
|
||||
(__DECC_VER%10000))
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DEC,"Compaq")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DEC,"Compaq C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_DIAB`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Diab] compiler.
|
||||
[@http://www.windriver.com/products/development_suite/wind_river_compiler/ Diab C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DIAB,"Diab")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DIAB,"Diab C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_DMC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Digital Mars] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Digital_Mars Digital Mars] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_SYSC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Dignus SysC] compiler.
|
||||
[@http://www.dignus.com/dcxx/ Dignus Systems/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SYSC,"SysC")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SYSC,"Dignus Systems/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_EDG`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX EDG] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Edison_Design_Group EDG C++ Frontend] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -22,10 +22,10 @@ Version number available as major, minor, and patch.
|
||||
|
||||
#if defined(__EDG__)
|
||||
#undef BOOST_CXX_EDG
|
||||
#define BOOST_CXX_EDG BOOST_PREDEF_MAKE_N_N_N(__EDG_VERSION__)
|
||||
#define BOOST_CXX_EDG BOOST_PREDEF_MAKE_N_NN(__EDG_VERSION__)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_EDG,"EDG")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_EDG,"EDG C++ Frontend")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_PATH`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Ekopath] compiler.
|
||||
[@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -27,6 +27,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PATH,"Ekopath")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PATH,"EKOpath")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_GNUC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Gnu C/C++] compiler.
|
||||
[@http://en.wikipedia.org/wiki/GNU_Compiler_Collection Gnu GCC C/C++] compiler.
|
||||
Version number available as major, minor, and patch (if available).
|
||||
*/
|
||||
|
||||
@@ -32,6 +32,6 @@ Version number available as major, minor, and patch (if available).
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu C/C++")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu GCC C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_GHS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Green Hills] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Green_Hills_Software Green Hills C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_GHS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__ghs)
|
||||
#if defined(__ghs) || defined(__ghs__)
|
||||
#undef BOOST_CXX_GHS
|
||||
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GHS,"Green Hills")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GHS,"Green Hills C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_HPACC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX HP ACC] compiler.
|
||||
HP aC++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -22,10 +22,14 @@ Version number available as major, minor, and patch.
|
||||
|
||||
#if defined(__HP_aCC)
|
||||
#undef BOOST_CXX_HPACC
|
||||
#define BOOST_CXX_HPACC BOOST_PREDEF_MAKE_NN_NN_NN(__HP_aCC)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HPACC,"HP ACC")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HPACC,"HP aC++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_IAR`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX IAR] compiler.
|
||||
IAR C/C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IAR,"IAR")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IAR,"IAR C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,24 +14,26 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_IBM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Iternational Business Mchines] compiler.
|
||||
[@http://en.wikipedia.org/wiki/VisualAge IBM XL C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IBMCPP__) || defined(__xlC__)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM XL C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_INTEL`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Intel] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -23,10 +23,14 @@ Version number available as major, minor, and patch.
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
|
||||
defined(__ECC)
|
||||
#undef BOOST_CXX_INTEL
|
||||
#define BOOST_CXX_INTEL BOOST_PREDEF_MAKE_N_N_N(__INTEL_COMPILER)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_INTEL,"Intel")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_INTEL,"Intel C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_KCC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Kai] compiler.
|
||||
Kai C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_KCC,"Kai")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_KCC,"Kai C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_LLVM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX LLVM] compiler.
|
||||
[@http://en.wikipedia.org/wiki/LLVM LLVM] compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_HIGHC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Metaware HighC] compiler.
|
||||
MetaWare High C/C++ compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,0)
|
||||
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HIGHC,"Metaware HighC")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HIGHC,"MetaWare High C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,26 +14,30 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_MWERKS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Metrowerks] compiler.
|
||||
[@http://en.wikipedia.org/wiki/CodeWarrior Metrowerks CodeWarrior] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#if defined(__MWERKS__) || defined(__CWCC__)
|
||||
#undef BOOST_CXX_MWERKS
|
||||
#if (__MWERKS__ >= 0x3000) && (__MWERKS__ < 0x3200)
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
|
||||
#elif (__MWERKS__ >= 0x3200) && (__MWERKS__ <= 0x3202)
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
|
||||
#elif (__MWERKS__ >= 0x3204) && (__MWERKS__ < 0x3300) // note the "skip": 04->9.3
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
|
||||
#else
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MWERKS,"Metrowerks")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MWERKS,"Metrowerks CodeWarrior")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_MRI`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Microtec] compiler.
|
||||
[@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,0)
|
||||
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MRI,"Microtec")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MRI,"Microtec C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,17 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_MINGW`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX MinGW] compiler.
|
||||
[@http://en.wikipedia.org/wiki/MinGW MinGW] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
#include <_mingw.h>
|
||||
#undef BOOST_CXX_MINGW
|
||||
#define BOOST_CXX_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
|
||||
#if defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR)
|
||||
#define BOOST_CXX_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW64_VERSION_MAJOR,__MINGW64_VERSION_MINOR,0)
|
||||
#elif defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR)
|
||||
#define BOOST_CXX_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
|
||||
#else
|
||||
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
|
||||
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_MPW`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX MPW] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler.
|
||||
Version number available as major, and minor.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MRC__)
|
||||
#if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
|
||||
#undef BOOST_CXX_MPW
|
||||
#define BOOST_CXX_MPW BOOST_PREDEF_MAKE_FF_FF(__MRC__)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MPW,"MPW")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MPW,"MPW C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_PALM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Palm] compiler.
|
||||
Palm C/C++ compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PALM,"Palm")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PALM,"Palm C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,17 +14,21 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_PGI`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX PGI] compiler.
|
||||
[@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__PGI)
|
||||
#undef BOOST_CXX_PGI
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PGI,"PGI")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PGI,"Portland Group C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,22 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_SGI`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX SGI Mips-pro] compiler.
|
||||
[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sgi)
|
||||
#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)
|
||||
#else
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI Mips-pro")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI MIPSpro")
|
||||
|
||||
#endif
|
||||
@@ -14,18 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_SUNPRO`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Sun Pro] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Sun_Studio_%28software%29 Sun Studio] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SUNPRO_CC)
|
||||
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
|
||||
#undef BOOST_CXX_SUNPRO
|
||||
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_CC)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Pro")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Studio")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_TENDRA`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Tendra] compiler.
|
||||
[@http://en.wikipedia.org/wiki/TenDRA_Compiler TenDRA C/C++] compiler.
|
||||
*/
|
||||
|
||||
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,0)
|
||||
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_TENDRA,"Tendra")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_TENDRA,"TenDRA C/C++")
|
||||
|
||||
#endif
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_MSVC`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Microsoft Visual C/C++] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Visual_studio Microsoft Visual C/C++] compiler.
|
||||
Version number available as major, minor, and patch.
|
||||
*/
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_CXX_WATCOM`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/XXX Watcom] compiler.
|
||||
[@http://en.wikipedia.org/wiki/Watcom Watcom C++] compiler.
|
||||
Version number available as major, and minor.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,6 @@ Version number available as major, and minor.
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_WATCOM,"Watcom")
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_WATCOM,"Watcom C++")
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user