You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2011/02/27 20:27:36 UTC

[jira] Resolved: (THRIFT-1070) C++ compiler and runtime have 32/64bit problems

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

Roger Meier resolved THRIFT-1070.
---------------------------------

    Resolution: Fixed
      Assignee: Rich Salz

Thanks Rich! Committed your patch.

> C++ compiler and runtime have 32/64bit problems
> -----------------------------------------------
>
>                 Key: THRIFT-1070
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1070
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.6
>            Reporter: Rich Salz
>            Assignee: Rich Salz
>         Attachments: jira1070.pch
>
>
> When compiling thrift with a 64bit G++ and a strict set of warnings, some errors come up.  The code assumes that sizeof(size_t)==sizeof(int32_t).  Since most of these problems are related to the wire protocol, which defines a four-byte size, the fixes are straightforward casting.
> We'll provide a patch shortly.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira