Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941383 - dev-qt/qtcore: C++20 patch required
Summary: dev-qt/qtcore: C++20 patch required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL: https://code.qt.io/cgit/qt/qtbase.git...
Whiteboard: fixed in 5.15.16
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 09:38 UTC by Matt Jolly
Modified: 2024-11-21 21:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2024-10-12 09:38:59 UTC
When attempting to build Proxmark3 I encountered the following build error.


```
In file included from /usr/include/qt5/QtCore/qfuture.h:45,
                 from /usr/include/qt5/QtCore/QtCore:97,
                 from /usr/include/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/qt5/QtGui/QtGui:3,
                 from src/proxguiqt.h:30,
                 from src/proxguiqt.cpp:19:
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  284 |     explicit QFutureInterface<void>(State initialState = NoState)
      |                                     ^~~~~
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: note: remove the ‘< >’
```

There is already an upstream patch for this issue:
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=af41847af512f2fb2329cc6b258f6de79ab1355b