freetype-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Bug#54539: freetype2 abuses va_arg]


From: Werner LEMBERG
Subject: Re: address@hidden: Bug#54539: freetype2 abuses va_arg]
Date: Fri, 14 Jan 2000 17:28:59 GMT

> > > -  numCR = va_arg(vp, UShort);
> > > +  numCR = (UShort)va_arg(vp, int);
> > 
> > Are you sure this is a bug of ttf2pfb and not a bug of Linux
> > resp. gcc on a PowerPC?
> 
> PowerPC had substantially more brain-damaged va_arg support than
> most other platforms until recently, and thus was the first to get
> re-written.  So, at present, it is the only architecture which
> rejects such code with an error (and not a terribly clear error,
> either).  A very near future version of gcc will reject it on any
> platform.

Can you please elaborate why this code will be rejected?  If I
interpret the man pages of va_arg correctly, the code should be OK.


    Werner


reply via email to

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