lambda_config.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Boost Lambda Library - lambda_config.hpp ------------------------------
  2. // Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // For more information, see www.boost.org
  9. // ---------------------------------------------------------------
  10. #ifndef BOOST_LAMBDA_LAMBDA_CONFIG_HPP
  11. #define BOOST_LAMBDA_LAMBDA_CONFIG_HPP
  12. // add to boost/config.hpp
  13. // for now
  14. # if defined __GNUC__
  15. # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
  16. # define BOOST_REF_TO_FUNC_CONFLICTS_WITH_REF_TO_T
  17. # define BOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
  18. # endif
  19. # if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97)
  20. # define BOOST_NO_TEMPLATED_STREAMS
  21. # define BOOST_LAMBDA_INCORRECT_BIND_OVERLOADING
  22. # endif
  23. # if (__GNUC__ == 2 && __GNUC_MINOR__ <= 95)
  24. # define BOOST_LAMBDA_FAILS_IN_TEMPLATE_KEYWORD_AFTER_SCOPE_OPER
  25. # endif
  26. # endif // __GNUC__
  27. #if defined __KCC
  28. #define BOOST_NO_FDECL_TEMPLATES_AS_TEMPLATE_TEMPLATE_PARAMS
  29. #endif // __KCC
  30. #endif