Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:49:17

0001 //  (C) Copyright David Abrahams 2000.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 //
0006 //  The author gratefully acknowleges the support of Dragon Systems, Inc., in
0007 //  producing this work.
0008 
0009 //  Revision History:
0010 //  04 Mar 01  Some fixes so it will compile with Intel C++ (Dave Abrahams)
0011 
0012 #ifndef CONFIG_DWA052200_H_
0013 # define CONFIG_DWA052200_H_
0014 
0015 # include <boost/config.hpp>
0016 # include <boost/detail/workaround.hpp>
0017 
0018 # ifdef BOOST_NO_OPERATORS_IN_NAMESPACE
0019    // A gcc bug forces some symbols into the global namespace
0020 #  define BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE
0021 #  define BOOST_PYTHON_END_CONVERSION_NAMESPACE
0022 #  define BOOST_PYTHON_CONVERSION
0023 #  define BOOST_PYTHON_IMPORT_CONVERSION(x) using ::x
0024 # else
0025 #  define BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE namespace boost { namespace python {
0026 #  define BOOST_PYTHON_END_CONVERSION_NAMESPACE }} // namespace boost::python
0027 #  define BOOST_PYTHON_CONVERSION boost::python
0028 #  define BOOST_PYTHON_IMPORT_CONVERSION(x) void never_defined() // so we can follow the macro with a ';'
0029 # endif
0030 
0031 # if defined(BOOST_MSVC)
0032 
0033 #  pragma warning (disable : 4786) // disable truncated debug symbols
0034 #  pragma warning (disable : 4251) // disable exported dll function
0035 #  pragma warning (disable : 4800) //'int' : forcing value to bool 'true' or 'false'
0036 #  pragma warning (disable : 4275) // non dll-interface class
0037 
0038 # elif defined(__ICL) && __ICL < 600 // Intel C++ 5
0039 
0040 #  pragma warning(disable: 985) // identifier was truncated in debug information
0041 
0042 # endif
0043 
0044 // The STLport puts all of the standard 'C' library names in std (as far as the
0045 // user is concerned), but without it you need a fix if you're using MSVC or
0046 // Intel C++
0047 # if defined(BOOST_NO_STDC_NAMESPACE)
0048 #  define BOOST_CSTD_
0049 # else
0050 #  define BOOST_CSTD_ std
0051 # endif
0052 
0053 /*****************************************************************************
0054  *
0055  *  Set up dll import/export options:
0056  *
0057  ****************************************************************************/
0058 
0059 // backwards compatibility:
0060 #if defined(BOOST_PYTHON_STATIC_LINK) && !defined(BOOST_PYTHON_STATIC_LIB)
0061 #  define BOOST_PYTHON_STATIC_LIB
0062 #endif
0063 
0064 #if defined(BOOST_PYTHON_DYNAMIC_LINK) && !defined(BOOST_PYTHON_DYNAMIC_LIB)
0065 #  define BOOST_PYTHON_DYNAMIC_LIB
0066 #endif
0067 
0068 #if !defined(BOOST_PYTHON_STATIC_LIB) && !defined(BOOST_PYTHON_DYNAMIC_LIB)
0069 #  define BOOST_PYTHON_DYNAMIC_LIB
0070 #endif
0071 
0072 #if defined(BOOST_PYTHON_DYNAMIC_LIB)
0073 #  if defined(BOOST_SYMBOL_EXPORT)
0074 #     if defined(BOOST_PYTHON_SOURCE)
0075 #        define BOOST_PYTHON_DECL           BOOST_SYMBOL_EXPORT
0076 #        define BOOST_PYTHON_DECL_FORWARD   BOOST_SYMBOL_FORWARD_EXPORT
0077 #        define BOOST_PYTHON_DECL_EXCEPTION BOOST_EXCEPTION_EXPORT
0078 #        define BOOST_PYTHON_BUILD_DLL
0079 #     else
0080 #        define BOOST_PYTHON_DECL           BOOST_SYMBOL_IMPORT
0081 #        define BOOST_PYTHON_DECL_FORWARD   BOOST_SYMBOL_FORWARD_IMPORT
0082 #        define BOOST_PYTHON_DECL_EXCEPTION BOOST_EXCEPTION_IMPORT
0083 #     endif
0084 #  endif
0085 #endif
0086 
0087 #ifndef BOOST_PYTHON_DECL
0088 #  define BOOST_PYTHON_DECL
0089 #endif
0090 
0091 #ifndef BOOST_PYTHON_DECL_FORWARD
0092 #  define BOOST_PYTHON_DECL_FORWARD
0093 #endif
0094 
0095 #ifndef BOOST_PYTHON_DECL_EXCEPTION
0096 #  define BOOST_PYTHON_DECL_EXCEPTION
0097 #endif
0098 
0099 #if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042))
0100 // Replace broken Tru64/cxx offsetof macro
0101 # define BOOST_PYTHON_OFFSETOF(s_name, s_member) \
0102         ((size_t)__INTADDR__(&(((s_name *)0)->s_member)))
0103 #else
0104 # define BOOST_PYTHON_OFFSETOF offsetof
0105 #endif
0106 
0107 //  enable automatic library variant selection  ------------------------------// 
0108 
0109 #if !defined(BOOST_PYTHON_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_PYTHON_NO_LIB)
0110 //
0111 // Set the name of our library, this will get undef'ed by auto_link.hpp
0112 // once it's done with it:
0113 //
0114 #define _BOOST_PYTHON_CONCAT(N, M, m) N ## M ## m
0115 #define BOOST_PYTHON_CONCAT(N, M, m) _BOOST_PYTHON_CONCAT(N, M, m)
0116 #define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_python, PY_MAJOR_VERSION, PY_MINOR_VERSION)
0117 //
0118 // If we're importing code from a dll, then tell auto_link.hpp about it:
0119 //
0120 #ifdef BOOST_PYTHON_DYNAMIC_LIB
0121 #  define BOOST_DYN_LINK
0122 #endif
0123 //
0124 // And include the header that does the work:
0125 //
0126 #include <boost/config/auto_link.hpp>
0127 #endif  // auto-linking disabled
0128 
0129 #undef BOOST_PYTHON_CONCAT
0130 #undef _BOOST_PYTHON_CONCAT
0131 
0132 #ifndef BOOST_PYTHON_NO_PY_SIGNATURES
0133 #define BOOST_PYTHON_SUPPORTS_PY_SIGNATURES // enables smooth transition
0134 #endif
0135 
0136 #if !defined(BOOST_ATTRIBUTE_UNUSED) && defined(__GNUC__) && (__GNUC__ >= 4)
0137 #  define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
0138 #endif
0139 
0140 #endif // CONFIG_DWA052200_H_