Well, to be fair, it's the FLTK library that fails to
compile due to casting void* to int in numerous places.
Checking their bug reports suggests that changing int
to long everywhere might work, but that's too much work
for me right now.
~Matt
[mdoar@neogleet fltk-2.0.x-r4812]$ uname -a
Linux neogleet 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2
23:16:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[mdoar@neogleet fltk-2.0.x-r4812]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/
usr/share/man --infodir=/usr/share/info --enable-shared
--enable-threads=posix --enable-checking=release --
with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-libgcj-multifile --
enable-languages=c,c++,objc,java,f95,ada --enable-java-
awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.
4.2.0/jre --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
Logged In: YES
user_id=1358602
Hi,
You may patch the source with ;)
http://randrianiriana.org/debian/xdiskusage/patches/amd64-gcc4.patch
This has been patched with (int)(long)pointer