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

'function "Utils::BasicSmallStringVector<String>::operator=(Utils::BasicSmallStringVector<String> &&) [with String=Utils::BasicSmallString<31U>]" ... cannot be referenced -- it is a deleted function' error for ICC builds on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.6.0-beta1
    • All Other Issues

    Description

      Hello everyone,

      For builds using ICC on Windows got errors:

              cd clangsupport\ && ( if not exist Makefile C:\libQT-5.11-dev\ICC64DH\bin\qmake.exe -o Makefile C:\QTCREATOR-4.6.0-dev\build\src\libs\clangsupport\clangsupport.pro "QTC_PREFIX=C:\QTCREATOR-4.6.0-dev\build\..\ICC64DH" ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.Debug
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              icl -c -FIqtcreator_pch.h -Yuqtcreator_pch.h -Fpdebug\Clangsupportd_pch.pch -nologo -Zm200 /Qprec /Qwd1744,1738,809,3373 /Zc:forScope -Zi -MDd -Qstd=c++14 -W3 /Qwd673 -w44996 -EHsc /Fddebug\Clangsupportd.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DWITH_TESTS -D"RELATIVE_PLUGIN_PATH=\"../lib/qtcreator/plugins\"" -D"RELATIVE_LIBEXEC_PATH=\".\"" -D"RELATIVE_DATA_PATH=\"../share/qtcreator\"" -D"RELATIVE_DOC_PATH=\"../share/doc/qtcreator\"" -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DCLANGSUPPORT_BUILD_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"C:/QTCREATOR-4.6.0-dev/build/src/libs/clangsupport\"" -D_WINDLL -I/src/libs/clangsupport -I..\..\..\src -I..\..\..\src -I..\..\libs -IC:/QTCREATOR-4.6.0-dev/build/tools -I..\..\plugins -I..\sqlite -I. -IC:\libQT-5.11-dev\ICC64DH\include -IC:\libQT-5.11-dev\ICC64DH\include\QtWidgets -IC:\libQT-5.11-dev\ICC64DH\include\QtGui -IC:\libQT-5.11-dev\ICC64DH\include\QtANGLE -IC:\libQT-5.11-dev\ICC64DH\include\QtTest -IC:\libQT-5.11-dev\ICC64DH\include\QtConcurrent -IC:\libQT-5.11-dev\ICC64DH\include\QtNetwork -IC:\libQT-5.11-dev\ICC64DH\include\QtCore -Idebug -I"C:\Program Files (x86)\VulkanSDK\include" -IC:\libQT-5.11-dev\ICC64DH\mkspecs\win32-icc -Fodebug\ @C:\Users\test\AppData\Local\Temp\nmB484.tmp
      refactoringserverinterface.cpp
      C:\QTCREATOR-4.6.0-dev\build\src\libs\clangsupport\requestsourcelocationforrenamingmessage.h(129): error: function "Utils::BasicSmallStringVector<String>::operator=(Utils::BasicSmallStringVector<String> &&) [with String=Utils::BasicSmallString<31U>]" (declared at line 81 of "C:\QTCREATOR-4.6.0-dev\build\src\libs\utils\smallstringvector.h") cannot be referenced -- it is a deleted function
            Utils::SmallStringVector m_commandLine;
                                     ^
                detected during implicit generation of "ClangBackEnd::RequestSourceLocationsForRenamingMessage &ClangBackEnd::RequestSourceLocationsForRenamingMessage::operator=(ClangBackEnd::RequestSourceLocationsForRenamingMessage &&)" at line 45
      
      refactoringserverproxy.cpp
      C:\QTCREATOR-4.6.0-dev\build\src\libs\clangsupport\requestsourcelocationforrenamingmessage.h(129): error: function "Utils::BasicSmallStringVector<String>::operator=(Utils::BasicSmallStringVector<String> &&) [with String=Utils::BasicSmallString<31U>]" (declared at line 81 of "C:\QTCREATOR-4.6.0-dev\build\src\libs\utils\smallstringvector.h") cannot be referenced -- it is a deleted function
            Utils::SmallStringVector m_commandLine;
                                     ^
                detected during implicit generation of "ClangBackEnd::RequestSourceLocationsForRenamingMessage &ClangBackEnd::RequestSourceLocationsForRenamingMessage::operator=(ClangBackEnd::RequestSourceLocationsForRenamingMessage &&)" at line 45
      
      requestsourcelocationforrenamingmessage.cpp
      .\requestsourcelocationforrenamingmessage.h(129): error: function "Utils::BasicSmallStringVector<String>::operator=(Utils::BasicSmallStringVector<String> &&) [with String=Utils::BasicSmallString<31U>]" (declared at line 81 of "C:\QTCREATOR-4.6.0-dev\build\src\libs\utils\smallstringvector.h") cannot be referenced -- it is a deleted function
            Utils::SmallStringVector m_commandLine;
                                     ^
                detected during implicit generation of "ClangBackEnd::RequestSourceLocationsForRenamingMessage &ClangBackEnd::RequestSourceLocationsForRenamingMessage::operator=(ClangBackEnd::RequestSourceLocationsForRenamingMessage &&)" at line 45
      
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin\intel64\icl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

       

      Reproduced for:
        - builds using ICC on Wndows,

      not reproduced for:
        - builds using mingw-w64 and MSVC.

       

      Best,

      Alexander

       

      Attachments

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

        Activity

          People

            bubke Marco Bubke
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes