Bug#358090: FTBFS with G++ 4.1: extra qualification

Martin Michlmayr tbm at cyrius.com
Tue Mar 21 06:26:23 UTC 2006


Package: gnugk
Version: 2:2.2.3-2-2
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 attached.


> Automatic build of gnugk_2:2.2.3-2-2 on bigsur by sbuild/mips 1.106
...
> g++ -I/usr/include/postgresql -DHAS_PGSQL=1  -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1  -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -D_REENTRANT -Wall  -I/usr/share/pwlib//include -Wa,-xgot -DPTRACING -I/usr/include/openh323 -fexceptions -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=3 -O2  -felide-constructors -c yasocket.cxx -o obj_linux_mips_r/yasocket.o
> yasocket.h:415: error: extra qualification 'TCPListenSocket::' on member 'TCPListenSocket'
> make[1]: *** [obj_linux_mips_r/yasocket.o] Error 1
> make[1]: Leaving directory `/build/tbm/gnugk-2.2.3-2'
> make: *** [build] Error 2

--- ./yasocket.h~	2006-03-21 06:14:18.000000000 +0000
+++ ./yasocket.h	2006-03-21 06:14:25.000000000 +0000
@@ -412,7 +412,7 @@
 	PCLASSINFO ( TCPListenSocket, TCPSocket )
 #endif
 public:
-	TCPListenSocket::TCPListenSocket(int seconds = 0);
+	TCPListenSocket(int seconds = 0);
 	~TCPListenSocket();
 
 	bool IsTimeout(const PTime *) const;

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Pkg-voip-maintainers mailing list