Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13.0 RC 3, Some future release
-
Fedora Rawhide
Linux 5.2.0-0.rc7
gcc 9.1.1 20190605 (Red Hat 9.1.1-2)
-
-
43d746c2c0c87c8694e835f3b052317c8fa02482 (qt/qtserialbus/5.12)
Description
qtserialbus.git/tree/src/plugins/canbus/socketcan/socketcanbackend.* missing .
Because of that :
socketcanbackend.cpp: In member function ‘void SocketCanBackend::readSocket()’:
socketcanbackend.cpp:697:41: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCSARP’?
697 | if (Q_UNLIKELY(ioctl(canSocket, SIOCGSTAMP, &timeStamp) < 0)) {
^~~~~~~~~~ |
<thiago> no, not a known bug
<thiago> report or fix it
<thiago> it's a one-liner
<thiago> linux/sockios.h
adding
#include <linux/sockios.h>
solved problem
Attachments
Issue Links
- relates to
-
QTBUG-76963 Forgotten include causes qt not compile (master branch) error: 'SIOCGSTAMP' was not declared in this scope (another one)
- Closed