Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 1 | // 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 Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 13 | #ifndef NDNBOOST_LAMBDA_LAMBDA_CONFIG_HPP |
| 14 | #define NDNBOOST_LAMBDA_LAMBDA_CONFIG_HPP |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 15 | |
Jeff Thompson | 9939dcd | 2013-10-15 15:12:24 -0700 | [diff] [blame] | 16 | // add to ndnboost/config.hpp |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 17 | // for now |
| 18 | |
| 19 | |
| 20 | # if defined __GNUC__ |
| 21 | # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 22 | # define NDNBOOST_REF_TO_FUNC_CONFLICTS_WITH_REF_TO_T |
| 23 | # define NDNBOOST_LAMBDA_INCORRECT_BIND_OVERLOADING |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 24 | # endif |
| 25 | # if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97) |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 26 | # define NDNBOOST_NO_TEMPLATED_STREAMS |
| 27 | # define NDNBOOST_LAMBDA_INCORRECT_BIND_OVERLOADING |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 28 | # endif |
| 29 | # if (__GNUC__ == 2 && __GNUC_MINOR__ <= 95) |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 30 | # define NDNBOOST_LAMBDA_FAILS_IN_TEMPLATE_KEYWORD_AFTER_SCOPE_OPER |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 31 | # endif |
| 32 | # endif // __GNUC__ |
| 33 | |
| 34 | |
| 35 | #if defined __KCC |
| 36 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 37 | #define NDNBOOST_NO_FDECL_TEMPLATES_AS_TEMPLATE_TEMPLATE_PARAMS |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 38 | |
| 39 | #endif // __KCC |
| 40 | |
| 41 | #endif |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |