Your message dated Tue, 01 Nov 2005 10:47:14 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#266337: fixed in gtklookat 0.13.0-3
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:44:35 +0000
>From [EMAIL PROTECTED] Tue Aug 17 08:44:35 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 1Bx68Z-0003yt-00; Tue, 17 Aug 2004 08:44:35 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bx68o-0007M0-Lf; Tue, 17 Aug 2004 17:44:50 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: gtklookat: FTBFS with gcc-3.4: array bound forbidden after 
parenthesized type-id
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 17 Aug 2004 17:44:50 +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=-7.0 required=4.0 tests=BAYES_01,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gtklookat
Severity: normal
Tags: patch

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

gtklookat.cpp:482: note: try removing the parentheses around the type-id
gtklookat.cpp:506: error: array bound forbidden after parenthesized type-id
gtklookat.cpp:506: note: try removing the parentheses around the type-id
gtklookat.cpp:515: warning: int format, different type arg (arg 3)
gtklookat.cpp: At global scope:
gtklookat.cpp:113: warning: 'void file_save(void*, guint, GtkWidget*)' defined 
but not used
gtklookat.cpp:144: warning: 'void file_save_as(void*, guint, GtkWidget*)' 
defined but not used
gtklookat.cpp:202: warning: 'void tree_itemselect(GtkWidget*, node_info*)' 
defined but not used
gtklookat.cpp:214: warning: 'void tree_itemsignal(GtkWidget*, gchar*)' defined 
but not used
gtklookat.cpp:231: warning: 'void tree_unselect_child(GtkWidget*, GtkWidget*, 
GtkWidget*)' defined but not used
gtklookat.cpp:240: warning: 'void tree_select_child(GtkWidget*, GtkWidget*, 
GtkWidget*)' defined but not used
gtklookat.cpp:246: warning: 'void tree_selection_changed(GtkWidget*)' defined 
but not used
gtklookat.cpp:545: warning: 'void about_dialog(void*, guint, GtkWidget*)' 
defined but not used
make[3]: *** [gtklookat.o] Error 1
make[3]: Leaving directory `/gtklookat-0.13.0/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/gtklookat-0.13.0/src/gtklookat.cpp ./src/gtklookat.cpp
--- ../tmp-orig/gtklookat-0.13.0/src/gtklookat.cpp      2004-08-17 
17:41:01.784889985 +0200
+++ ./src/gtklookat.cpp 2004-08-17 17:40:50.915542377 +0200
@@ -479,7 +479,7 @@
   int *row = new int;
   *row = -1;
   
-  titles = new (gchar *)[2];
+  titles = new gchar *[2];
   titles[0] = g_strdup("Name");
   titles[1] = g_strdup("Description");
   
@@ -503,7 +503,7 @@
   GtkWidget *clist = gtk_clist_new_with_titles(2, titles);
   gtk_signal_connect(GTK_OBJECT(clist), "select_row", 
                      GTK_SIGNAL_FUNC(viewpoint_selection), row);
-  gchar **data = new (gchar *)[2];
+  gchar **data = new gchar *[2];
   
   typedef std::list<openvrml::viewpoint_node *> viewpoint_list_t;
   const viewpoint_list_t & viewpoints = my_browser->viewpoints();

---------------------------------------
Received: (at 266337-close) by bugs.debian.org; 1 Nov 2005 19:24:12 +0000
>From [EMAIL PROTECTED] Tue Nov 01 11:24:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EX1AA-0002pW-00; Tue, 01 Nov 2005 10:47:14 -0800
From: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#266337: fixed in gtklookat 0.13.0-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 01 Nov 2005 10:47:14 -0800
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
X-CrossAssassin-Score: 3

Source: gtklookat
Source-Version: 0.13.0-3

We believe that the bug you reported is fixed in the latest version of
gtklookat, which is due to be installed in the Debian FTP archive:

gtklookat_0.13.0-3.diff.gz
  to pool/main/g/gtklookat/gtklookat_0.13.0-3.diff.gz
gtklookat_0.13.0-3.dsc
  to pool/main/g/gtklookat/gtklookat_0.13.0-3.dsc
gtklookat_0.13.0-3_i386.deb
  to pool/main/g/gtklookat/gtklookat_0.13.0-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> (supplier of updated 
gtklookat package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


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

Format: 1.7
Date: Tue,  1 Nov 2005 19:32:43 +0100
Source: gtklookat
Binary: gtklookat
Architecture: source i386
Version: 0.13.0-3
Distribution: unstable
Urgency: low
Maintainer: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
Changed-By: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
Description: 
 gtklookat  - VRML viewer for GTK+
Closes: 266337 326983 334951
Changes: 
 gtklookat (0.13.0-3) unstable; urgency=low
 .
   * debian/control:
     + Build-depend on a newer version of libopenvrml to finish the C++
       transition (Closes: #326983).
     + Build-depend on libglu1-mesa-dev | libglu1-xorg-dev because we use
       the GLU headers (Closes: #334951).
   * debian/copyright:
     + Fixed the FSF address.
   * src/gtklookat.cpp:
     + Fixed build with newer g++ versions (Closes: #266337).
     + Ported the code to newer libopenvrml versions.
Files: 
 5e1cf05aacc0acb52695790968eef92a 688 x11 optional gtklookat_0.13.0-3.dsc
 f013987ad724a53815ecc71048f9a477 46785 x11 optional gtklookat_0.13.0-3.diff.gz
 4934661b9d85be01bb4592fab48d4e3a 19526 libs optional 
gtklookat_0.13.0-3_i386.deb

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

iD8DBQFDZ7X7fPP1rylJn2ERAjqpAJ9lgQzc4U3rZkYSLb8JYJHb0uUxLQCeP/03
4YA3ddftsAWu/E8TP0D7S1Y=
=zGmc
-----END PGP SIGNATURE-----


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

Reply via email to