forked from boostorg/config
Apply Diab compiler support from https://svn.boost.org/trac/boost/ticket/11655.
This commit is contained in:
19
include/boost/config/compiler/diab.hpp
Normal file
19
include/boost/config/compiler/diab.hpp
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// (C) Copyright Brian Kuhl 2016.
|
||||||
|
// 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)
|
||||||
|
|
||||||
|
// Check this is a recent EDG based compiler, otherwise we don't support it here:
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __EDG_VERSION__
|
||||||
|
# error "Unknown Diab compiler version - please run the configure tests and report the results"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "boost/config/compiler/common_edg.hpp"
|
||||||
|
|
||||||
|
#define BOOST_HAS_LONG_LONG
|
||||||
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
|
#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
|
||||||
|
#define BOOST_NO_CXX11_HDR_CODECVT
|
||||||
|
#define BOOST_COMPILER "Wind River Diab " BOOST_STRINGIZE(__VERSION_NUMBER__)
|
@@ -48,6 +48,10 @@
|
|||||||
// Digital Mars C++
|
// Digital Mars C++
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
|
||||||
|
|
||||||
|
#elif defined __DCC__
|
||||||
|
// Wind River Diab C++
|
||||||
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/diab.hpp"
|
||||||
|
|
||||||
# elif defined(__GNUC__) && !defined(__ibmxl__)
|
# elif defined(__GNUC__) && !defined(__ibmxl__)
|
||||||
// GNU C++:
|
// GNU C++:
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
|
||||||
|
Reference in New Issue
Block a user