mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-02-23 19:34:45 +08:00
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
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.
Description
Languages
C++
97.8%
CMake
2.2%