You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kenjiro Fukumitsu (Commented) (JIRA)" <ji...@apache.org> on 2011/10/19 03:23:13 UTC
[jira] [Commented] (THRIFT-1395) Patch to prevent warnings for
integer types in some cases
[ https://issues.apache.org/jira/browse/THRIFT-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130299#comment-13130299 ]
Kenjiro Fukumitsu commented on THRIFT-1395:
-------------------------------------------
Hi.
I think values should be compared to 0x7F(FF)*, not 0x7F(00)*.
> Patch to prevent warnings for integer types in some cases
> ---------------------------------------------------------
>
> Key: THRIFT-1395
> URL: https://issues.apache.org/jira/browse/THRIFT-1395
> Project: Thrift
> Issue Type: Improvement
> Affects Versions: 0.8
> Environment: Windows
> Reporter: Jens Geyer
> Attachments: THRIFT-1395_Patch_to_prevent_warnings_for_integer_types_in_some_cases.zip
>
>
> Constants such as i32 = 0x80000000 produce a Delphi warning. The current code renders such values as positive integer, which needs an explicit typecast to satisfy the Delphi compiler.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira