Your message dated 10 Oct 2002 11:43:57 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #163531,
regarding ubit_2.6.0-1(hppa/unstable): FTBFS: g++ 3.0 errors
to be marked as having been forwarded to the upstream software
author(s) Eric Lecolinet <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 163531-forwarded) by bugs.debian.org; 10 Oct 2002 09:41:45 +0000
>From [EMAIL PROTECTED] Thu Oct 10 04:41:45 2002
Return-path: <[EMAIL PROTECTED]>
Received: from jagor.srce.hr [161.53.2.130] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 17zZpA-0002XJ-00; Thu, 10 Oct 2002 04:41:44 -0500
Received: from fuzz.uucp ([EMAIL PROTECTED] [193.198.128.33])
        by jagor.srce.hr (8.12.2/8.12.2) with ESMTP id g9A9eggW024566;
        Thu, 10 Oct 2002 11:40:43 +0200 (MEST)
Received: from mvela by fuzz.uucp with local (Exim 3.36 #1 (Debian))
        id 17zZrJ-00007Z-00; Thu, 10 Oct 2002 11:43:57 +0200
From: Matej Vela <[EMAIL PROTECTED]>
To: Eric Lecolinet <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Ubit and g++ 3.2
Date: 10 Oct 2002 11:43:57 +0200
Message-ID: <[EMAIL PROTECTED]>
Lines: 43
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Matej Vela <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-milter at jagor.srce.hr
Delivered-To: [EMAIL PROTECTED]

Hi,

We're having problems compiling Ubit 2.6.0 with g++ 3.2:

  g++-3.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -O -Wall -c 
uuappli.cc -o uuappli.o
  In file included from uuappli.cc:47:
  uedit.hh:137: friend declaration requires class-key, i.e. `friend class 
UAppli'
  uedit.hh:138: friend declaration requires class-key, i.e. `friend class UStr'

The following patch fixes this error:

--- ubit-2.6.0.orig/src/uedit.hh
+++ ubit-2.6.0/src/uedit.hh
@@ -134,8 +134,8 @@
   virtual void complete(UAppli*, UEvent&);
 
 private:
-  friend UAppli;
-  friend UStr;
+  friend class UAppli;
+  friend class UStr;
 
   bool recursiveSelection, beingSelected;  
   UGroup *inObj;

However, the next error is beyond my poor C++ knowledge:

  g++-3.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -O -Wall -c 
uubrick.cc -o uubrick.o
  uubrick.cc: In function `void uerror(const char*, UError&, ...)':
  uubrick.cc:104: cannot pass objects of non-POD type `class UError' through 
     `...'
  uubrick.cc:104: warning: second parameter of `va_start' not last named 
argument
  uubrick.cc: In member function `virtual void UBrick::error(const char*, 
     UError&, ...) const':
  uubrick.cc:112: cannot pass objects of non-POD type `class UError' through 
     `...'
  uubrick.cc:112: warning: second parameter of `va_start' not last named 
argument

(Please keep the Cc: so that our Bug Tracking System records your reply.)

Thanks,

Matej

Reply via email to