From 14c436cf850726b545e14cad51fb3ecbd76be772 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 22 Nov 2017 22:53:00 +0100 Subject: [PATCH] Continue previous commit --- source/bridges-ui/CarlaBridgeToolkitQt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/bridges-ui/CarlaBridgeToolkitQt.cpp b/source/bridges-ui/CarlaBridgeToolkitQt.cpp index 68e2f17a0..c5756fb3b 100644 --- a/source/bridges-ui/CarlaBridgeToolkitQt.cpp +++ b/source/bridges-ui/CarlaBridgeToolkitQt.cpp @@ -47,12 +47,12 @@ static char* qargv[0] = {}; class CarlaBridgeToolkitQt: public QObject, public CarlaBridgeToolkit { -#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && defined(__clang__) +#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && defined(__clang_major__) && __clang_major__ >= 4 # pragma clang diagnostic push # pragma clang diagnostic ignored "-Winconsistent-missing-override" #endif Q_OBJECT -#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && defined(__clang__) +#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && defined(__clang_major__) && __clang_major__ >= 4 # pragma clang diagnostic pop #endif