[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-dev] address@hidden: Bug#143762: sizeof(void *) != sizeof(int)]
From: |
Michael Moerz |
Subject: |
[paragui-dev] address@hidden: Bug#143762: sizeof(void *) != sizeof(int)] |
Date: |
Fri, 26 Apr 2002 13:29:16 +0200 |
User-agent: |
Mutt/1.3.28i |
Hi!
I have received this bug report about build - problems on
64-bit platforms. Since I don't know what this sprintf on line 122
really does I can't fix it without digging deep into the source.
----- Forwarded message from Matthew Wilcox <address@hidden> -----
Envelope-to: address@hidden
Delivery-date: Sun, 21 Apr 2002 11:15:11 +0200
X-Connecting-Host: master.debian.org [65.125.64.135]
X-Connecting-Addr: 65.125.64.135
X-Sent-To: <address@hidden>
Subject: Bug#143762: sizeof(void *) != sizeof(int)
Reply-To: Matthew Wilcox <address@hidden>, address@hidden
Resent-From: Matthew Wilcox <address@hidden>
Original-Sender: <address@hidden>
Resent-To: address@hidden
Resent-CC: Michael Moerz <address@hidden>,
address@hidden
Resent-Date: Sat, 20 Apr 2002 15:48:02 GMT
Resent-Message-ID: <address@hidden>
X-Debian-PR-Message: report 143762
X-Debian-PR-Package: libparagui1.0
X-Debian-PR-Keywords:
From: Matthew Wilcox <address@hidden>
To: address@hidden
Resent-Sender: Debian BTS <address@hidden>
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)
X-UIDL: A[k!!"address@hidden
Package: libparagui1.0
Version: 0.1.0-1
Severity: important
On both ia64 & alpha, the following Bad Thing occurs in the build logs:
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../src/physfs -I../../include -g -O2 -Wall -I/usr/include/freetype2
-fno-exceptions -I/usr/include -c pgsurfacecache.cpp -fPIC -DPIC -o
.libs/pgsurfacecache.lo
pgsurfacecache.cpp: In method `void PG_SurfaceCache::CreateKey (string
&, short unsigned int, short unsigned int, PG_Gradient *, SDL_Surface
*, signed char, unsigned char)':
pgsurfacecache.cpp:122: reinterpret_cast from `SDL_Surface *' to
`unsigned int' loses precision
This is guaranteed to cause a segfault at runtime; it's nice to see the
compiler spotting it and aborting.
--
Revolutions do not require corporate support.
----- End forwarded message -----
--
kind regards,
Michael Moerz
pub 1024D/B651C436 2000-09-17 Michael Moerz <address@hidden>
Key fingerprint = 55DB 2F1A BF45 DBAB F542 4128 2173 8753 B651 C436
http://idc19.itm.tuwien.ac.at/~mikem/private/mikem.public.gpg.key
pgpFMoNSnHnfx.pgp
Description: PGP signature
- [paragui-dev] address@hidden: Bug#143762: sizeof(void *) != sizeof(int)],
Michael Moerz <=