On Thu, Dec 31, 2009 at 11:03:33AM +1100, Brett Nash wrote:
> > %ld and unsigned int? You must be joking... Defining PRIdMAX and
> > friends can be easily automated.
> 
> Unfortunately although PRIdMAX is useful, I don't believe there is one
> for size_t.  Instead you use the %z modifier, which leads us back to
> where we started.

Well, you can easily define one and force platforms with ancient printf
to a magically defined version matching int/long based on the platform
settings. The code to compute integer sizes is part of autoconf already.
Unless cross-compiling is used, it can be checked for trivially as well.

Joerg

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to