qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-990) [C++ binding] Examples fail to link in Visual Studio 2012, 2015
Date Wed, 09 Sep 2015 21:15:45 GMT

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

ASF subversion and git services commented on PROTON-990:
--------------------------------------------------------

Commit fe6e2abe8d0b4ab85ab3074e6bdcd44c05ccd7e4 in qpid-proton's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=fe6e2ab ]

PROTON-990 [C++ binding] Examples fail to link in Visual Studio 2012, 2015

File missing from previous commit.


> [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
>
> 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)

Mime
View raw message