libclaw FTBFS with GCC 4.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libclaw (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
-- Detecting CXX compiler ABI info - done
-- Found JPEG: /usr/lib/libjpeg.so
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Found Doxygen: /usr/bin/doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /build/
touch configure-stamp
dh_testdir
cd /build/
make[1]: Entering directory `/build/
make[2]: Entering directory `/build/
make[3]: Entering directory `/build/
Scanning dependencies of target claw_logger
make[3]: Leaving directory `/build/
make[3]: Entering directory `/build/
[ 1%] Building CXX object CMakeFiles/
In file included from /build/
/build/
In file included from /usr/include/
/usr/include/
make[3]: *** [CMakeFiles/
make[2]: *** [CMakeFiles/
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
The default constructor has the same name as Class' type so returning :basic_ socket: :basic_ socket* claw::net: :basic_ socket: :close( )
claw::net:
actually means "return the constructor" and not "return the type".
New version of gcc seems to complain about it.
The attached patch is similar to the patch created for libffado and few other for other libraries.