Rcpp Version 0.9.10
config.hpp
Go to the documentation of this file.
00001 # /* **************************************************************************
00002 #  *                                                                          *
00003 #  *     (C) Copyright Paul Mensonides 2002.
00004 #  *     Distributed under the Boost Software License, Version 1.0. (See
00005 #  *     accompanying file LICENSE_1_0.txt or copy at
00006 #  *     http://www.boost.org/LICENSE_1_0.txt)
00007 #  *                                                                          *
00008 #  ************************************************************************** */
00009 #
00010 # /* See http://www.boost.org for most recent version. */
00011 #
00012 # ifndef RCPP_PREPROCESSOR_CONFIG_CONFIG_HPP
00013 # define RCPP_PREPROCESSOR_CONFIG_CONFIG_HPP
00014 #
00015 # /* RCPP_PP_CONFIG_FLAGS */
00016 #
00017 # define RCPP_PP_CONFIG_STRICT() 0x0001
00018 # define RCPP_PP_CONFIG_IDEAL() 0x0002
00019 #
00020 # define RCPP_PP_CONFIG_MSVC() 0x0004
00021 # define RCPP_PP_CONFIG_MWCC() 0x0008
00022 # define RCPP_PP_CONFIG_BCC() 0x0010
00023 # define RCPP_PP_CONFIG_EDG() 0x0020
00024 # define RCPP_PP_CONFIG_DMC() 0x0040
00025 #
00026 # ifndef RCPP_PP_CONFIG_FLAGS
00027 #    if defined(__GCCXML__)
00028 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_STRICT())
00029 #    elif defined(__WAVE__)
00030 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_STRICT())
00031 #    elif defined(__MWERKS__) && __MWERKS__ >= 0x3200
00032 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_STRICT())
00033 #    elif defined(__EDG__) || defined(__EDG_VERSION__)
00034 #        if defined(_MSC_VER) && __EDG_VERSION__ >= 308
00035 #            define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_MSVC())
00036 #        else
00037 #            define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_EDG() | RCPP_PP_CONFIG_STRICT())
00038 #        endif
00039 #    elif defined(__MWERKS__)
00040 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_MWCC())
00041 #    elif defined(__DMC__)
00042 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_DMC())
00043 #    elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581
00044 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_STRICT())
00045 #    elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)
00046 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_BCC())
00047 #    elif defined(_MSC_VER)
00048 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_MSVC())
00049 #    else
00050 #        define RCPP_PP_CONFIG_FLAGS() (RCPP_PP_CONFIG_STRICT())
00051 #    endif
00052 # endif
00053 #
00054 # /* RCPP_PP_CONFIG_EXTENDED_LINE_INFO */
00055 #
00056 # ifndef RCPP_PP_CONFIG_EXTENDED_LINE_INFO
00057 #    define RCPP_PP_CONFIG_EXTENDED_LINE_INFO 0
00058 # endif
00059 #
00060 # /* RCPP_PP_CONFIG_ERRORS */
00061 #
00062 # ifndef RCPP_PP_CONFIG_ERRORS
00063 #    ifdef NDEBUG
00064 #        define RCPP_PP_CONFIG_ERRORS 0
00065 #    else
00066 #        define RCPP_PP_CONFIG_ERRORS 1
00067 #    endif
00068 # endif
00069 #
00070 # endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines