[klibc] Fix size of size_t on parisc
Jeff Bailey
jbailey at ubuntu.com
Fri Dec 9 13:53:20 PST 2005
Le vendredi 09 décembre 2005 à 13:12 -0800, H. Peter Anvin a écrit :
> Jeff Bailey wrote:
> > On parisc-linux, gcc defines size_t as unsigned int:
> >
> > # 1 "<built-in>"
> > #define __SIZE_TYPE__ unsigned int
> >
> > This mismatch causes dash to fail to build because of a malloc parameter
> > mismatch.
> >
>
> Hmmm... do we know how far back that gcc has had these defines? In many
> ways the cleanest would be to simply use them.
gcc-2.95 on x86 had it. I don't have access to an older compiler than
that, but I think gcc-2.95 is the earliest to reasonably care about.
Tks,
Jeff Bailey
* Canonical Ltd * Ubuntu Service and Support * +1 514 691 7221 *
Linux for Human Beings.
More information about the klibc
mailing list