Your message dated Thu, 25 Aug 2005 18:57:24 +0200
with message-id <[EMAIL PROTECTED]>
and subject line already solved
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; 20 Jul 2004 21:36:04 +0000
>From [EMAIL PROTECTED] Tue Jul 20 14:36:04 2004
Return-path: <[EMAIL PROTECTED]>
Received: from b101162.adsl.hansenet.de (localhost) [62.109.101.162] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bn2HM-0006O2-00; Tue, 20 Jul 2004 14:36:04 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bn2HK-0002Zm-Hi; Tue, 20 Jul 2004 23:36:02 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: maelstrom: FTBFS with gcc-3.4: using typedef-name `ButtonList::button' 
after `struct'
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 20 Jul 2004 23:36:02 +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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: maelstrom
Severity: normal
Tags: patch

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

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"maelstrom\" 
-DVERSION=\"3.0.6\"  -I. -I.      -g -O2 -g -O2 -I/usr/include/SDL -D_REENTRANT 
-I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/lib/games/maelstrom\" 
-c main.cpp
In file included from main.cpp:14:
buttonlist.h: In member function `void ButtonList::Add_Button(Uint16, Uint16, 
Uint16, Uint16, void (*)())':
buttonlist.h:19: error: using typedef-name `ButtonList::button' after `struct'
buttonlist.h: In member function `void ButtonList::Activate_Button(Uint16, 
Uint16)':
buttonlist.h:33: error: using typedef-name `ButtonList::button' after `struct'
buttonlist.h: In member function `void ButtonList::Delete_Buttons()':
buttonlist.h:45: error: using typedef-name `ButtonList::button' after `struct'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/maelstrom-1.4.3-L3.0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/maelstrom-1.4.3-L3.0.6'
make: *** [build] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/maelstrom-1.4.3-L3.0.6/buttonlist.h ./buttonlist.h
--- ../tmp-orig/maelstrom-1.4.3-L3.0.6/buttonlist.h     2000-01-25 
17:41:32.000000000 +0100
+++ ./buttonlist.h      2004-07-20 23:29:40.251508299 +0200
@@ -16,7 +16,7 @@
 
        void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height, 
                                                void (*callback)(void)) {
-               struct button *belem;
+               button *belem;
                
                for ( belem=&button_list; belem->next; belem=belem->next );
                belem->next = new button;
@@ -30,7 +30,7 @@
        }
 
        void Activate_Button(Uint16 x, Uint16 y) {
-               struct button *belem;
+               button *belem;
 
                for ( belem=button_list.next; belem; belem=belem->next ) {
                        if ( (x >= belem->x1) && (x <= belem->x2) &&
@@ -42,7 +42,7 @@
        }
 
        void Delete_Buttons(void) {
-               struct button *belem, *btemp;
+               button *belem, *btemp;
 
                for ( belem=button_list.next; belem; ) {
                        btemp = belem;

---------------------------------------
Received: (at 260500-done) by bugs.debian.org; 25 Aug 2005 16:54:58 +0000
>From [EMAIL PROTECTED] Thu Aug 25 09:54:58 2005
Return-path: <[EMAIL PROTECTED]>
Received: from moutng.kundenserver.de [212.227.126.188] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E8L0D-0002cX-00; Thu, 25 Aug 2005 09:54:57 -0700
Received: from pD9F788F4.dip0.t-ipconnect.de [217.247.136.244] 
(helo=merlin.suspekt)
        by mrelayeu.kundenserver.de with ESMTP (Nemesis),
        id 0MKwtQ-1E8L0B47dR-00011A; Thu, 25 Aug 2005 18:54:55 +0200
Received: from chris by merlin.suspekt with local (Exim 3.36 #1 (Debian))
        id 1E8L2a-0000XR-00
        for <[EMAIL PROTECTED]>; Thu, 25 Aug 2005 18:57:24 +0200
Date: Thu, 25 Aug 2005 18:57:24 +0200
From: Christoph Baumann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: already solved
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Sender: Christoph Baumann <[EMAIL PROTECTED]>
X-Provags-ID: kundenserver.de [EMAIL PROTECTED] 
login:cb4bc728a4a421118219c38488ddb66c
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Bug is already solved but was not closed

--=20
* Christoph Baumann                                                  *
* [EMAIL PROTECTED]                                                     *
* http://www.sgoc.de/welcome.html                                    *
* "Every little picofarad has a nanohenry all its own" -- Don Vonada *


--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDDfhzeAbNbxMxCOoRAjIjAKDHJdihS25zZoy1XMhYsc/0r0HTmgCgiF5a
Yll1bNgEulbHRUaFEJdb3m0=
=haWO
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--


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

Reply via email to