1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 4 Sample: IDL oriented preprocessor 5 Global application configuration of the Wave driver command 6 7 http://www.boost.org/ 8 9 Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost 10 Software License, Version 1.0. (See accompanying file 11 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 12 =============================================================================*/ 13 14 #if !defined(BOOST_IDL_CONFIG_HPP_012D7524_FF3F_482F_9123_91966C72F4EA_INCLUDED) 15 #define BOOST_IDL_CONFIG_HPP_012D7524_FF3F_482F_9123_91966C72F4EA_INCLUDED 16 17 /////////////////////////////////////////////////////////////////////////////// 18 // Uncomment the following, if you need debug output, the 19 // BOOST_SPIRIT_DEBUG_FLAGS constants below help to fine control the amount of 20 // the generated debug output 21 //#define BOOST_SPIRIT_DEBUG 22 23 /////////////////////////////////////////////////////////////////////////////// 24 // debug rules, subrules and grammars only, for possible flags see 25 // spirit/debug.hpp 26 #if defined(BOOST_SPIRIT_DEBUG) 27 28 #define BOOST_SPIRIT_DEBUG_FLAGS ( \ 29 BOOST_SPIRIT_DEBUG_FLAGS_NODES | \ 30 BOOST_SPIRIT_DEBUG_FLAGS_CLOSURES \ 31 ) \ 32 /**/ 33 34 /////////////////////////////////////////////////////////////////////////////// 35 // debug flags for the pp-iterator library, possible flags (defined in 36 // wave_config.hpp): 37 // 38 // #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_GRAMMAR 0x0001 39 // #define BOOST_SPIRIT_DEBUG_FLAGS_TIME_CONVERSION 0x0002 40 // #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_EXPR_GRAMMAR 0x0004 41 // #define BOOST_SPIRIT_DEBUG_FLAGS_INTLIT_GRAMMAR 0x0008 42 // #define BOOST_SPIRIT_DEBUG_FLAGS_CHLIT_GRAMMAR 0x0010 43 // #define BOOST_SPIRIT_DEBUG_FLAGS_DEFINED_GRAMMAR 0x0020 44 // #define BOOST_SPIRIT_DEBUG_FLAGS_PREDEF_MACROS_GRAMMAR 0x0040 45 46 #define BOOST_SPIRIT_DEBUG_FLAGS_CPP (\ 47 /* insert the required flags from above */ \ 48 ) \ 49 /**/ 50 #endif 51 52 /////////////////////////////////////////////////////////////////////////////// 53 // Now include the cofiguration stuff for the Wave library itself 54 #include <boost/wave/wave_config.hpp> 55 56 /////////////////////////////////////////////////////////////////////////////// 57 // MSVC specific #pragma's 58 #if defined(BOOST_MSVC) 59 #pragma warning (disable: 4355) // 'this' used in base member initializer list 60 #pragma warning (disable: 4800) // forcing value to bool 'true' or 'false' 61 #pragma inline_depth(255) 62 #pragma inline_recursion(on) 63 #endif // defined(BOOST_MSVC) 64 65 #endif // !defined(BOOST_IDL_CONFIG_HPP_012D7524_FF3F_482F_9123_91966C72F4EA_INCLUDED) 66