Bug#356422: FTBFS with G++ 4.1: extra qualification
Package: socketapi
Version: 1.7.0-4
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of socketapi_1.7.0-4 on bigsur by sbuild/mips 1.86
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -Wall -O0 -g -DLINUX -O0 -g -Wall -DLINUX -MT libsctpsocket_la-sctpsocketwrapper.lo -MD -MP -MF .deps/libsctpsocket_la-sctpsocketwrapper.Tpo -c sctpsocketwrapper.cc -fPIC -DPIC -o .libs/libsctpsocket_la-sctpsocketwrapper.o
> sctpsocket.h:585: error: extra qualification 'SCTPSocket::' on member 'findAssociationForDestinationAddress'
> make[2]: *** [libsctpsocket_la-sctpsocketwrapper.lo] Error 1
--- ./socketapi/sctpsocket.h~ 2006-03-12 00:48:43.000000000 +0000
+++ ./socketapi/sctpsocket.h 2006-03-12 00:48:54.000000000 +0000
@@ -580,7 +580,7 @@
private:
void checkAutoConnect();
void checkAutoClose();
- SCTPAssociation* SCTPSocket::findAssociationForDestinationAddress(
+ SCTPAssociation* findAssociationForDestinationAddress(
multimap<unsigned int, SCTPAssociation*>& list,
const SocketAddress** destinationAddressList);
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: