Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1101

Proton build broken on Visual Studio 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • proton-0.12.0
    • proton-0.12.0
    • cpp-binding
    • None

    Description

      Getting an error message:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: