buggy source-code for AMD64

Ronald-be ronald55 at tiscali.be
Mon Jul 25 14:29:33 PDT 2005


hello,

Thanx for the reply. The pointers are indeed 64-bit as the 64-bit version of the OS is installed (Fedora Core 4 x86_64). I Suspected it could be something like that. I'm gonna try to change to longint.

Many thanx

Ronald


> Ronald-be wrote:
> >
> > When I try to compile the code (using "make") I always get a compiler error, in the program GfxFont.cxx : "GfxFont.cxx: In member function 'Gushort* Gfx8bitFont::getCodeToGIDmap(TrueTypeFontFile*)' GfxFont.cxx:972: error: cast from 'void*' to 'integer' loses precision
> >
> > Checking source code : there is indeed a type-cast to int
> >
> > adding the compiler options "-m64 -march=athlon64 -m128bit-long-double" in makedefs doesn't help. Is this a bug or am I doing something wrong?
> >
> > Many thanks!
> >
> > Ronald
>
> I suspect your pointers are 64 bit (which is reasonable in a 64 bit architecture)
> but an int(eger) is only 32 bit. Thus the source is not "64 bit clean".
>
> Helge
>
> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
> http://www.srz.de





More information about the cups-devel mailing list