You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/21 23:38:34 UTC
[jira] [Commented] (QPID-6241) Windows build fails VS2010, x64
[ https://issues.apache.org/jira/browse/QPID-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221520#comment-14221520 ]
ASF subversion and git services commented on QPID-6241:
-------------------------------------------------------
Commit 1641014 from chug@apache.org in branch 'qpid/trunk'
[ https://svn.apache.org/r1641014 ]
QPID-6241: Windows build fails. Add c-style cast to 0 for creating a null pointer.
> Windows build fails VS2010, x64
> -------------------------------
>
> Key: QPID-6241
> URL: https://issues.apache.org/jira/browse/QPID-6241
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.31
> Environment: Visual Studio 2010, x64
> Reporter: Chuck Rolke
> Assignee: Chuck Rolke
>
> {noformat}
> 2>------ Build started: Project: amqp, Configuration: Debug x64 ------
> 2> Session.cpp
> 2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility(163): error C2440: 'initializing' : cannot convert from 'int' to 'qpid::broker::TxBuffer *'
> 2> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
> 2> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility(247) : see reference to function template instantiation 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,_Ty>(_Other1 &&,_Other2 &&)' being compiled
> 2> with
> 2> [
> 2> _Ty1=qpid::broker::TxBuffer *,
> 2> _Ty2=uint64_t,
> 2> _Ty=int,
> 2> _Other1=int,
> 2> _Other2=int
> 2> ]
> 2> ..\..\cpp\src\qpid\broker\amqp\Session.cpp(742) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2>::pair<int,int>(_Other1 &&,_Other2 &&)' being compiled
> 2> with
> 2> [
> 2> _Ty1=qpid::broker::TxBuffer *,
> 2> _Ty2=uint64_t,
> 2> _Other1=int,
> 2> _Other2=int
> 2> ]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org