34 lines
1.7 KiB
C++
34 lines
1.7 KiB
C++
# /* **************************************************************************
|
|
# * *
|
|
# * (C) Copyright Paul Mensonides 2002.
|
|
# * 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)
|
|
# * *
|
|
# ************************************************************************** */
|
|
#
|
|
# /* See http://www.boost.org for most recent version. */
|
|
#
|
|
# ifndef ACTIV_BOOST_PREPROCESSOR_DEBUG_ERROR_HPP
|
|
# define ACTIV_BOOST_PREPROCESSOR_DEBUG_ERROR_HPP
|
|
#
|
|
# include <ActivBoost/preprocessor/cat.hpp>
|
|
# include <ActivBoost/preprocessor/config/config.hpp>
|
|
#
|
|
# /* ACTIV_BOOST_PP_ERROR */
|
|
#
|
|
# if ACTIV_BOOST_PP_CONFIG_ERRORS
|
|
# define ACTIV_BOOST_PP_ERROR(code) ACTIV_BOOST_PP_CAT(ACTIV_BOOST_PP_ERROR_, code)
|
|
# endif
|
|
#
|
|
# define ACTIV_BOOST_PP_ERROR_0x0000 ACTIV_BOOST_PP_ERROR(0x0000, ACTIV_BOOST_PP_INDEX_OUT_OF_BOUNDS)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0001 ACTIV_BOOST_PP_ERROR(0x0001, ACTIV_BOOST_PP_WHILE_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0002 ACTIV_BOOST_PP_ERROR(0x0002, ACTIV_BOOST_PP_FOR_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0003 ACTIV_BOOST_PP_ERROR(0x0003, ACTIV_BOOST_PP_REPEAT_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0004 ACTIV_BOOST_PP_ERROR(0x0004, ACTIV_BOOST_PP_LIST_FOLD_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0005 ACTIV_BOOST_PP_ERROR(0x0005, ACTIV_BOOST_PP_SEQ_FOLD_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0006 ACTIV_BOOST_PP_ERROR(0x0006, ACTIV_BOOST_PP_ARITHMETIC_OVERFLOW)
|
|
# define ACTIV_BOOST_PP_ERROR_0x0007 ACTIV_BOOST_PP_ERROR(0x0007, ACTIV_BOOST_PP_DIVISION_BY_ZERO)
|
|
#
|
|
# endif
|