From ae3be044f8f4e01210c49178978f42cebbe5364a Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Mon, 14 Mar 2011 10:57:07 +1100 Subject: [PATCH] Disable std::error_code support on g++ 4.5, as that compiler doesn't handle std::system_error::what() correctly. --- asio/include/asio/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asio/include/asio/detail/config.hpp b/asio/include/asio/detail/config.hpp index 7d3c83af..0e3aa19e 100644 --- a/asio/include/asio/detail/config.hpp +++ b/asio/include/asio/detail/config.hpp @@ -72,7 +72,7 @@ // Standard library support for system errors. #if !defined(ASIO_DISABLE_STD_SYSTEM_ERROR) # if defined(__GNUC__) -# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4) +# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4) # if defined(__GXX_EXPERIMENTAL_CXX0X__) # define ASIO_HAS_STD_SYSTEM_ERROR # endif // defined(__GXX_EXPERIMENTAL_CXX0X__)