From 6cc9b2c831de95a4798d474e7d007e074d27ff1d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 8 Oct 2018 18:25:37 +0200 Subject: fix warning in mpreal.h --- unsupported/test/mpreal/mpreal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/mpreal') diff --git a/unsupported/test/mpreal/mpreal.h b/unsupported/test/mpreal/mpreal.h index d68d7a78f..962bedef4 100644 --- a/unsupported/test/mpreal/mpreal.h +++ b/unsupported/test/mpreal/mpreal.h @@ -105,7 +105,7 @@ // Detect support for explicit converters. #if (__has_feature(cxx_explicit_conversions) || \ - (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GNUC_MINOR >= 5) || __cplusplus >= 201103L || \ + (defined(__GXX_EXPERIMENTAL_CXX0X__) && 10+__GNUC_MINOR__ >= 5) || __cplusplus >= 201103L || \ (defined(_MSC_VER) && _MSC_VER >= 1800) || \ (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1300)) -- cgit v1.2.3