annotate DEPENDENCIES/generic/include/boost/wave/wave_config_constant.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 /*=============================================================================
Chris@16 2 Boost.Wave: A Standard compliant C++ preprocessor library
Chris@16 3 Persistent application configuration
Chris@16 4
Chris@16 5 http://www.boost.org/
Chris@16 6
Chris@16 7 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Chris@16 8 Software License, Version 1.0. (See accompanying file
Chris@16 9 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 10 =============================================================================*/
Chris@16 11
Chris@16 12 #if !defined(BOOST_WAVE_CONFIG_CONSTANT_HPP)
Chris@16 13 #define BOOST_WAVE_CONFIG_CONSTANT_HPP
Chris@16 14
Chris@16 15 #include <boost/preprocessor/stringize.hpp>
Chris@16 16 #include <boost/wave/wave_config.hpp>
Chris@16 17
Chris@16 18 ///////////////////////////////////////////////////////////////////////////////
Chris@16 19 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
Chris@16 20 #define BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS_CONFIG 0x00000001
Chris@16 21 #else
Chris@16 22 #define BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS_CONFIG 0x00000000
Chris@16 23 #endif
Chris@16 24
Chris@16 25 ///////////////////////////////////////////////////////////////////////////////
Chris@16 26 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0
Chris@16 27 #define BOOST_WAVE_SUPPORT_PRAGMA_ONCE_CONFIG 0x00000002
Chris@16 28 #else
Chris@16 29 #define BOOST_WAVE_SUPPORT_PRAGMA_ONCE_CONFIG 0x00000000
Chris@16 30 #endif
Chris@16 31
Chris@16 32 ///////////////////////////////////////////////////////////////////////////////
Chris@16 33 #if BOOST_WAVE_SUPPORT_MS_EXTENSIONS != 0
Chris@16 34 #define BOOST_WAVE_SUPPORT_MS_EXTENSIONS_CONFIG 0x00000004
Chris@16 35 #else
Chris@16 36 #define BOOST_WAVE_SUPPORT_MS_EXTENSIONS_CONFIG 0x00000000
Chris@16 37 #endif
Chris@16 38
Chris@16 39 ///////////////////////////////////////////////////////////////////////////////
Chris@16 40 #if BOOST_WAVE_PREPROCESS_PRAGMA_BODY != 0
Chris@16 41 #define BOOST_WAVE_PREPROCESS_PRAGMA_BODY_CONFIG 0x00000008
Chris@16 42 #else
Chris@16 43 #define BOOST_WAVE_PREPROCESS_PRAGMA_BODY_CONFIG 0x00000000
Chris@16 44 #endif
Chris@16 45
Chris@16 46 ///////////////////////////////////////////////////////////////////////////////
Chris@16 47 #if BOOST_WAVE_USE_STRICT_LEXER != 0
Chris@16 48 #define BOOST_WAVE_USE_STRICT_LEXER_CONFIG 0x00000010
Chris@16 49 #else
Chris@16 50 #define BOOST_WAVE_USE_STRICT_LEXER_CONFIG 0x00000000
Chris@16 51 #endif
Chris@16 52
Chris@16 53 ///////////////////////////////////////////////////////////////////////////////
Chris@16 54 #if BOOST_WAVE_SUPPORT_IMPORT_KEYWORD != 0
Chris@16 55 #define BOOST_WAVE_SUPPORT_IMPORT_KEYWORD_CONFIG 0x00000020
Chris@16 56 #else
Chris@16 57 #define BOOST_WAVE_SUPPORT_IMPORT_KEYWORD_CONFIG 0x00000000
Chris@16 58 #endif
Chris@16 59
Chris@16 60 ///////////////////////////////////////////////////////////////////////////////
Chris@16 61 #define BOOST_WAVE_CONFIG ( \
Chris@16 62 BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS_CONFIG | \
Chris@16 63 BOOST_WAVE_SUPPORT_PRAGMA_ONCE_CONFIG | \
Chris@16 64 BOOST_WAVE_SUPPORT_MS_EXTENSIONS_CONFIG | \
Chris@16 65 BOOST_WAVE_PREPROCESS_PRAGMA_BODY_CONFIG | \
Chris@16 66 BOOST_WAVE_USE_STRICT_LEXER_CONFIG | \
Chris@16 67 BOOST_WAVE_SUPPORT_IMPORT_KEYWORD_CONFIG \
Chris@16 68 ) \
Chris@16 69 /**/
Chris@16 70
Chris@16 71 ///////////////////////////////////////////////////////////////////////////////
Chris@16 72 namespace boost { namespace wave {
Chris@16 73
Chris@16 74 ///////////////////////////////////////////////////////////////////////////
Chris@16 75 // Call this function to test the configuration of the calling application
Chris@16 76 // against the configuration of the linked library.
Chris@16 77 BOOST_WAVE_DECL bool test_configuration(unsigned int config,
Chris@16 78 char const* pragma_keyword, char const* string_type);
Chris@16 79
Chris@16 80 ///////////////////////////////////////////////////////////////////////////////
Chris@16 81 }} // namespace boost::wave
Chris@16 82
Chris@16 83 #define BOOST_WAVE_TEST_CONFIGURATION() \
Chris@16 84 boost::wave::test_configuration( \
Chris@16 85 BOOST_WAVE_CONFIG, \
Chris@16 86 BOOST_WAVE_PRAGMA_KEYWORD, \
Chris@16 87 BOOST_PP_STRINGIZE((BOOST_WAVE_STRINGTYPE)) \
Chris@16 88 ) \
Chris@16 89 /**/
Chris@16 90
Chris@16 91 #endif // !BOOST_WAVE_CONFIG_CONSTANT_HPP