You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2011/02/23 18:42:38 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12998467#comment-12998467 ]
David Reiss commented on THRIFT-1070:
-------------------------------------
This looks fine. What were the errors and warnings?
> 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
> 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