[
https://issues.apache.org/jira/browse/THRIFT-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16733084#comment-16733084
]
James E. King III commented on THRIFT-2464:
-------------------------------------------
I've been working on Thrift for many years and I never saw cpp_type or
cpp_include before. The very fact they are defined in the IDL is a mistake
introduced by [~mcslee] in 2006. Thrift should provide standard types you can
build on across all languages. I would suggest we actually remove this
language-specific extension from the IDL in the next release. It wouldn't be
too hard to do so. We could always make it a compiler generator option to
support it while it's deprecated, but eventually we would remove it.
> Transition cpp_type and cpp_include keywords to compiler annotations
> --------------------------------------------------------------------
>
> Key: THRIFT-2464
> URL: https://issues.apache.org/jira/browse/THRIFT-2464
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (General)
> Affects Versions: 0.9.2
> Environment: C++
> Reporter: Randy Abernethy
> Assignee: Randy Abernethy
> Priority: Minor
>
> The cpp_type and cpp_include keywords provide a useful feature but are
> language specific. In keeping with the trend of moving the interface language
> to a clean cross implementation language abstraction, these two keywords
> should be transitioned to annotations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)