qtsixa does not compile with g++-4.7 and newer unless includes to unistd.h are added to various files. Patch included.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QtSixA |
New
|
Undecided
|
Unassigned |
Bug Description
This is the result of trying to compile qtsixa 1.5.1 (the latest obtainable from SourceForge) on a g++-4.7 system:
[...]
g++ -O2 -Wall -Wl,-Bsymbolic-
sixad-bin.cpp: In function ‘int main(int, char**)’:
sixad-bin.
^
sixad-bin.
[...]
And a number of repeat errors of the sort with read, execve, usleep, etc.
From a quick google I was able to find that these require unistd.h to be included, which was not included in any of the files that needed it, which were entirely contained in the "sixad" directory of the source.
I added it to all the files that need it, and have included a patch.
As per the guidelines:
Distro: Debian GNU/Linux jessie (testing)
QT version: 4.8.5+git209-
PyQT version: 4.10.3+dfsg1-1
QtSixA log:
Qt version: 4.8.6
PyQt version: 4.10.3
QtSixA version: 1.5.1
Will use 'sudo' for root actions
summary: |
- qtsixad does not compile with g++-4.7 and newer unless includes to + qtsixa does not compile with g++-4.7 and newer unless includes to unistd.h are added to various files. Patch included. |
description: | updated |
Found an older bug that's the same issue. Summary was a bit nonspecific, so I missed it, sorry.