mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-21 18:24:29 +08:00
Promises/A+ implementation for Qt/C++
1a905cbd4f
In optimized builds (such as -O2) GCC emits "maybe-uninitialized" warning for QSharedPointer<T>::d. This happens only for optimized builds because that is when GCC tracks lifetimes[1]. In a project with lots of QtPromise uses this produces a heap of bogus warnings. This warning has been previously reported to a Qt team, but they're confident it is a compiler bug[2][3]. However, this is a second time and issue raised with QSharedPointer and warnings to it. The first time it was addressed here: https://github.com/simonbrunel/qtpromise/pull/34. [1] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized [2] https://bugreports.qt.io/browse/QTBUG-14637 [3] https://bugreports.qt.io/browse/QTBUG-77641 |
||
---|---|---|
.github/workflows | ||
cmake | ||
docs | ||
include | ||
src/qtpromise | ||
tests | ||
.appveyor.yml | ||
.clang-format | ||
.gitignore | ||
.remarkrc.yml | ||
CMakeLists.txt | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
qpm.json | ||
qtpromise.pri | ||
README.md |
Overview
Promises/A+ implementation for Qt/C++.
Requires Qt 5.6 (or later) with C++11 support enabled or Qt 6.
Documentation
License
QtPromise is available under the MIT license.