You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kevin Wooten (JIRA)" <ji...@apache.org> on 2015/07/06 01:26:04 UTC

[jira] [Commented] (THRIFT-1790) cocoa: Duplicate interface definition error

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

Kevin Wooten commented on THRIFT-1790:
--------------------------------------

In my changes for THRIFT-2905, I have fixed this as well.  PR is here https://github.com/apache/thrift/pull/539

> cocoa: Duplicate interface definition error
> -------------------------------------------
>
>                 Key: THRIFT-1790
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1790
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Compiler
>    Affects Versions: 0.8
>         Environment: with Xcode on Mac OS X.
>            Reporter: HIRANO Satoshi
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The following IDL file always produces two "ping_args" classes in the generated objective-C source file and causes "Duplicate interface definition for class 'ping_args'" error.
> The class name should be Foo_ping_args and Bar_ping_args.
> --------------------------------
> service Foo {
>    void ping(1:string msg)
> }
> service Bar {
>    void ping(1:string msg)
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)