diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-06-24 09:10:34 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-06-25 07:36:47 +0000 |
commit | 64e842759b73d2d51cd58cb935dab66171ac4d39 (patch) | |
tree | 5255fbb2c1610cf3dcbbcb95cecdb6cca1531977 /tests | |
parent | b52789bce0a32eb40396857fa975aef9f2c17f20 (diff) |
Unittest: Silence most of the warnings on Windows
There are lots of warnings coming from including
or linking against LLVM which cannot be influenced
directly. Silence most of the warnings to be able
to work with the mess.
Change-Id: I2c4adec14945ada878bb1e6fda2f06e6d56007e2
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/unittest/gtest-creator-printing.h | 2 | ||||
-rw-r--r-- | tests/unit/unittest/unittest.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unittest/gtest-creator-printing.h b/tests/unit/unittest/gtest-creator-printing.h index 897a9f2a28..b874fc90e4 100644 --- a/tests/unit/unittest/gtest-creator-printing.h +++ b/tests/unit/unittest/gtest-creator-printing.h @@ -49,7 +49,7 @@ std::ostream &operator<<(std::ostream &out, const CompileCommand &command); } // namespace clang namespace Core { -class LocatorFilterEntry; +struct LocatorFilterEntry; std::ostream &operator<<(std::ostream &out, const LocatorFilterEntry &entry); diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro index 8e0a4d6577..63980ab055 100644 --- a/tests/unit/unittest/unittest.pro +++ b/tests/unit/unittest/unittest.pro @@ -36,7 +36,7 @@ CONFIG(release, debug|release):QMAKE_LFLAGS += -Wl,--strip-debug } gcc:!clang: QMAKE_CXXFLAGS += -Wno-noexcept-type -msvc: QMAKE_CXXFLAGS += /bigobj +msvc: QMAKE_CXXFLAGS += /bigobj /wd4267 /wd4141 /wd4146 # create fake CppTools.json for the mime type definitions dependencyList = "\"Dependencies\" : []" |