Comment 1 for bug 663560

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

The default constructor has the same name as Class' type so returning
claw::net::basic_socket::basic_socket* claw::net::basic_socket::close()
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.