freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling under IRIX 6.5.x using native cc


From: Werner LEMBERG
Subject: Re: Compiling under IRIX 6.5.x using native cc
Date: Mon, 11 Sep 2000 18:32:09 +0200 (CEST)

> I found that the problem is actually in
> "include/internal/ftstream.h" lines 97 and 125 (in freetype2 beta8).
> There is a casting from char* to unsigned short. SGI compilers
> complain about such conversion.  You have to cast (char*) to
> (unsigned int) first and then the (unsigned int) to (unsigned
> short).  The values are always small enough to fit into the shorts.

Please try the current snapshot; we now use the offsetof() macro which
should work on any ANSI C compiler.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]