From 391cfa03d623ba858647dc96c0b4310f77c34101 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 22 Aug 2013 09:14:14 +0100 Subject: [PATCH] Fix build with gcc4.6, missing "final" keyword --- source/includes/CarlaDefines.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/includes/CarlaDefines.hpp b/source/includes/CarlaDefines.hpp index 8818d7fd9..bb085334f 100644 --- a/source/includes/CarlaDefines.hpp +++ b/source/includes/CarlaDefines.hpp @@ -47,12 +47,14 @@ # define CARLA_PROPER_CPP11_SUPPORT # if (__GNUC__ * 100 + __GNUC_MINOR__) < 407 # define override // gcc4.7+ only +# define final // gcc4.7+ only # endif # endif #endif #ifndef CARLA_PROPER_CPP11_SUPPORT # define override +# define final # define noexcept # define nullptr (0) #endif