freetype
[Top][All Lists]
Advanced

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

Re: [ft] question regarding use of volatile in Freetype


From: Detlef Würkner
Subject: Re: [ft] question regarding use of volatile in Freetype
Date: Thu, 06 Dec 2007 16:11:57 +0100

address@hidden (JULIAN GARDNER) wrote:

> I did a grep and found volatiles used in numerous places, can someone
> please explain why they are being used, as i understand and have used in
> the past ..... years freetype should not need volatiles, there are no
> interrupt calls and no way in which data should be changed without a call
> into the freetype engine?

IIRC using setjmp() and longjmp() with some versions of gcc requires
declaring some variables as "volatile" or it may clobber them.

Ciao, Detlef
-- 
_ // address@hidden
\X/  Detlef Wuerkner, Langgoens/Germany




reply via email to

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