You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2010/05/20 18:39:16 UTC

[jira] Resolved: (TS-358) cleanup portability including using stdint.h e.g. uint64_t instead of inku64

     [ https://issues.apache.org/jira/browse/TS-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Plevyak resolved TS-358.
-----------------------------

    Resolution: Fixed

We decided by vote to got with int64 instead of int64_t because
%lld is the only portable way to print a 64-bit number and g++
will complain when it is used to print an int64_t because
that is defined as "long" despite the fact that both "long" and
"long long" are 64-bit integers.  See the dev mailing list for
the details.

Commit: r946395

> cleanup portability including using stdint.h e.g. uint64_t instead of inku64
> ----------------------------------------------------------------------------
>
>                 Key: TS-358
>                 URL: https://issues.apache.org/jira/browse/TS-358
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cleanup
>    Affects Versions: 2.1.0
>            Reporter: John Plevyak
>             Fix For: 2.1.1
>
>
> Currently we have a number of "portability" files: ink_port.h Compatiblity.h etc.
> Much of what they do has been supplanted by new standards, like stdint.h
> We need to embrace these standards and cleanup the compatibility code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.