[
https://issues.apache.org/jira/browse/PROTON-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742121#comment-14742121
]
Clemens Vasters commented on PROTON-990:
----------------------------------------
Unfortunately this fix introduced another set of issues on OSX/AppleClang 6.1.0
conversion_test.cpp fails to compile with three errors:
Line 36: No viable constructor copying variable of type std::unique_ptr<session>
Line 37: No viable constructor copying variable of type std::unique_ptr<session>
Line 58: No viable constructor copying variable of type std::unique_ptr<message>
> [C++ binding] Examples fail to link in Visual Studio 2012, 2015
> ---------------------------------------------------------------
>
> Key: PROTON-990
> URL: https://issues.apache.org/jira/browse/PROTON-990
> Project: Qpid Proton
> Issue Type: Bug
> Affects Versions: 0.10
> Environment: Windows Visual Studio 2012, 2015
> Reporter: Chuck Rolke
> Fix For: 0.11
>
>
> Issue reported by Clemens Vasters
> Trying to build current qpid-proton master on Windows with Visual Studio 2015
> (MSVC 19) and I'm getting linker errors for std::auto_ptr for all the
> examples in examples/cpp
> The errors all look largely the same and are all about auto_ptr, so I just
> give one:
> {noformat}
> sync_client.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static class std::auto_ptr<class
> proton::message> __cdecl proton::message::create(void)"
> (__imp_?create@message@proton@@SA?AV?$auto_ptr@Vmessage@proton@@@std@@XZ)
> referenced in function "public: __thiscall
> proton::message_value::message_value(void)" (??0message_value@proton@@QAE@XZ)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)