You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Steve White (Created) (JIRA)" <ji...@apache.org> on 2012/01/25 21:52:41 UTC

[jira] [Created] (THRIFT-1505) Cocoa Generator should use the namespace in generated file names

Cocoa Generator should use the namespace in generated file names
----------------------------------------------------------------

                 Key: THRIFT-1505
                 URL: https://issues.apache.org/jira/browse/THRIFT-1505
             Project: Thrift
          Issue Type: Bug
          Components: Cocoa - Compiler
    Affects Versions: 0.8
            Reporter: Steve White
            Priority: Minor


The files generated by the Cocoa generator don't include the namespace as defined in the IDL. This can lead to confusion, e.g. if you had an IDL named "Limits". Especially issue THRIFT-1504 you have modified your header search path to properly find thrift files, this can lead to an issue where your Thrift generated limits.h file is picked up instead of /usr/include/limits.h

--
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

        

[jira] [Updated] (THRIFT-1505) Cocoa Generator should use the namespace in generated file names

Posted by "Steve White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve White updated THRIFT-1505:
--------------------------------

    Attachment: THRIFT-1505.patch

Attaching patch to use the namespace as a file prefix when generating and importing files.
                
> Cocoa Generator should use the namespace in generated file names
> ----------------------------------------------------------------
>
>                 Key: THRIFT-1505
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1505
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Compiler
>    Affects Versions: 0.8
>            Reporter: Steve White
>            Priority: Minor
>              Labels: patch
>         Attachments: THRIFT-1505.patch
>
>
> The files generated by the Cocoa generator don't include the namespace as defined in the IDL. This can lead to confusion, e.g. if you had an IDL named "Limits". Especially issue THRIFT-1504 you have modified your header search path to properly find thrift files, this can lead to an issue where your Thrift generated limits.h file is picked up instead of /usr/include/limits.h

--
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