From 69faf93ba32043a062c3d301170ec4ce37cb24b5 Mon Sep 17 00:00:00 2001 From: badair Date: Fri, 15 Apr 2016 22:21:47 -0500 Subject: [PATCH] disabling callable_traits::bind for GCC < 4.9.2 --- include/callable_traits/config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/callable_traits/config.hpp b/include/callable_traits/config.hpp index 0a54601..06dc9f2 100644 --- a/include/callable_traits/config.hpp +++ b/include/callable_traits/config.hpp @@ -58,6 +58,9 @@ Distributed under the Boost Software License, Version 1.0. #if defined __GNUC__ && __GNUC__ < 5 #define CALLABLE_TRAITS_DISABLE_CONSTEXPR_CHECKS + +#if __GNUC_MINOR__ < 9 || (__GNUC_MINOR__ == 9 && __GNUC_PATCHLEVEL__ < 2) +#define CALLABLE_TRAITS_DISABLE_BIND #endif