On 2/10/2012 08:24, Jim Michaels wrote:
> is PRIdu4 some sort of built-in macro?
> 
> 
> 
> I will probably use the %Iu since it works with either platform and most 
> implementations use size_t for their definitions of size_type (but not 
> everything is in g++!). 
> I tried 
> find . -exec egrep "typedef[ \t].*[ \t]size_type;" {} ; -print
> and got some very interesting answers...
> 

Hi,

%Iu isn't very useful outside of Windows.

I'm surprised you have not heard of stdint.h and inttypes.h, yes, they
are part of the C99 macros, simply include inttypes.h and stdint.h to
make it work.

Starting with MSVC 2010, MS has provided stdint.h, but not inttypes.h,
see <https://code.google.com/p/msinttypes/> for msvc versions.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to