Your message dated Fri, 07 Oct 2005 06:09:16 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#266333: fixed in gtkpool 0.5.0-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 submit) by bugs.debian.org; 17 Aug 2004 15:41:31 +0000
>From [EMAIL PROTECTED] Tue Aug 17 08:41:31 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d001143.adsl.hansenet.de (localhost) [80.171.1.143] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bx65a-0003cj-00; Tue, 17 Aug 2004 08:41:30 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bx65q-00085Y-4v; Tue, 17 Aug 2004 17:41:46 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: gtkpool: FTBFS with gcc-3.4: array bound forbidden after parenthesized 
type-id
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 17 Aug 2004 17:41:46 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0 tests=BAYES_10,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gtkpool
Severity: normal
Tags: patch

When building 'gtkpool' with gcc-3.4 I get the following error:

application.cpp:70: note: try removing the parentheses around the type-id
application.cpp:71: error: array bound forbidden after parenthesized type-id
application.cpp:71: note: try removing the parentheses around the type-id
application.cpp:72: error: array bound forbidden after parenthesized type-id
application.cpp:72: note: try removing the parentheses around the type-id
application.cpp:73: error: array bound forbidden after parenthesized type-id
application.cpp:73: note: try removing the parentheses around the type-id
application.cpp:74: error: array bound forbidden after parenthesized type-id
application.cpp:74: note: try removing the parentheses around the type-id
application.cpp: In member function `void Application::mouse_down(double, 
double)':
application.cpp:539: error: cannot convert `__gnu_cxx::__normal_iterator<Ball*, 
std::vector<Ball, std::allocator<Ball> > >' to `Ball*' in assignment
make[4]: *** [application.o] Error 1
make[4]: Leaving directory `/gtkpool-0.5.0/gtkpool'

With the attached patch 'gtkpool' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gtkpool-0.5.0/gtkpool/application.cpp 
./gtkpool/application.cpp
--- ../tmp-orig/gtkpool-0.5.0/gtkpool/application.cpp   2004-08-17 
17:38:25.753610345 +0200
+++ ./gtkpool/application.cpp   2004-08-17 17:38:19.629541345 +0200
@@ -67,11 +67,11 @@
                message_colours[14] = new GdkColor;
 
                buf_pixmap = NULL;
-               table_pixmaps = new (GdkPixmap *)[4];
-               balls_pixmaps = new (GdkPixmap *)[NUM_BALLS];
-               balls_pixmap_masks = new (GdkBitmap *)[NUM_BALLS];
-               balls_big_pixmaps = new (GdkPixmap *)[NUM_BALLS];
-               balls_big_pixmap_masks = new (GdkBitmap *)[NUM_BALLS];
+               table_pixmaps = new GdkPixmap *[4];
+               balls_pixmaps = new GdkPixmap *[NUM_BALLS];
+               balls_pixmap_masks = new GdkBitmap *[NUM_BALLS];
+               balls_big_pixmaps = new GdkPixmap *[NUM_BALLS];
+               balls_big_pixmap_masks = new GdkBitmap *[NUM_BALLS];
                running = true; placing_cue = false;
                sunk_tf = collide_tf = bounce_tf = false;
                connected = false;
@@ -530,7 +530,7 @@
        bb = find_if(balls.begin(), balls.end(), pointer_selects( x, y, 
hit_moving));
        if(bb != balls.end())
        {
-#if _CPP_CSTDLIB == 1
+#if 1 // _CPP_CSTDLIB == 1
                // FIXME: horrible, non-portable, converting a vector iterator
                // to a pointer using g++ 3.0 private interface :-(
                // -- Philip Martin <[EMAIL PROTECTED]>

---------------------------------------
Received: (at 266333-done) by bugs.debian.org; 7 Oct 2005 04:09:29 +0000
>From [EMAIL PROTECTED] Thu Oct 06 21:09:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.irb.hr [161.53.22.8] (UNKNOWN)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ENjY1-0000TV-00; Thu, 06 Oct 2005 21:09:29 -0700
Received: from diziet.irb.hr (diziet.irb.hr [161.53.22.31])
        by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j97494ZI002861
        for <[EMAIL PROTECTED]>; Fri, 7 Oct 2005 06:09:04 +0200
Received: from diziet.irb.hr (localhost [127.0.0.1])
        by diziet.irb.hr (8.13.5/8.13.5/Debian-2) with ESMTP id j9749GLN026072
        for <[EMAIL PROTECTED]>; Fri, 7 Oct 2005 06:09:16 +0200
Received: (from [EMAIL PROTECTED])
        by diziet.irb.hr (8.13.5/8.13.5/Submit) id j9749GwM026070;
        Fri, 7 Oct 2005 06:09:16 +0200
X-Authentication-Warning: diziet.irb.hr: mvela set sender to [EMAIL PROTECTED] 
using -f
From: Matej Vela <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Bug#266333: fixed in gtkpool 0.5.0-6
Date: Fri, 07 Oct 2005 06:09:16 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.51 on 161.53.22.8
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: gtkpool
Source-Version: 0.5.0-6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  6 Oct 2005 21:39:49 +1000
Source: gtkpool
Binary: gtkpool
Architecture: source i386
Version: 0.5.0-6
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 gtkpool    - simple pool billiard game written with GTK+
Changes: 
 gtkpool (0.5.0-6) unstable; urgency=low
 .
   * QA Group upload orphaning this package
   * debian/control: Build-Depend on dpatch
   * debian/rules: add dpatch support
   * Added patch from Andreas Jochens to fix FTBFS with gcc-3.4
   * debian/copyright: updated address of the FSF
   * debian/menu: quoted the unquoted
   * Updated config.{sub,guess}
   * debian/rules: bumped debhelper compatibility level to 3
Files: 
 1f8cd72105a22e10367f9caa56eb5e59 590 games optional gtkpool_0.5.0-6.dsc
 03c71d2ab21e83599d26cd88593fe9b0 198663 games optional gtkpool_0.5.0-6.diff.gz
 595489334bcf5832337e3e9130826929 332192 games optional gtkpool_0.5.0-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRQ5pIblXXKfZFgIRAkcmAJ4mHKqoVkBzeATXcXvTYkOwWKFgJgCfQDyV
Jdf59UjUCl+roMTMEMkkfOs=
=FA5h
-----END PGP SIGNATURE-----


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

Reply via email to