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.
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.