From ca7ae8f6229bd6d899656b3c880382457ad643ce Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Sat, 13 Jun 2020 02:54:12 +0100 Subject: [PATCH] Fix "unknown warning option" warning --- mkspecs/features/warnings.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/warnings.pri b/mkspecs/features/warnings.pri index f5ebe5d86..716831b22 100644 --- a/mkspecs/features/warnings.pri +++ b/mkspecs/features/warnings.pri @@ -34,7 +34,7 @@ else { # gcc 5 can warn about missing override keyword, # gcc 6 can do it without thousands of warnings in qt headers -gcc { +gcc: !clang { GCC_VERSION = $$system($$QMAKE_CXX -dumpversion) GCC_MAJOR = $$section(GCC_VERSION, ., 0, 0) greaterThan(GCC_MAJOR, 5) {