From 2287250a0717f91d5c78b3593a8c68714c448c67 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 29 Jun 2012 14:18:12 +0200 Subject: [PATCH] Define COMPILER_EXPLICIT_OVERRIDES when using gcc >= 4.7. --- src/core/Global.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/Global.h b/src/core/Global.h index 75701ec2d..7c0f1e283 100644 --- a/src/core/Global.h +++ b/src/core/Global.h @@ -50,6 +50,9 @@ # define COMPILER_CONSTEXPR # define COMPILER_NULLPTR # endif +# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 +# define COMPILER_EXPLICIT_OVERRIDES +# endif # endif #endif