diff --git a/qtcreator.pri b/qtcreator.pri index f053732cece279674235d2cb35107b27d9209031..03fd4bc16b93d9644151b6a5f4460130e7087817 100644 --- a/qtcreator.pri +++ b/qtcreator.pri @@ -157,6 +157,8 @@ osx { INSTALL_APP_PATH = $$QTC_PREFIX/bin } +gcc:!clang: QMAKE_CXXFLAGS += -Wno-noexcept-type + RELATIVE_PLUGIN_PATH = $$relative_path($$IDE_PLUGIN_PATH, $$IDE_BIN_PATH) RELATIVE_LIBEXEC_PATH = $$relative_path($$IDE_LIBEXEC_PATH, $$IDE_BIN_PATH) RELATIVE_DATA_PATH = $$relative_path($$IDE_DATA_PATH, $$IDE_BIN_PATH) diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro index 25ba21f42f89e059eca1d51b57f6068ee53f3077..cb559c8298532d9bee0d4f67187de4a543c49861 100644 --- a/tests/unit/unittest/unittest.pro +++ b/tests/unit/unittest/unittest.pro @@ -28,6 +28,8 @@ QMAKE_LFLAGS += -fno-merge-debug-strings -fuse-ld=gold CONFIG(release, debug|release):QMAKE_LFLAGS += -Wl,--strip-debug } +gcc:!clang: QMAKE_CXXFLAGS += -Wno-noexcept-type + # create fake CppTools.json for the mime type definitions dependencyList = "\"Dependencies\" : []" cpptoolsjson.input = $$PWD/../../../src/plugins/cpptools/CppTools.json.in