[oe] opkg-sdk_svn build failure

Khem Raj raj.khem at gmail.com
Sun Dec 27 02:24:11 UTC 2009


On (25/11/09 07:49), Graham Gower wrote:
> sizeof returns long unsigned int on x86_64. This is fixed in r365.

sizeof return size_t which is a type in itself so if you want
portability between 32-bit and 64-bit systems you should probably
use 'z' length modifier in printf formats. '%zd' would work correctly
irrespective of word lenght of the processor. You need C99 compliant
compiler though.

Thanks

-Khem

> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list