[ECOS] JFFS2 eCos port updated.
Jonathan Larmour
jifl@eCosCentric.com
Thu Jan 30 00:59:00 GMT 2003
David Woodhouse wrote:
>
> The people doing the x86_64 Linux port bitched at me because gcc was
> bitching at them, because their size_t wasn't an int (according to gcc)
> and I was printing it with %d.
printf("%lu", (unsigned long)size)
? :-)
> TBH I'm not 100% convinced Linux printk actually does %zd either -- it
> seems to support %Zd instead, bizarrely. I suspect I'll need to fix that
> too :)
Yep, C99 knows nothing of the Z qualifier. Wouldn't be the first time that
C99 or POSIX 1003-1.2001 have copied ideas from the world outside, but
slightly modified the semantics :-|.
Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
More information about the Ecos-patches
mailing list