[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
"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]> Mon, 03 Aug 2026 21:56:22 +0000
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D126606 --- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:4569067c6f5206e97a319ec6bfa4e3446b3a41d1 commit r17-2912-g4569067c6f5206e97a319ec6bfa4e3446b3a41d1 Author: Jason Merrill <[email protected]> Date: Sat Aug 1 00:17:45 2026 -0400 c++: early DMI and constructor default arg [PR126606] This testcase demonstrates that the issue in 126481 was not the {} but the member of class type. PR c++/126606 PR c++/126481 gcc/cp/ChangeLog: * parser.cc (cp_parser_early_parsing_nsdmi): Check MAYBE_CLASS_TYPE_P instead of {}. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/nsdmi-defer9.C: New test.=