diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-09-27 20:47:22 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-09-28 17:02:30 +0000 |
commit | cd50937af111a55ecda6f374a99f5f2cf311dd0f (patch) | |
tree | 5343d9080f246558f8c1877f5a3e288b8026da8e /kde-modules/kde-git-commit-hooks | |
parent | 1dad57d47614546240061fd942d1ff8e6e54eb64 (diff) | |
download | extra-cmake-modules-cd50937af111a55ecda6f374a99f5f2cf311dd0f.tar.gz extra-cmake-modules-cd50937af111a55ecda6f374a99f5f2cf311dd0f.tar.bz2 |
Add -Werror=init-self to the default CMAKE_CXX_FLAGS
Should help catch errors like initializing a q-ptr with itself[1].
[1] https://invent.kde.org/frameworks/knewstuff/-/commit/d09ba1917cb7e035a9aac6c27c86fc4df5da3194
Diffstat (limited to 'kde-modules/kde-git-commit-hooks')
0 files changed, 0 insertions, 0 deletions