Stanislav Lakhtin

Helge Blischke h.blischke at srz.de
Tue Mar 1 05:15:44 PST 2005


sl at whiteants.net wrote:
> 
> I'm so sorry - very poor english.
> I compiling CUPS-1.1.22-23 on solaris 10 at Enterprise Studio10 (SUN C, C++ 5.7).
> In ./pdftops/GfxFont.cxx error in string 972.
> Error on compilation:
> "GfxFont.cxx", line 972: Error: Cannot cast from void* to int.
> In this place i think must be this code:
> 
> int *unShort = (int *)nameToGID->lookup(charName);
> map[i] =(Gushort )*unShort;
> 
> Is this correct?
> 
> Thanks.

The SUN compiler(s) are known to be very strict ever since.
Perhaps you may turn errors like this into warnings, but my
recommendation
would be to install gcc and friends and use that.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list