[ https://issues.apache.org/jira/browse/THRIFT-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570041#comment-13570041 ]
Hudson commented on THRIFT-1603: -------------------------------- Integrated in Thrift #622 (See [https://builds.apache.org/job/Thrift/622/]) THRIFT-1603 Thrift IDL allows for multiple exceptions, args or struct member names to be the same (Revision 3a67c2f834119b8a1148ab071443c8d12ce207a1) Result = SUCCESS jensg : https://git-wip-us.apache.org/repos/asf?p=thrift.git&a=commit&h=3a67c2f834119b8a1148ab071443c8d12ce207a1 Files : * compiler/cpp/src/thrifty.yy * compiler/cpp/src/parse/t_struct.h > Thrift IDL allows for multiple exceptions, args or struct member 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 > Fix For: 1.0 > > 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