Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8013

Windows: Compile error in Templates.cpp

    XMLWordPrintable

Details

    • be8aa2cee0cc903f37694b1b3f4efe2c94dab01d

    Description

      ..\..\..\..\src\libs\3rdparty\cplusplus\Templates.cpp(522) : error C2440: 'initializing' : cannot convert from 'std::_Tree_const_iterator<_Mytree>' to 'std::_Tree_const_iterator<_Mytree>'
      with
      [
      _Mytree=std::_Tree_val<std::_Tmap_traits<const CPlusPlus::Name *,CPlusPlus::FullySpecifiedType,CPlusPlus::Name::Compare,std::allocator<std::pair<const CPlusPlus::Name *const ,CPlusPlus::FullySpecifiedType>>,false>>
      ]
      and
      [
      _Mytree=std::_Tree_val<std::_Tmap_traits<const CPlusPlus::Name *,CPlusPlus::FullySpecifiedType,std::less<const CPlusPlus::Name *>,std::allocator<std::pair<const CPlusPlus::Name *const ,CPlusPlus::FullySpecifiedType>>,false>>
      ]
      No constructor could take the source type, or constructor overload resolution was ambiguous
      ..\..\..\..\src\libs\3rdparty\cplusplus\Templates.cpp(523) : error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or there is no acceptable conversion)
      with
      [
      _Mytree=std::_Tree_val<std::_Tmap_traits<const CPlusPlus::Name *,CPlusPlus::FullySpecifiedType,std::less<const CPlusPlus::Name *>,std::allocator<std::pair<const CPlusPlus::Name *const ,CPlusPlus::FullySpecifiedType>>,false>>
      ]
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup]
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes