<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/kde-modules/KDEFrameworkCompilerSettings.cmake, branch v5.71.0-rc2</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>KDEFrameworkCompilerSettings: enable all Qt % KF deprecation warnings</title>
<updated>2019-11-03T20:47:37+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2019-10-27T19:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=879769daf04714bf4f34098e3b1fcce0f6c1b6e8'/>
<id>879769daf04714bf4f34098e3b1fcce0f6c1b6e8</id>
<content type='text'>
Reviewers: #frameworks, #build_system, apol, dfaure

Reviewed By: apol, dfaure

Subscribers: dfaure, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D24990
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: #frameworks, #build_system, apol, dfaure

Reviewed By: apol, dfaure

Subscribers: dfaure, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D24990
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't enable QT_STRICT_ITERATORS on Windows.</title>
<updated>2019-05-22T07:49:48+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-05-21T07:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=79665b067c9dd6344b84dd1b72afae401608fd87'/>
<id>79665b067c9dd6344b84dd1b72afae401608fd87</id>
<content type='text'>
Summary:
Strict iterators can't be used on Windows, they lead to a link error
when application code iterates over a QVector&lt;QPoint&gt; for instance, unless
Qt itself was also built with strict iterators.
See example at https://bugreports.qt.io/browse/AUTOSUITE-946

Technically this would be fine for mingw, but not for MSVC neither
clang-cl (which also uses the MSVC ABI). I think it's fine to just
disable it for all Windows compilers, since any iterators misuse
will be detected on Unix anyway.

Test Plan: None, I'm relying on Volker's findings.

Reviewers: vkrause, dvratil

Reviewed By: dvratil

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21314
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Strict iterators can't be used on Windows, they lead to a link error
when application code iterates over a QVector&lt;QPoint&gt; for instance, unless
Qt itself was also built with strict iterators.
See example at https://bugreports.qt.io/browse/AUTOSUITE-946

Technically this would be fine for mingw, but not for MSVC neither
clang-cl (which also uses the MSVC ABI). I think it's fine to just
disable it for all Windows compilers, since any iterators misuse
will be detected on Unix anyway.

Test Plan: None, I'm relying on Volker's findings.

Reviewers: vkrause, dvratil

Reviewed By: dvratil

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21314
</pre>
</div>
</content>
</entry>
<entry>
<title>Unconditionally enable -DQT_STRICT_ITERATORS, not just in debug mode</title>
<updated>2019-04-07T17:00:28+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-04-07T13:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=9b0df10c7d1ee449237a6187049408743308a302'/>
<id>9b0df10c7d1ee449237a6187049408743308a302</id>
<content type='text'>
Summary:
It turns out QT_STRICT_ITERATORS does not introduce any
overhead (they are inlined so everything gets optimized), confirmed by
Dan comparing the produced assembly in Compiler Explorer.

Reviewers: dvratil, mlaurent, aacid

Reviewed By: aacid

Subscribers: aacid, kde-buildsystem, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D20349
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It turns out QT_STRICT_ITERATORS does not introduce any
overhead (they are inlined so everything gets optimized), confirmed by
Dan comparing the produced assembly in Compiler Explorer.

Reviewers: dvratil, mlaurent, aacid

Reviewed By: aacid

Subscribers: aacid, kde-buildsystem, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D20349
</pre>
</div>
</content>
</entry>
<entry>
<title>Move -Wsuggest-override -Wlogical-op to regular compiler settings</title>
<updated>2019-01-19T11:01:07+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2019-01-19T11:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=7d73c6744f6455c585a6e059cf2753fcf20a870a'/>
<id>7d73c6744f6455c585a6e059cf2753fcf20a870a</id>
<content type='text'>
Summary: They really help making the code better so it's good to have all applications getting those warnings

Subscribers: apol, vkrause, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D18167
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: They really help making the code better so it's good to have all applications getting those warnings

Subscribers: apol, vkrause, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D18167
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0"</title>
<updated>2018-12-20T23:31:37+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2018-12-20T23:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0858ca854957367679e4eab5be3c836a007ea9ba'/>
<id>0858ca854957367679e4eab5be3c836a007ea9ba</id>
<content type='text'>
This reverts commit e1adaa7ebab1b0de72c82d95bdf568e435713a4e.

Version number confusion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e1adaa7ebab1b0de72c82d95bdf568e435713a4e.

Version number confusion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0</title>
<updated>2018-12-20T22:08:56+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2018-12-20T19:02:40+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=e1adaa7ebab1b0de72c82d95bdf568e435713a4e'/>
<id>e1adaa7ebab1b0de72c82d95bdf568e435713a4e</id>
<content type='text'>
Summary:
The clang compiler in Android NDK r15b, which has version 5.0.300080,
warns as follows:

warning: unknown warning option '-Wzero-as-null-pointer-constant'; did you mean '-Wint-to-void-pointer-cast'? [-Wunknown-warning-option]

Test Plan: Removing the option removes the warning

Reviewers: aacid, cgiboudeaux, apol

Reviewed By: cgiboudeaux

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D17714
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The clang compiler in Android NDK r15b, which has version 5.0.300080,
warns as follows:

warning: unknown warning option '-Wzero-as-null-pointer-constant'; did you mean '-Wint-to-void-pointer-cast'? [-Wunknown-warning-option]

Test Plan: Removing the option removes the warning

Reviewers: aacid, cgiboudeaux, apol

Reviewed By: cgiboudeaux

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D17714
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `MATCHES "Clang"` to detect clang</title>
<updated>2018-11-12T10:21:07+00:00</updated>
<author>
<name>René J.V. Bertin</name>
<email>rjvbertin@gmail.com</email>
</author>
<published>2018-11-12T10:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d42cc5dd7c4e78db16d1f4f0c17f141ad97b4cf4'/>
<id>d42cc5dd7c4e78db16d1f4f0c17f141ad97b4cf4</id>
<content type='text'>
This is for compatibility with Apple's Xcode
compilers which identify as AppleClang.

Differential Revision: https://phabricator.kde.org/D16816
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for compatibility with Apple's Xcode
compilers which identify as AppleClang.

Differential Revision: https://phabricator.kde.org/D16816
</pre>
</div>
</content>
</entry>
<entry>
<title>Add QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default compile flags</title>
<updated>2018-09-22T17:07:34+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2018-09-17T05:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=9b528012703ae584e80a4954df153091a1443be9'/>
<id>9b528012703ae584e80a4954df153091a1443be9</id>
<content type='text'>
Summary: Use QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default flags

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D15566
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Use QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default flags

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D15566
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop outdated QT_USE_FAST_OPERATOR_PLUS</title>
<updated>2018-06-29T21:58:37+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2018-06-29T18:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=484d5f4ceea2b8d23c9a0d35f16077f7cabfbd27'/>
<id>484d5f4ceea2b8d23c9a0d35f16077f7cabfbd27</id>
<content type='text'>
Summary:
QT_USE_FAST_OPERATOR_PLUS has been deprecated in Qt 4.8, in favour of
QT_USE_QSTRINGBUILDER. The latter also covers QByteArray.

Qt5 headers still supports QT_USE_FAST_OPERATOR_PLUS (at least 5.11.1),
as subset of QT_USE_QSTRINGBUILDER as it was introduced in Qt4.8,
but not as documented build flag.

Given QT_USE_QSTRINGBUILDER is set here and thus triggers anything that
QT_USE_FAST_OPERATOR_PLUS would trigger in Qt code, removing it should
clean up the macro from undocumented features and thus reduce confusion.

No non-Qt is known at least in KDE repos which checks this build flag
otherwise, so no regression should be expected here as well.

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13800
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
QT_USE_FAST_OPERATOR_PLUS has been deprecated in Qt 4.8, in favour of
QT_USE_QSTRINGBUILDER. The latter also covers QByteArray.

Qt5 headers still supports QT_USE_FAST_OPERATOR_PLUS (at least 5.11.1),
as subset of QT_USE_QSTRINGBUILDER as it was introduced in Qt4.8,
but not as documented build flag.

Given QT_USE_QSTRINGBUILDER is set here and thus triggers anything that
QT_USE_FAST_OPERATOR_PLUS would trigger in Qt code, removing it should
clean up the macro from undocumented features and thus reduce confusion.

No non-Qt is known at least in KDE repos which checks this build flag
otherwise, so no regression should be expected here as well.

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13800
</pre>
</div>
</content>
</entry>
<entry>
<title>Add -Wlogical-op -Wzero-as-null-pointer-constant to KF5 warnings</title>
<updated>2018-06-29T10:03:25+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2018-06-29T10:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=60cb4b74bce8bc0f65ea3dc2cd7966602dd50694'/>
<id>60cb4b74bce8bc0f65ea3dc2cd7966602dd50694</id>
<content type='text'>
Reviewers: cgiboudeaux, apol

Reviewed By: cgiboudeaux, apol

Subscribers: apol, kde-frameworks-devel, kde-buildsystem, cgiboudeaux, dhaumann

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D10166
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: cgiboudeaux, apol

Reviewed By: cgiboudeaux, apol

Subscribers: apol, kde-frameworks-devel, kde-buildsystem, cgiboudeaux, dhaumann

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D10166
</pre>
</div>
</content>
</entry>
</feed>
