You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/14 15:04:04 UTC

[jira] [Resolved] (THRIFT-789) Generated code is invalid when thrift file basename is not a valid Objective-C identifier

     [ https://issues.apache.org/jira/browse/THRIFT-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King III resolved THRIFT-789.
--------------------------------------
       Resolution: Won't Do
         Assignee: James E. King III
    Fix Version/s: 1.0

As support for the older cocoa compiler and library have been removed (see THRIFT-4719), all of the issues in Jira related to that code have also been removed.  For legacy cocoa support you can use version 0.12.0 - everyone is expected to move to swift if they want to use the next release of Thrift.

> Generated code is invalid when thrift file basename is not a valid Objective-C identifier
> -----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-789
>                 URL: https://issues.apache.org/jira/browse/THRIFT-789
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Compiler
>    Affects Versions: 0.1, 0.2, 0.3
>            Reporter: Mathias Herberts
>            Assignee: James E. King III
>            Priority: Major
>             Fix For: 1.0
>
>
> When using thrift file names that contain dots in them (or for that matter any character which is not valid in an Objective-C identifier), the generated code in the '.h' file is invalid as the base file name (returned by t_program->get_name) is used when generating Constant interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)