Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/wave/cpp_config.hpp @ 49

Last change on this file since 49 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

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