You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jinius (JIRA)" <qp...@incubator.apache.org> on 2010/06/11 03:31:15 UTC
[jira] Commented: (QPID-2643) trunk build failed under VS10 x64.
[ https://issues.apache.org/jira/browse/QPID-2643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877685#action_12877685 ]
Jinius commented on QPID-2643:
------------------------------
The way to fix :
add one line
typedef ValuePtr value_type;
in include/qpid/framing/List.h after line : 42.
this bug is cause by the vs2010's stl implementation need value_type for stl contaniner.
> trunk build failed under VS10 x64.
> -----------------------------------
>
> Key: QPID-2643
> URL: https://issues.apache.org/jira/browse/QPID-2643
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: visual studio 2010 c++ express
> Reporter: Jinius
> Priority: Minor
> Fix For: 0.7
>
>
> nmake compile failed at
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(142) : error C2039: 'value_type' : is not a memb
> er of 'qpid::framing::List'
> C:\A.svn_qpid\cpp\include\qpid/framing/List.h(40) : see declaration of 'qpid::framing::List'
> C:\A.svn_qpid\cpp\src\qpid\amqp_0_10\Codecs.cpp(51) : see reference to class template instantiation 'std::insert
> _iterator<_Container>' being compiled
> with
> [
> _Container=qpid::framing::List
> ]
> C:\svn_qpid\cpp\src\qpid\amqp_0_10\Codecs.cpp(83) : see reference to function template instantiation 'void qpi
> d::amqp_0_10::convert<qpid::types::Variant::List,qpid::framing::List,boost::shared_ptr<T>(__cdecl *)(const qpid::types::
> Variant &)>(const std::list<_Ty> &,U &,F)' being compiled
> with
> [
> T=qpid::framing::FieldValue,
> _Ty=qpid::types::Variant,
> U=qpid::framing::List,
> F=boost::shared_ptr<qpid::framing::FieldValue> (__cdecl *)(const qpid::types::Variant &)
> ]
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(149) : error C2182: '_Val' : illegal use of type
> 'void'
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(156) : error C2182: '_Val' : illegal use of type
> 'void'
> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org