list_includes_config.hpp 2.7 KB

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