You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/02/03 20:04:13 UTC

[jira] [Commented] (THRIFT-1603) Thrift IDL allows for multiple exception names to be the same...

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

Jens Geyer commented on THRIFT-1603:
------------------------------------

Hey, that looks like a duplicate of THRIFT-1835. I will have a look at your solution, it looks better and less complicated than mine. Update follows shortly, thanks so far.

                
> Thrift IDL allows for multiple exception names to be the same...
> ----------------------------------------------------------------
>
>                 Key: THRIFT-1603
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1603
>             Project: Thrift
>          Issue Type: Bug
>         Environment: RedHat 5.5, C++, thrift-0.8.0
>            Reporter: Michael Popovich
>            Assignee: Kamil Sałaś
>            Priority: Trivial
>         Attachments: 0001-Thrift-1603-Provide-unique-names-for-t_struct-elemen.patch
>
>
> I noticed that the Thrift IDL compiler allows for multiple exceptions instances to utilize the same name... This is a problem because when compiling to C++, the generated C++ code will not compile properly:
> service whatever
> {
> void insert(1: string s) throws (1: NS nst, WX wxx, NSTx nst),
> }

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