Andrew Stitcher created PROTON-1101:
---------------------------------------

             Summary: Proton build broken on Visual Studio 10
                 Key: PROTON-1101
                 URL: https://issues.apache.org/jira/browse/PROTON-1101
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: 0.12.0
            Reporter: Andrew Stitcher
            Assignee: Cliff Jansen
            Priority: Blocker


Getting an error message:
{noformat}
7>ClCompile:
         Compiling...
         connection_engine.cpp
         error.cpp
         event.cpp
         link.cpp
         link_options.cpp
7>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(740): 
error C2593: 'operator !=' is ambiguous 
[C:\Jenkins\jobs\proton-master-vs10-win32\workspace\bld-trunk\proton-c\bindings\cpp\qpid-proton-cpp.vcxproj]
                 c:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include\xmemory(268): could be 'bool std::operator 
!=<std::pair<_Ty1,_Ty2>,std::pair<_Ty1,_Ty2>>(const std::allocator<_Ty> &,const 
std::allocator<_Ty> &) throw()'
                 with
                 [
                     _Ty1=const std::string,
                     _Ty2=proton::scalar,
                     _Ty=std::pair<const std::string,proton::scalar>
                 ]
                 
C:\Jenkins\jobs\proton-master-vs10-win32\workspace\src\proton-c\bindings\cpp\include\proton/types.hpp(88):
 or       'bool proton::operator !=<std::allocator<_Ty>>(const T &,const T &)' 
[found using argument-dependent lookup]
                 with
                 [
                     _Ty=std::pair<const std::string,proton::scalar>,
                     T=std::allocator<std::pair<const 
std::string,proton::scalar>>
                 ]
                 while trying to match the argument list '(std::allocator<_Ty>, 
std::allocator<_Ty>)'
                 with
                 [
                     _Ty=std::pair<const std::string,proton::scalar>
                 ]
                 c:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include\xtree(737) : while compiling class template member function 
'void std::_Tree<_Traits>::_Assign_rv(std::_Tree<_Traits> &&)'
                 with
                 [
                     
_Traits=std::_Tmap_traits<std::string,proton::scalar,std::less<std::string>,std::allocator<std::pair<const
 std::string,proton::scalar>>,false>
                 ]
                 c:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include\map(81) : see reference to class template instantiation 
'std::_Tree<_Traits>' being compiled
                 with
                 [
                     
_Traits=std::_Tmap_traits<std::string,proton::scalar,std::less<std::string>,std::allocator<std::pair<const
 std::string,proton::scalar>>,false>
                 ]
                 
C:\Jenkins\jobs\proton-master-vs10-win32\workspace\src\proton-c\bindings\cpp\include\proton/message.hpp(243)
 : see reference to class template instantiation 'std::map<_Kty,_Ty>' being 
compiled
                 with
                 [
                     _Kty=std::string,
                     _Ty=proton::scalar
                 ]
         messaging_adapter.cpp
{noformat}



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

Reply via email to