[ILUG] gcc and printf style functions

Dave Airlie airlied at csn.ul.ie
Mon Mar 7 06:51:57 GMT 2005


>
> I'd love to know this too.
>
> A lot of "platforms" lack %z for size_t, which makes it quite difficult to
> avoid warnings from compiler for anything which tries to printf a size_t.

yeah I've added a %M for an money specifier for an internal project here,
and gcc spits warnings like crazy on ever use.. most annoying, I think
I'll rebuild the compiler with said warning removed :-)

Dave.

>
> regards,
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG




More information about the ILUG mailing list