Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.9.0
-
None
-
-
97f3d41fa (dev)
Description
QTypeInfo contains an enum isComplex (in qtypeinfo.h line 56) which uses std::is_trivial_v which will be deprecated in C++26. The fix is not obvious, depending on your willingness to change the behavior of isComplex.
Further reading:
https://en.cppreference.com/w/cpp/types/is_trivial
https://stackoverflow.com/questions/79222674/why-is-stdis-trivial-deprecated-in-c26
Clang 20 warns about this in C+26 mode. It is advised to use C+26 mode, see for example https://www.sandordargo.com/blog/2025/02/05/cpp26-erroneous-behaviour