[ 
https://issues.apache.org/jira/browse/THRIFT-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135660#comment-13135660
 ] 

Hudson commented on THRIFT-1395:
--------------------------------

Integrated in Thrift #307 (See [https://builds.apache.org/job/Thrift/307/])
    THRIFT-1406: Build error after applying THRIFT-1395
Client: delphi
Patch: Jens Geyer

Fixes build failure due to t_delphi_generator.cc:780: error: integer constant 
is too 
large for 'long' type

jfarrell : http://svn.apache.org/viewvc/?view=rev&rev=1189006
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_delphi_generator.cc

                
> 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
>            Assignee: Jens Geyer
>             Fix For: 0.8
>
>         Attachments: 
> THRIFT-1395_Patch_to_prevent_warnings_for_integer_types_in_some_cases_rev2.patch
>
>
> 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

        

Reply via email to