blob: ce5dce2274908af426f0e7652fd7ce8bd0cabc5c [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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070013#ifndef NDNBOOST_LAMBDA_LAMBDA_CONFIG_HPP
14#define NDNBOOST_LAMBDA_LAMBDA_CONFIG_HPP
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070015
Jeff Thompson9939dcd2013-10-15 15:12:24 -070016// add to ndnboost/config.hpp
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070017// for now
18
19
20# if defined __GNUC__
21# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070022# define NDNBOOST_REF_TO_FUNC_CONFLICTS_WITH_REF_TO_T
23# define NDNBOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070024# endif
25# if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070026# define NDNBOOST_NO_TEMPLATED_STREAMS
27# define NDNBOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070028# endif
29# if (__GNUC__ == 2 && __GNUC_MINOR__ <= 95)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070030# define NDNBOOST_LAMBDA_FAILS_IN_TEMPLATE_KEYWORD_AFTER_SCOPE_OPER
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070031# endif
32# endif // __GNUC__
33
34
35#if defined __KCC
36
Jeff Thompson3d613fd2013-10-15 15:39:04 -070037#define NDNBOOST_NO_FDECL_TEMPLATES_AS_TEMPLATE_TEMPLATE_PARAMS
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070038
39#endif // __KCC
40
41#endif
42
43
44
45
46
47
48