freetype-devel
[Top][All Lists]
Advanced

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

Re: Bugs, bugs, bugs.


From: Werner LEMBERG
Subject: Re: Bugs, bugs, bugs.
Date: Mon, 31 Jul 2000 19:29:11 +0200 (CEST)

> While common practice the current code is hackish.
> It relies on the fact that the NULL pointer is actually 
> represented as a zero value (which means all bits zero).
> This is true on most modern machines, but is not guaranteed
> by any standard.
> My suggestion:
> 1) use offsetof if it is available
> 2) make an autoconf test for the validity of the current solution

Since we require an ANSI compiler anyway `offsetof' should be
available...


    Werner



reply via email to

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