You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/04/18 00:43:18 UTC

[jira] [Updated] (TS-1829) Hardcoded numeric values exceed capacity of 'long' data type on 32-bit

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

Leif Hedstrom updated TS-1829:
------------------------------

    Fix Version/s: 3.3.3
    
> Hardcoded numeric values exceed capacity of 'long' data type on 32-bit
> ----------------------------------------------------------------------
>
>                 Key: TS-1829
>                 URL: https://issues.apache.org/jira/browse/TS-1829
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Stats
>            Reporter: Nick Kew
>             Fix For: 3.3.3
>
>
> Compile failure:
> cc1plus: warnings being treated as errors
> RecUtils.cc:79: error: integer constant is too large for ‘long’ type
> RecUtils.cc:101: error: integer constant is too large for ‘long’ type
> make[2]: *** [libreclocal_a-RecUtils.o] Error 1
> Either the datatype needs changing to be explicitly 64-bit, or the values 0x7fffffffffffffff and 0x8000000000000000 need switching to a platform-sensitive LONG_MAX construct.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira