Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.7.0
-
None
-
Linux n97 6.8.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 x86_64 GNU/Linux
Description
with gcc-14.1.0 there came a slew of new warnings and even errors:
{{In file included from /usr/include/qt6/QtCore/qfuture.h:9,
from /usr/include/qt6/QtCore/QtCore:109,
from /usr/include/qt6/QtQml/QtQmlDepends:3,
from /usr/include/qt6/QtQml/QtQml:3,
from example.cpp:1:
/usr/include/qt6/QtCore/qfutureinterface.h:472:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
472 | explicit QFutureInterface<void>(State initialState = NoState)
^~~~~ /usr/include/qt6/QtCore/qfutureinterface.h:472:37: note: remove the '< >'}} |
Attachments
Issue Links
- duplicates
-
QTBUG-123153 qfutureinterface.h:472:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
- Closed