Commit Graph

15 Commits

Author SHA1 Message Date
Mat Sutcliffe
036d608a74 Update to new clazy warnings. 2019-02-22 20:23:29 +00:00
Mat Sutcliffe
4c3aba20dd With clang-cl use /W4 instead of -Wall -Wextra.
This is due to a change in the behaviour of clang-cl in LLVM 6.0
where `-Wall` became a synonym for `-Weverything` to be more like
the behaviour of `/Wall` in the Microsoft compiler. `/W4` is the
new way to spell `-Wall -Wextra`.
2019-02-22 20:23:27 +00:00
Mat Sutcliffe
4c0bbbae25 Fixed warnings reported by Clang on Windows. 2019-02-22 20:23:27 +00:00
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Mathew Sutcliffe
ce1730b453 refs #937 Support for clazy. 2017-04-19 19:31:36 +01:00
Mathew Sutcliffe
e7f61dabea refs #213 Added precompiled header for MSVC in blackmisc, blackcore, blackgui. 2017-02-25 02:11:11 +00:00
Mathew Sutcliffe
01ccb4d023 Inhibit -Wsuggest-override in GCC 5, causes lots of warnings in Qt headers. 2017-02-24 15:22:46 +00:00
Mathew Sutcliffe
683c5f38a9 Fixed GCC warning flags. 2017-02-24 15:22:44 +00:00
Mathew Sutcliffe
3552d47ab5 Inhibit Clang warning in Qt 5.8.0 on Windows. 2017-02-24 00:18:22 +00:00
Mathew Sutcliffe
10ca2026a9 refs #802 Enable build with Clang on Windows. 2016-12-13 19:00:42 +01:00
Mathew Sutcliffe
f60f46bcda refs #800 Extend elevated warnings mode and make it configurable with BLACK_CONFIG. 2016-12-13 19:00:23 +01:00
Mathew Sutcliffe
ee8518ef93 We can restore this warning now that Microsoft have fixed their <functional> header. 2016-12-13 19:00:22 +01:00
Mathew Sutcliffe
a88f5e33e3 GCC 5 is able to warn about missing override keyword. 2016-02-06 19:45:42 +00:00
Mathew Sutcliffe
956d54ba32 Workaround for noisy warnings in <functional> header of MSVC2015 std lib. 2016-01-27 23:36:48 +00:00
Mathew Sutcliffe
dbb5a240da refs #482 Added new qmake feature files and includes. 2015-11-19 21:02:38 +00:00