Your message dated Tue, 11 Jan 2005 19:42:54 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #289807,
regarding worker: FTBFS (amd64/gcc-4.0): non-local variable '<anonymous struct> 
layoutDescr []' uses anonymous type
to be marked as having been forwarded to the upstream software
author(s) Ralf Hoffmann <[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 289807-forwarded) by bugs.debian.org; 11 Jan 2005 18:43:33 +0000
>From [EMAIL PROTECTED] Tue Jan 11 10:43:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from imap.gmx.net (mail.gmx.net) [213.165.64.20] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1CoQzM-00018I-00; Tue, 11 Jan 2005 10:43:32 -0800
Received: (qmail invoked by alias); 11 Jan 2005 18:43:00 -0000
Received: from c227015.adsl.hansenet.de (EHLO homer) (213.39.227.15)
  by mail.gmx.net (mp027) with SMTP; 11 Jan 2005 19:43:00 +0100
X-Authenticated: #7842102
From: Tobias Toedter <[EMAIL PROTECTED]>
To: Ralf Hoffmann <[EMAIL PROTECTED]>
Subject: Re: Bug#289807: worker: FTBFS (amd64/gcc-4.0): non-local variable 
'<anonymous struct> layoutDescr []' uses anonymous type
Date: Tue, 11 Jan 2005 19:42:54 +0100
User-Agent: KMail/1.7.2
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Cc: Andreas Jochens <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart1676685.zggJ413HfN";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
X-Y-GMX-Trusted: 0
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-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-Spam-Level: 

--nextPart1676685.zggJ413HfN
Content-Type: multipart/mixed;
  boundary="Boundary-01=_v4B5BW4ED1bWZgy"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_v4B5BW4ED1bWZgy
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Ralf,

I've just received a bug report for your program, worker. It fails to build=
=20
from source on the amd64 architecture. The bug submitter kindly attached a=
=20
patch to fix this problem.

I've tested the patch for i386, and it still builds fine. If you're going t=
o=20
include this fix in your program and are willing to release a new version=20
for this soon, I'll wait for that. Otherwise, I'm going to include the fix=
=20
for Debian in Version 2.9.0.

Please tell me what you think. Oh, and by the way: Please preserve the CC t=
o=20
<[EMAIL PROTECTED]>. This way, the bug tracking system will=
=20
file your reply automatically.

Cheers,

=2D-=20

Tobias

    Early to bed and early to rise and you'll
    be groggy when everyone else is wide awake.

On Tuesday 11 January 2005 08:36, Andreas Jochens wrote:
> Package: worker
> Severity: normal
> Tags: patch
>
> When building 'worker' on amd64 with gcc-4.0,
> I get the following error:
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../src/aguix   -D_REENTRANT   -g -O2
> -fcheck-new -Wall -MT wconfigglb.o -MD -MP -MF ".deps/wconfigglb.Tpo" \
> -c -o wconfigglb.o `test -f 'wconfigglb.cc' || echo './'`wconfigglb.cc; \
> then mv -f ".deps/wconfigglb.Tpo" ".deps/wconfigglb.Po"; \
> else rm -f ".deps/wconfigglb.Tpo"; exit 1; \
> fi
> wconfigglb.cc:35: error: non-local variable '<anonymous struct>
> layoutDescr []' uses anonymous type make[3]: *** [wconfigglb.o] Error 1
> make[3]: Leaving directory `/worker-2.9.0/src'
>
> With the attached patch 'worker' can be compiled
> on amd64 using gcc-4.0.
>
> Regards
> Andreas Jochens

--Boundary-01=_v4B5BW4ED1bWZgy
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="worker.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="worker.diff"

diff -urN ../tmp-orig/worker-2.9.0/src/wconfigglb.cc ./src/wconfigglb.cc
=2D-- ../tmp-orig/worker-2.9.0/src/wconfigglb.cc=C2=A0=C2=A02004-12-20 19:5=
0:08.000000000 +0100
+++ ./src/wconfigglb.cc=C2=A02005-01-11 08:04:46.000000000 +0100
@@ -31,7 +31,7 @@
=C2=A0#include <aguix/acontainerbb.h>
=C2=A0#include <list>

=2Dstruct { WConfig::layoutID_t id;
+static struct { WConfig::layoutID_t id;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 int descr; } layoutDescr[] =3D { { WConf=
ig::LO_STATEBAR, 556 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ =
WConfig::LO_CLOCKBAR, 557 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ =
WConfig::LO_BUTTONS, 558 },
diff -urN ../tmp-orig/worker-2.9.0/src/worker_shm.cc ./src/worker_shm.cc
=2D-- ../tmp-orig/worker-2.9.0/src/worker_shm.cc=C2=A0=C2=A02004-12-20 19:5=
0:08.000000000 +0100
+++ ./src/worker_shm.cc=C2=A02005-01-11 08:25:49.658491056 +0100
@@ -33,7 +33,7 @@
=C2=A0 =C2=A0 =C2=A0WSHMId =3D shmget( IPC_PRIVATE, /*a_max( SHMMIN, 4 )*/4=
, 0700 );
=C2=A0 =C2=A0 =C2=A0if ( WSHMId !=3D -1 ) {
=C2=A0 =C2=A0 =C2=A0 =C2=A0WSHMPtr =3D (char*)shmat( WSHMId, NULL, 0 );
=2D =C2=A0 =C2=A0 =C2=A0if ( ( (int)WSHMPtr !=3D -1 ) && ( WSHMPtr !=3D NUL=
L ) ) {
+ =C2=A0 =C2=A0 =C2=A0if ( ( (long)WSHMPtr !=3D -1 ) && ( WSHMPtr !=3D NULL=
 ) ) {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0WSHMInit =3D true;
=C2=A0 =C2=A0 =C2=A0 =C2=A0}
=C2=A0 =C2=A0 =C2=A0}

--Boundary-01=_v4B5BW4ED1bWZgy--

--nextPart1676685.zggJ413HfN
Content-Type: application/pgp-signature

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

iD8DBQBB5B4zCqqEJ0Fs8twRAsSPAKCbrn/dBruq/cWOn8n9h4U+7HxYyACgn7CP
YMdkeiPQctTEwQomfYB2BQc=
=/Smu
-----END PGP SIGNATURE-----

--nextPart1676685.zggJ413HfN--


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

Reply via email to