Review Request 115433: Fix compilation where struct addrinfo is already defined
Valentin Rusu
kde at rusu.info
Sun Feb 2 16:03:11 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115433/
-----------------------------------------------------------
(Updated Feb. 2, 2014, 4:03 p.m.)
Status
------
This change has been discarded.
Review request for KDE Frameworks.
Repository: kde4support
Description
-------
kde4support framework stopped building on my system (ArchLinux), after updating I suppose.
Here is the error I had when building:
In file included from /home/kde5/src/frameworks/kde4support/src/kdecore/k3reverseresolver.cpp:48:0:
/home/kde5/src/frameworks/kde4support/src/kdecore/netsupp.h:168:8: error: redefinition of ‘struct addrinfo’
struct addrinfo {
^
In file included from /home/kde5/src/frameworks/kde4support/src/kdecore/k3reverseresolver.cpp:32:0:
/usr/include/netdb.h:567:8: error: previous definition of ‘struct addrinfo’
struct addrinfo
^
src/CMakeFiles/KF5KDE4Support.dir/build.make:606: recipe for target 'src/CMakeFiles/KF5KDE4Support.dir/kdecore/k3reverseresolver.cpp.o' failed
make[2]: *** [src/CMakeFiles/KF5KDE4Support.dir/kdecore/k3reverseresolver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Diffs
-----
src/kdecore/netsupp.h ef3c3e8263683e8e707e8ee5b0204dad1fb37ecc
Diff: https://git.reviewboard.kde.org/r/115433/diff/
Testing
-------
kde4support now builds.
Thanks,
Valentin Rusu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140202/755556b1/attachment.html>
More information about the Kde-frameworks-devel
mailing list