[Bug c++/126606] [17 Regression] gcc-17 fails to build qt-6.11.1: qfutureinterface_p.h:150:25: error: call to 'QFutureInterfaceBasePrivate::RefCount::RefCount(int, int)' uses the default argument for parameter 2, which is not yet defined since r17-2718-ge3e1c72649c3

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Sun, 02 Aug 2026 21:44:17 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126606

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-08-02
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #1)
> Bisected down to r17-2718-ge3e1c72649c3 "c++: parse trivial DMI immediately
> [PR96645]"

Which is what I expected as I mentioned it is related to PR 126481 which was
also caused by that same revision.

Note clang, EDG and MSVC all accept the code.