You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Rich Salz (JIRA)" <ji...@apache.org> on 2011/02/23 17:30:39 UTC
[jira] Updated: (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 ]
Rich Salz updated THRIFT-1070:
------------------------------
Patch Info: [Patch Available]
> 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
>
> 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