You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Marco Molteni (JIRA)" <ji...@apache.org> on 2015/04/11 10:29:12 UTC

[jira] [Updated] (THRIFT-3090) cmake build is broken

     [ https://issues.apache.org/jira/browse/THRIFT-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Molteni updated THRIFT-3090:
----------------------------------
    Description: 
A current version of apache/thrift on github as of 2015-04-10 doesn't build with cmake due to multiple errors:
- some C++ targets fail to link with missing symbols, because they do not link against the `thrift` library
- the c_glib test targets fail to build because the reference to `shared_ptr` is considered ambiguous by the compiler (it resolves to both boost and stdlib shared_ptr)

See pull request https://github.com/apache/thrift/pull/434

  was:
A current version of apache/thrift on github as of 2015-04-10 doesn't build with cmake due to multiple errors:
- some C++ targets fail to link with missing symbols, because they do not link against the `thrift` library
- the c_glib test targets fail to build because the reference to `shared_ptr` is considered ambiguous by the compiler (it resolves to both boost and stdlib shared_ptr)

This makes me wonder about the overall status of cmake support.

In any case, I am opening this issue in order to create a github pull request with a fix.

    Environment: 
Mac OS X 10.10.3
C++ compiler: Apple system compiler (clang), Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
boost 1.57
cmake 3.2.1

> cmake build is broken
> ---------------------
>
>                 Key: THRIFT-3090
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3090
>             Project: Thrift
>          Issue Type: Bug
>         Environment: Mac OS X 10.10.3
> C++ compiler: Apple system compiler (clang), Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
> boost 1.57
> cmake 3.2.1
>            Reporter: Marco Molteni
>
> A current version of apache/thrift on github as of 2015-04-10 doesn't build with cmake due to multiple errors:
> - some C++ targets fail to link with missing symbols, because they do not link against the `thrift` library
> - the c_glib test targets fail to build because the reference to `shared_ptr` is considered ambiguous by the compiler (it resolves to both boost and stdlib shared_ptr)
> See pull request https://github.com/apache/thrift/pull/434



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)