Bug#326641: wipl: FTBFS: 'parent' was not declared in this scope

2005-10-28 Thread Rob Weir
Hi Carlo,

On Sun, Sep 04, 2005 at 07:32:15PM +0200, Andreas Jochens said
 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.

This patch has been sitting around for a bit now, do you think you'll
have time to upload to fix it anytime soon?  Would you like someone to
NMU it?

-rob
-- 
Yeaah, the hammer game!  Kill it, kill it, make it dead, whack it!


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



Bug#326641: wipl: FTBFS: 'parent' was not declared in this scope

2005-09-04 Thread Andreas Jochens
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.cc2001-09-07 
06:18:00.0 +
+++ ./src/wiplcSimple.cc2005-09-04 17:30:23.0 +
@@ -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]