Ben Greear wrote:
>
> Will add an #ifdef that could be twiddled in scons.

Excellent...

>
>> * %llu is not a portable format specifier, and 'unsigned long long' is
>> not a portable type, please don't use them in portable code.
>
> Ok, I can use uint64_t, but what do you use instead of %llu to print it?

%j and intmax_t is ISO C99 portable. It sucks because it means casting 
to the widest integer type on the platform, but it's a known quantity. 
'long long' has been a problem since well before Sun brought out SPARCV9.

cheers,
BMS

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to