Bug#296995: marked as done (openmcu: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'unsigned int' loses precision)
Debian Bug Tracking System
owner@bugs.debian.org
Wed, 09 Mar 2005 12:48:08 -0800
Your message dated Wed, 09 Mar 2005 15:35:20 -0500
with message-id <E1D97to-00073Y-00@newraff.debian.org>
and subject line Bug#296995: fixed in openmcu 2.1.0-1
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; 26 Feb 2005 10:47:15 +0000
>From aj@andaco.de Sat Feb 26 02:47:14 2005
Return-path: <aj@andaco.de>
Received: from c186089.adsl.hansenet.de (localhost.localdomain) [213.39.186.89]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D4zTe-0003h4-00; Sat, 26 Feb 2005 02:47:14 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1D50Pn-0007WU-T2; Sat, 26 Feb 2005 12:47:19 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: openmcu: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'unsigned int' loses precision
Message-Id: <E1D50Pn-0007WU-T2@localhost.localdomain>
Date: Sat, 26 Feb 2005 12:47:19 +0100
Delivered-To: submit@bugs.debian.org
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
X-Spam-Level:
Package: openmcu
Severity: normal
Tags: patch
When building 'openmcu' on amd64 with gcc-4.0,
I get the following error:
/usr/bin/make OPENH323DIR=/usr/share/openh323 PWLIBDIR=/usr/share/pwlib PTLIB_FILE=. opt optshared
make[1]: Entering directory `/openmcu-2.0.5'
g++ -D_REENTRANT -fno-exceptions -Wall -DP_64BIT -I/usr/share/pwlib/include -DPTRACING -I/usr/share/openh323/include -DHAS_OSS -Os -felide-constructors -x c++ -c main.cxx -o obj_linux_x86_64_r/main.o
conference.h: In member function 'virtual PString ConferenceConnection::GetName() const':
conference.h:167: error: cast from 'void*' to 'unsigned int' loses precision
conference.h: In member function 'virtual PString ConferenceMember::GetName() const':
conference.h:253: error: cast from 'void*' to 'unsigned int' loses precision
make[1]: *** [obj_linux_x86_64_r/main.o] Error 1
make[1]: Leaving directory `/openmcu-2.0.5'
make: *** [build-stamp] Error 2
With the attached patch 'openmcu' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/openmcu-2.0.5/conference.h ./conference.h
--- ../tmp-orig/openmcu-2.0.5/conference.h 2004-05-26 06:54:31.000000000 +0000
+++ ./conference.h 2005-02-23 11:52:42.427787310 +0000
@@ -164,7 +164,7 @@
#pragma warning(disable:4311)
#endif
virtual PString GetName() const
- { return PString(PString::Unsigned, (unsigned)id); }
+ { return PString(PString::Unsigned, (unsigned long)id); }
#ifdef _WIN32
#pragma warning(pop)
#endif
@@ -250,7 +250,7 @@
* return the name of the the conference member
*/
virtual PString GetName() const
- { return PString(PString::Unsigned, (unsigned)id); }
+ { return PString(PString::Unsigned, (unsigned long)id); }
#ifdef _WIN32
#pragma warning(pop)
---------------------------------------
Received: (at 296995-close) by bugs.debian.org; 9 Mar 2005 20:44:37 +0000
>From katie@ftp-master.debian.org Wed Mar 09 12:44:37 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D982n-0004mt-00; Wed, 09 Mar 2005 12:44:37 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1D97to-00073Y-00; Wed, 09 Mar 2005 15:35:20 -0500
From: Kilian Krause <kk@verfaction.de>
To: 296995-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#296995: fixed in openmcu 2.1.0-1
Message-Id: <E1D97to-00073Y-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 09 Mar 2005 15:35:20 -0500
Delivered-To: 296995-close@bugs.debian.org
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:
Source: openmcu
Source-Version: 2.1.0-1
We believe that the bug you reported is fixed in the latest version of
openmcu, which is due to be installed in the Debian FTP archive:
openmcu_2.1.0-1.diff.gz
to pool/main/o/openmcu/openmcu_2.1.0-1.diff.gz
openmcu_2.1.0-1.dsc
to pool/main/o/openmcu/openmcu_2.1.0-1.dsc
openmcu_2.1.0-1_i386.deb
to pool/main/o/openmcu/openmcu_2.1.0-1_i386.deb
openmcu_2.1.0.orig.tar.gz
to pool/main/o/openmcu/openmcu_2.1.0.orig.tar.gz
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 296995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kilian Krause <kk@verfaction.de> (supplier of updated openmcu 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 8 Mar 2005 00:44:38 +0100
Source: openmcu
Binary: openmcu
Architecture: source i386
Version: 2.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Kilian Krause <kk@verfaction.de>
Description:
openmcu - H.323 conferencing server
Closes: 296995
Changes:
openmcu (2.1.0-1) unstable; urgency=low
.
* fix compilation with gcc-4.0 on amd64. (Closes:#296995)
* Bumped to Mimas_rc2 codebase.
Files:
d65b4c85120ef3fedc4f7d8c2df8cae2 838 comm optional openmcu_2.1.0-1.dsc
14ce1e545e35b94b43d8f3bc48f85648 78567 comm optional openmcu_2.1.0.orig.tar.gz
effc523d826b82af3f18b6c8a6dd5f50 11458 comm optional openmcu_2.1.0-1.diff.gz
2f59dc4341193b81eb2b6333d5f8ade7 65324 comm optional openmcu_2.1.0-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCL1cPS+BYJZB4jhERArYaAJ9urEbTZGLchK4Pnt8dmR1nbVNnKACeJ7gg
8EvDuHkGZUh+/b3qAbwCBG0=
=QZH/
-----END PGP SIGNATURE-----