blob: 9fd1a7b761787f652d8c3764bb0e8484ec34b080 [file] [log] [blame]
Jeff Thompsonef2d5a42013-08-22 19:09:24 -07001// Boost Lambda Library - lambda_config.hpp ------------------------------
2
3// Copyright (C) 1999, 2000 Jaakko Jarvi (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