Package: guessnet
Version: 0.38-1
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 guessnet_0.38-1 on bigsur by sbuild/mips 1.94
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_BSD_SOURCE -D__BSD_SOURCE
> -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DSCRIPTDIR=\"/usr/share/guessnet/test\"
> -DCOMPILE_TESTSUITE -g -Wall -O2 -MT ChildProcess.o -MD -MP -MF
> ".deps/ChildProcess.Tpo" -c -o ChildProcess.o ChildProcess.cc; \
> then mv -f ".deps/ChildProcess.Tpo" ".deps/ChildProcess.Po"; else rm -f
> ".deps/ChildProcess.Tpo"; exit 1; fi
> ChildProcess.h:95: error: extra qualification 'ChildProcess::' on member
> 'fork'
> make[3]: *** [ChildProcess.o] Error 1
> make[3]: Leaving directory `/build/tbm/guessnet-0.38/src'
--- ./src/ChildProcess.h~ 2006-03-16 02:59:49.000000000 +0000
+++ ./src/ChildProcess.h 2006-03-16 02:59:54.000000000 +0000
@@ -92,7 +92,7 @@
/// For a subprocess to run proc.
/// After this function exits successfully, `proc' can safely be
deleted.
- pid_t ChildProcess::fork() throw (SystemException);
+ pid_t fork() throw (SystemException);
/// Fork a subprocess to run proc. If one of the std*fd variables is
/// non-null, create a pipe connected to the corresponding file
descriptor
--- ./src/IFace.h~ 2006-03-16 03:00:33.000000000 +0000
+++ ./src/IFace.h 2006-03-16 03:00:37.000000000 +0000
@@ -85,7 +85,7 @@
void write_interface_configuration(const struct if_params& ifp)
throw (IFaceException);
- int IFace::mdio_read(int location) throw (MIIException);
+ int mdio_read(int location) throw (MIIException);
public:
/// Create an object to access informations of the interface whose name
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]