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 2016/04/04 20:53:26 UTC

[jira] [Closed] (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 closed THRIFT-2027.
--------------------------------
    Resolution: Fixed

> 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
>            Assignee: Ben Craig
>            Priority: Minor
>             Fix For: 0.10.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 was sent by Atlassian JIRA
(v6.3.4#6332)