You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/08/21 17:42:52 UTC

[jira] [Updated] (THRIFT-2027) Minor 64-bit and NOMINMAX issues in C++ library

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

Jake Farrell updated THRIFT-2027:
---------------------------------

    Component/s: C++ - Library
    
> Minor 64-bit and NOMINMAX issues in C++ library
> -----------------------------------------------
>
>                 Key: THRIFT-2027
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2027
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: 64-bit.  Windows without NOMINMAX set.
>            Reporter: Ben Craig
>            Priority: Minor
>             Fix For: 1.0
>
>         Attachments: misc_minor.patch
>
>
> TNonblockingServer and THttpServer have size_t -> uint32_t truncations.
> TZlibTransport calls std::min without enclosing it in parens.  This is a really minor issue, since we technically build with NOMINMAX in the environment (which fixes the problem), but I have a strange personal goal of being able to build without setting NOMINMAX.

--
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