Package: wipl
Version: 20020601-10
Severity: serious
Tags: patch

When building 'wipl' on unstable, I get the following error:

In file included from /usr/include/arpa/inet.h:23,
                 from common.h:5,
                 from wiplcSimple.cc:7:
/usr/include/netinet/in.h:50:1: warning: this is the location of the previous 
definition
wiplcSimple.cc:39: error: ISO C++ forbids declaration of 'ServerMemClient' with 
no type

With the attached patch 'wipl' can be compiled using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/wipl-20020601/src/wiplcSimple.cc ./src/wiplcSimple.cc
--- ../tmp-orig/wipl-20020601/src/wiplcSimple.cc        2001-09-07 
06:18:00.000000000 +0000
+++ ./src/wiplcSimple.cc        2005-09-04 17:30:23.000000000 +0000
@@ -7,6 +7,8 @@
 #include "common.h"
 #include "shmem.h"
 
+class ServerMemClient;
+
 
//------------------------------------------------------------------------------
 // Overview of this module:
 //


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to