[Development] <version> (was: Re: C++20 @ Qt)

Marc Mutz marc.mutz at qt.io
Sun Nov 6 19:58:35 CET 2022


Hi all,

[https://bugreports.qt.io/browse/QTBUG-108228 for details]

After looking at libc++, libstdc++ and MS STL's <version>, it seemed 
like it wouldn't #error out if #included in a C++17 project. So I've 
kicked off a precheck on Gerrit, and so far, it looks like Integrity is 
the only tool-chain that doesn't have a <version> header, yet:

   https://codereview.qt-project.org/c/qt/qtbase/+/441821

On other tool-chains, it appears to be usable in C++17 builds, too. 

I'll ask our Integrity experts to find out whether there are any plans 
by GHS to add this header before their next major release, or as a 
patch that Qt users could apply to their installation.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at qt.io>
Principal Software Engineer

The Qt Company
Erich-Thilo-Str. 10 12489
Berlin, Germany
www.qt.io

Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht Charlottenburg,
HRB 144331 B



More information about the Development mailing list