Debian Bug report logs -
#286889
gpdf: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'unsigned int' loses precision
Reported by: Andreas Jochens <aj@andaco.de>
Date: Wed, 22 Dec 2004 20:48:12 UTC
Severity: normal
Tags: patch
Fixed in version gpdf/2.8.1-1
Done: Filip Van Raemdonck <mechanix@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Filip Van Raemdonck <mechanix@debian.org>:
Bug#286889; Package gpdf.
(full text, mbox, link).
Acknowledgement sent to Andreas Jochens <aj@andaco.de>:
New Bug report received and forwarded. Copy sent to Filip Van Raemdonck <mechanix@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gpdf
Severity: normal
Tags: patch
When building 'gpdf' on amd64 with gcc-4.0,
I get the following error:
gpdf-control.cc: In function 'void gpdf_control_private_push(GPdfControl*, const gchar*)':
gpdf-control.cc:219: error: cast from 'void*' to 'unsigned int' loses precision
make[5]: *** [gpdf-control.o] Error 1
make[5]: Leaving directory `/gpdf-2.8.0/xpdf'
With the attached patch 'gpdf' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gpdf-2.8.0/xpdf/gpdf-control.cc ./xpdf/gpdf-control.cc
--- ../tmp-orig/gpdf-2.8.0/xpdf/gpdf-control.cc 2004-09-13 18:54:51.000000000 +0200
+++ ./xpdf/gpdf-control.cc 2004-12-22 21:20:18.340107456 +0100
@@ -209,12 +209,12 @@
const gchar * status)
{
GPdfControlPrivate *priv;
- guint to_id;
+ unsigned long to_id;
g_return_if_fail (GPDF_IS_NON_NULL_CONTROL (control));
priv = control->priv;
- if ((to_id = (unsigned int)
+ if ((to_id = (unsigned long)
g_object_get_data (G_OBJECT (control),
"status-timeout-id")) != 0) {
g_object_set_data (G_OBJECT (control),
Reply sent to Filip Van Raemdonck <mechanix@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Andreas Jochens <aj@andaco.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 286889-close@bugs.debian.org (full text, mbox, reply):
Source: gpdf
Source-Version: 2.8.1-1
We believe that the bug you reported is fixed in the latest version of
gpdf, which is due to be installed in the Debian FTP archive:
gpdf_2.8.1-1.diff.gz
to pool/main/g/gpdf/gpdf_2.8.1-1.diff.gz
gpdf_2.8.1-1.dsc
to pool/main/g/gpdf/gpdf_2.8.1-1.dsc
gpdf_2.8.1-1_i386.deb
to pool/main/g/gpdf/gpdf_2.8.1-1_i386.deb
gpdf_2.8.1.orig.tar.gz
to pool/main/g/gpdf/gpdf_2.8.1.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 286889@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Filip Van Raemdonck <mechanix@debian.org> (supplier of updated gpdf 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: Fri, 31 Dec 2004 12:19:18 +0100
Source: gpdf
Binary: gpdf
Architecture: source i386
Version: 2.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Filip Van Raemdonck <mechanix@debian.org>
Changed-By: Filip Van Raemdonck <mechanix@debian.org>
Description:
gpdf - Portable Document Format (PDF) viewer
Closes: 268873 286889
Changes:
gpdf (2.8.1-1) unstable; urgency=medium
.
* New upstream version. (Closes: #268873)
* Apply amd64/gcc4 patch. (Closes: #286889)
Files:
9582c7f6c282c89ac1dfd31b76bc06eb 1584 text optional gpdf_2.8.1-1.dsc
17625c514ac41a764586bb99e2b7da77 1243734 text optional gpdf_2.8.1.orig.tar.gz
b7ab8cbb3eaad381d45ce5243514f89b 9923 text optional gpdf_2.8.1-1.diff.gz
4b6f99e093bce055a218e39ee4584d8b 784152 text optional gpdf_2.8.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB1UHhEjn3CY6VDgARAktpAJ9anRl5VOjf7s3QHsYnBhqwfBGFewCeOeii
E2EP99R7OZYE3C9m1uOBbtU=
=eUYP
-----END PGP SIGNATURE-----
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jul 15 17:43:30 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.