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