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

Hudson commented on THRIFT-2201:
--------------------------------

FAILURE: Integrated in Thrift #913 (See 
[https://builds.apache.org/job/Thrift/913/])
THRIFT-2201: Ternary operator returns different types (build error for 
(bencraig: rev 836d95f9f00be73c6936d407977796181d1a506c)
* compiler/cpp/src/generate/t_rb_generator.cc
* compiler/cpp/src/generate/t_java_generator.cc

                
> Ternary operator returns different types (build error for some compilers)
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-2201
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2201
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler, Ruby - Compiler
>    Affects Versions: 1.0
>         Environment: All
>            Reporter: Randy Abernethy
>            Assignee: Randy Abernethy
>            Priority: Critical
>             Fix For: 0.9.2
>
>         Attachments: 
> 0001-some-generators-use-ternary-expression-returning-dif.patch
>
>
> The ruby and java generators use the ternary operator in spots where the true 
> and false expressions return different types. This is a compile error for 
> some compilers (VC12 in particular). The attached patch repairs this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to