Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.7.1
-
None
-
Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by
GCC 14.1.1 20240522) on "xcb"
OS: Manjaro Linux [linux version 6.6.34-1-MANJARO]
Description
I got a report from a user of our software that he meets this warning when compiling our application:
In file included from /usr/include/qt/QtCore/qfuture.h:45,
from /usr/include/qt/QtCore/QtCore:97,
from /usr/include/qt/QtWidgets/QtWidgetsDepends:3,
from /usr/include/qt/QtWidgets/QtWidgets:3,
from interface/fetmainform.h:29,
from interface/fet.cpp:68:
/usr/include/qt/QtCore/qfutureinterface.h:284:37: warning: template-id
not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
284 | explicit QFutureInterface<void>(State initialState = NoState)
| ^~~~~
/usr/include/qt/QtCore/qfutureinterface.h:284: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