You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christian Lavoie (JIRA)" <ji...@apache.org> on 2010/10/16 16:51:22 UTC
[jira] Updated: (THRIFT-950) Haskell bindings treat 'byte' as
unsigned 8-bit int (Data.Word.Word8), java/cpp as signed (byte/int8_t).
[ https://issues.apache.org/jira/browse/THRIFT-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie updated THRIFT-950:
------------------------------------
Attachment: v1-haskell-use-int8-for-byte.patch
THIS BREAKS EXISTING CODE -- however, the current state of affairs is very sad: Haskell systems understand byte values between 0..255, other bindings between -128..127
> Haskell bindings treat 'byte' as unsigned 8-bit int (Data.Word.Word8), java/cpp as signed (byte/int8_t).
> --------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-950
> URL: https://issues.apache.org/jira/browse/THRIFT-950
> Project: Thrift
> Issue Type: Bug
> Components: Haskell - Compiler, Haskell - Library
> Affects Versions: 0.5, 0.6
> Environment: thrift-0.5.0
> Reporter: Christian Lavoie
> Assignee: Christian Lavoie
> Fix For: 0.6
>
> Attachments: v1-haskell-use-int8-for-byte.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.