source: NonGTP/Boost/boost/lambda/detail/lambda_config.hpp @ 857

Revision 857, 1.2 KB checked in by igarcia, 18 years ago (diff)
Line 
1// Boost Lambda Library - lambda_config.hpp ------------------------------
2
3// Copyright (C) 1999, 2000 Jaakko Järvi (jaakko.jarvi@cs.utu.fi)
4//
5// Distributed under the Boost Software License, Version 1.0. (See
6// accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
9// For more information, see www.boost.org
10
11// ---------------------------------------------------------------
12
13#ifndef BOOST_LAMBDA_LAMBDA_CONFIG_HPP
14#define BOOST_LAMBDA_LAMBDA_CONFIG_HPP
15
16// add to boost/config.hpp
17// for now
18
19
20# if defined __GNUC__
21#   if (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
22#     define BOOST_REF_TO_FUNC_CONFLICTS_WITH_REF_TO_T
23#     define BOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
24#   endif
25#   if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97)
26#     define BOOST_NO_TEMPLATED_STREAMS
27#     define BOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
28#   endif
29#   if (__GNUC__ == 2 && __GNUC_MINOR__ <= 95)
30#     define BOOST_LAMBDA_FAILS_IN_TEMPLATE_KEYWORD_AFTER_SCOPE_OPER
31#   endif
32# endif  // __GNUC__
33 
34
35#if defined __KCC
36
37#define BOOST_NO_FDECL_TEMPLATES_AS_TEMPLATE_TEMPLATE_PARAMS
38
39#endif  // __KCC
40
41#endif
42
43
44
45
46
47
48
Note: See TracBrowser for help on using the repository browser.