Hi, Steve

Humm, I forgot to put this patch again, because it wanst working.
I will look at it again and will upload VBA with this patch.
Thanks.

Regards
Jose Carlos

2007/5/19, Steve Langasek <[EMAIL PROTECTED]>:
Package: visualboyadvance
Version: 1.8.0-1
Severity: serious

Hi José Carlos,

visualboyadvance 1.8.0-1 has a regression versus 1.7.2-6, resulting in a
build failure on 64-bit archs:

[...]
make[3]: Entering directory `/build/buildd/visualboyadvance-1.8.0/src/prof'
alpha-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 
-DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I.   -I/usr/include/libpng12    -Wall -g -W -O0 
-Wl,-z,defs -DBKPT_SUPPORT -DBKPT_SUPPORT -DC_CORE -DPROFILING -DDEV_VERSION -MT prof.o -MD -MP -MF .deps/prof.Tpo -c -o prof.o prof.cpp
prof.cpp: In function 'void profCleanup()':
prof.cpp:274: error: cast from 'char*' to 'u32' loses precision
make[3]: *** [prof.o] Error 1
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.cgi?pkg=visualboyadvance&arch=alpha&ver=1.8.0-1&stamp=1179615775>.

Of course a u32 is not large enough to store a pointer on a 64-bit platform.
Previous versions of visualboyadvance don't appear to have had this bug.

Thanks,
--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/




--
[]'s
José Carlos

Reply via email to