Your message dated Sun, 19 Jun 2005 15:31:08 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #314929,
regarding ghemical: FTBFS (amd64/gcc-4.0): 'obj_loc_data*
dummy_object::GetLocDataRW() const' is protected
to be marked as having been forwarded to the upstream software
author(s) [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 314929-forwarded) by bugs.debian.org; 19 Jun 2005 13:31:32 +0000
>From [EMAIL PROTECTED] Sun Jun 19 06:31: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 1Djztc-0000HU-00; Sun, 19 Jun 2005 06:31:32 -0700
Received: (qmail invoked by alias); 19 Jun 2005 13:31:00 -0000
Received: from ppp-62-245-163-242.mnet-online.de (EHLO localhost.localdomain)
[62.245.163.242]
by mail.gmx.net (mp032) with SMTP; 19 Jun 2005 15:31:00 +0200
X-Authenticated: #686195
Received: from mbanck by localhost.localdomain with local (Exim 4.34)
id 1DjztE-00031I-Eu; Sun, 19 Jun 2005 15:31:08 +0200
Date: Sun, 19 Jun 2005 15:31:08 +0200
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: Bug#314929: ghemical: FTBFS (amd64/gcc-4.0):
'obj_loc_data* dummy_object::GetLocDataRW() const' is protected]
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="E39vaYmALEf/7YXx"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
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=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--E39vaYmALEf/7YXx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
I've got the following bug-report/patch. I haven't checked whether it
still applied to HEAD, though.
Michael
--
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html
--E39vaYmALEf/7YXx
Content-Type: message/rfc822
Content-Disposition: inline
Return-Path: <[EMAIL PROTECTED]>
X-Flags: 0000
Delivered-To: GMX delivery to [EMAIL PROTECTED]
Received: from pop.gmx.net [213.165.64.20]
by localhost with POP3 (fetchmail-6.2.5)
for [EMAIL PROTECTED] (single-drop); Sun, 19 Jun 2005 15:25:13 +0200
(CEST)
Received: (qmail invoked by alias); 19 Jun 2005 13:23:34 -0000
Received: from spohr.debian.org (EHLO spohr.debian.org) [140.211.166.43]
by mx0.gmx.net (mx041) with SMTP; 19 Jun 2005 15:23:34 +0200
Received: from debbugs by spohr.debian.org with local (Exim 3.35 1 (Debian))
id 1Djzgc-0004CX-00; Sun, 19 Jun 2005 06:18:06 -0700
X-Loop: [EMAIL PROTECTED]
Subject: Bug#314929: ghemical: FTBFS (amd64/gcc-4.0): 'obj_loc_data*
dummy_object::GetLocDataRW() const' is protected
Reply-To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Resent-From: Andreas Jochens <[EMAIL PROTECTED]>
Resent-To: [email protected]
Resent-CC: Michael Banck <[EMAIL PROTECTED]>
Resent-Date: Sun, 19 Jun 2005 13:18:05 UTC
Resent-Message-ID: <[EMAIL PROTECTED]>
X-Debian-PR-Message: report 314929
X-Debian-PR-Package: ghemical
X-Debian-PR-Keywords: patch
Received: via spool by [EMAIL PROTECTED] id=B.111918695013345
(code B ref -1); Sun, 19 Jun 2005 13:18:05 UTC
Received: (at submit) by bugs.debian.org; 19 Jun 2005 13:15:50 +0000
Received: from d029163.adsl.hansenet.de (localhost.localdomain) [80.171.29.163]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DjzeQ-0003T4-00; Sun, 19 Jun 2005 06:15:50 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
id 1DjzeO-0007ba-Vx; Sun, 19 Jun 2005 15:15:49 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 19 Jun 2005 15:15:48 +0200
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Resent-Sender: Debian BTS <[EMAIL PROTECTED]>
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: 0 (Mail was not recognized as spam)
X-GMX-UID: gRTHYmRHeSEkWxIbYXQhaXN1IGRvb8Bo
Package: ghemical
Version: 1.01-2
Severity: normal
Tags: patch
When building 'ghemical' on amd64/unstable with gcc-4.0,
I get the following error:
make[2]: Entering directory `/ghemical-1.01/src/graphics'
x86_64-linux-g++ -c -g -O2 -fno-exceptions -I../../src/graphics
-I../../src/common -I/usr/include/openbabel -I/ghemical-1.01/src
-I/usr/include/sc -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include ./mtools.cpp
./objects.h:93: error: 'obj_loc_data* dummy_object::GetLocDataRW() const' is
protected
./objects.h:180: error: within this context
./views.h:233: error: variable or field 'mm1_apply_udata_as_cset' declared void
./views.h:233: error: 'mm1_docv' was not declared in this scope
./views.h:233: error: expected primary-expression before ',' token
./views.h:233: error: expected primary-expression before 'void'
./views.h:233: error: initializer expression list treated as compound expression
make[2]: *** [mtools.o] Error 1
make[2]: Leaving directory `/ghemical-1.01/src/graphics'
With the attached patch 'ghemical' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/camera.cpp
./src/graphics/camera.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/camera.cpp 2002-07-31
11:53:35.000000000 +0200
+++ ./src/graphics/camera.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -585,7 +585,7 @@
fGL r3 = tmp1 * tmp2;
const dummy_object * name = this;
- glPushName(GLNAME_LIGHT); glPushName((iGLu) name);
+ glPushName(GLNAME_LIGHT); glPushName((long) name);
glPushMatrix(); SetModelView();
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/mm1docv.cpp
./src/graphics/mm1docv.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/mm1docv.cpp 2002-11-11
14:18:03.000000000 +0100
+++ ./src/graphics/mm1docv.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -337,7 +337,7 @@
for (iter_mm1al it1 = atom_list.begin();it1 !=
atom_list.end();it1++) // wireframe atoms
{
if (!TestAtom(& (* it1), rm)) continue;
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
glBegin(GL_POINTS);
SetColor(gv->colormode, & (* it1));
@@ -401,7 +401,7 @@
break;
}
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum) GLU_FILL);
@@ -460,7 +460,7 @@
break;
}
- glPushName(GLNAME_MD_TYPE1);
glPushName((i32u) (* it1).atmr[n2]);
+ glPushName(GLNAME_MD_TYPE1);
glPushName((long) (* it1).atmr[n2]);
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum)
GLU_FILL);
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/objects.h
./src/graphics/objects.h
--- ../tmp-orig/ghemical-1.01/src/graphics/objects.h 2001-12-29
15:56:49.000000000 +0100
+++ ./src/graphics/objects.h 2005-06-19 14:32:21.000000000 +0200
@@ -88,7 +88,7 @@
void SetModelView(void) const;
const obj_loc_data * GetLocData(void) const;
- protected:
+// protected:
obj_loc_data * GetLocDataRW(void) const;
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/plane.cpp
./src/graphics/plane.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/plane.cpp 2001-10-23
15:10:41.000000000 +0200
+++ ./src/graphics/plane.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -134,7 +134,7 @@
glPushMatrix();
glPushName(GLNAME_OBJECT);
- glPushName((iGLu) name);
+ glPushName((iGLu) (long) name);
// if this is a transparent object, we will not render the quads here.
// instead, the quads get rendered at docview::Render(), like all other
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/qm1docv.cpp
./src/graphics/qm1docv.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/qm1docv.cpp 2002-10-31
14:11:11.000000000 +0100
+++ ./src/graphics/qm1docv.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -191,7 +191,7 @@
if (!TestAtom(& (* it1), rm)) continue;
glPushName(GLNAME_MD_TYPE1);
- glPushName((i32u) & (* it1));
+ glPushName((long) & (* it1));
glBegin(GL_POINTS);
SetColor(gv->colormode, & (* it1));
@@ -218,7 +218,7 @@
rad *= (* it1).el.GetVDWRadius() *
4.0;
int res =
model_prefs->Value("QM1Graphics/BallResolution", 12);
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum) GLU_FILL);
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/surface.cpp
./src/graphics/surface.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/surface.cpp 2002-10-31
14:11:11.000000000 +0100
+++ ./src/graphics/surface.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -342,7 +342,7 @@
void color_surface::Render(void)
{
glPushName(GLNAME_OBJECT);
- glPushName((iGLu) name);
+ glPushName((iGLu) (long) name);
if (wireframe)
{
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/views.cpp
./src/graphics/views.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/views.cpp 2002-10-24
14:09:53.000000000 +0200
+++ ./src/graphics/views.cpp 2005-06-19 14:32:21.000000000 +0200
@@ -233,7 +233,7 @@
// then just store the coordinates...
- fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0;
+ fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0;
for (iter_mm1al it1 = mdl->GetAtomsBegin();it1 !=
mdl->GetAtomsEnd();it1++)
{
ptr2[counter++] = (* it1).crd_vector[cset].data[0];
@@ -253,7 +253,7 @@
return;
}
- fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0;
+ fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0;
for (iter_mm1al it1 = docv->GetAtomsBegin();it1 !=
docv->GetAtomsEnd();it1++)
{
const i32s cset = 0; // how to set this?!?!?!
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/views.h ./src/graphics/views.h
--- ../tmp-orig/ghemical-1.01/src/graphics/views.h 2002-05-27
15:36:39.000000000 +0200
+++ ./src/graphics/views.h 2005-06-19 14:43:32.000000000 +0200
@@ -29,6 +29,8 @@
class graphics_class_factory;
+class mm1_docv;
+
/*################################################################################################*/
class camera; // camera.h
--E39vaYmALEf/7YXx--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]