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

Nobuaki Sukegawa commented on THRIFT-2520:
------------------------------------------

It was caused by "nodist_libtestgencpp_la" build target inside 
test/cpp/Makefile.am not having "ThriftTest.cpp" file.
Since this .cpp file was effectively empty up until now, this has never been an 
issue.

I updated the pull request with the fix.

> cpp:cob_style generates incorrect .tcc file
> -------------------------------------------
>
>                 Key: THRIFT-2520
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2520
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 1.0
>         Environment: Linux gcc
>            Reporter: Nobuaki Sukegawa
>
> With cob_style switch, thrift compiler generates non-template method 
> definitions into .tcc files, which results in link errors whenever you 
> include a service header from multiple implementation files.
> Moving non-template methods to .cpp file resolves the problem.
> This problem is present only in recent master branch.
> pull request url:
> https://github.com/apache/thrift/pull/118



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to