From cb6c2eb8eb572de9bae68debbb1c2019d0b518b2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 6 Aug 2018 20:47:24 +0300 Subject: [PATCH] Fix warning option '-Wmissing-prototypes' is valid for C/ObjC but not for C++. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 1 - src/app/valentina/mainwindowsnogui.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 4bf6430d3..0bd924f32 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -100,7 +100,6 @@ #endif //defined(Q_OS_MAC) QT_WARNING_PUSH -QT_WARNING_DISABLE_GCC("-Wmissing-prototypes") QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes") QT_WARNING_DISABLE_INTEL(1418) diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 829b97914..4b97a45fb 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -67,7 +67,6 @@ #endif QT_WARNING_PUSH -QT_WARNING_DISABLE_GCC("-Wmissing-prototypes") QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes") QT_WARNING_DISABLE_INTEL(1418)