[klibc] Fix size of size_t on parisc

Jeff Bailey jbailey at ubuntu.com
Fri Dec 9 14:07:38 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.

Thanks to Kyle McMartin for this.  gcc-2.7.2 had it as well.

* Canonical Ltd * Ubuntu Service and Support * +1 514 691 7221 *

Linux for Human Beings.



More information about the klibc mailing list