[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Bug#54539: freetype2 abuses va_arg]
From: |
Daniel Jacobowitz |
Subject: |
Re: address@hidden: Bug#54539: freetype2 abuses va_arg] |
Date: |
Thu, 13 Jan 2000 13:13:17 -0500 |
User-agent: |
Mutt/1.0i |
On Thu, Jan 13, 2000 at 09:22:15AM +0000, Werner LEMBERG wrote:
>
> > The attached patch fixes a va_arg problem in freetype [1.]2 that
> > prevents it from building on powerpc. If you don't have time to NMU
> > in the next day or to, I will, unless you have a strong objection.
> >
> > ...
> >
> > - 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.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| address@hidden | | address@hidden |
\--------------------------------/ \--------------------------------/