Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



In article 
<CALHoKCbNO1CGV067xXzzp249P+moA21FtqYfqkuVRPnjQZgnHA%mail.gmail.com@localhost>,
Lourival Vieira Neto  <lneto%netbsd.org@localhost> wrote:
>Hi Valery,
>
>On Tue, Dec 3, 2013 at 11:58 AM, Valery Ushakov <uwe%stderr.spb.ru@localhost> 
>wrote:
>> On Tue, Dec 03, 2013 at 11:45:15 -0200, Lourival Vieira Neto wrote:
>>
>>> Also, moving to intmax_t, would help in string library. It needs a
>>> length modifier for string.format (LUA_INTFRMLEN). AFAIK, there is no
>>> length modifier defined for int64_t. Using intmax_t we could just use
>>> "j".
>>
>> There is: PRId64 &c.
>
>I think PRI/SCNd64 are conversion specifiers. In practice, I think
>they will always expand to the same thing. But the standard
>differentiates these two kind of specifiers. Doesn't it?

They don't. On i386 for example PRId64 expands to "lld" and on amd64
it expands to "ld".

christos



Home | Main Index | Thread Index | Old Index