C:/qt/qtbase/src/3rdparty/D3D12MemoryAllocator/D3D12MemAlloc.cpp:144:32: error: unknown warning group '-Wnonnull-compare', ignored [-Werror,-Wunknown-warning-option] 144 | #pragma GCC diagnostic ignored "-Wnonnull-compare" | ^ C:/qt/qtbase/src/3rdparty/D3D12MemoryAllocator/D3D12MemAlloc.cpp:9902:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare] 9902 | if (this == NULL) | ^~~~ ~~~~ C:/qt/qtbase/src/3rdparty/D3D12MemoryAllocator/D3D12MemAlloc.cpp:10053:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare] 10053 | if (this == NULL) | ^~~~ ~~~~ C:/qt/qtbase/src/3rdparty/D3D12MemoryAllocator/D3D12MemAlloc.cpp:10118:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare] 10118 | if (this == NULL) | ^~~~ ~~~~ 4 errors generated. This amends 84fb0de413ec574aab778d863c56e0d9a7f7ef6e . See also * https://clang.llvm.org/docs/DiagnosticsReference.html * https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html Pick-to: 6.8 Change-Id: I2c8d27ade8a123bc4ff2fa5082e161c042335c6c Reviewed-by: Cristian Adam <cristian.adam@qt.io> (cherry picked from commit 34be5083bddffc38b3034ac8a04b5b6b698d5e4e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%