Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4704

MSVC 2019 needs to be updated to >16.8 to be able to remove insignificant flag for Windows configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.2, 6.3
    • None

    Description

      Currently we are using MSVC 2019 16.8 in CI. Due to this version lupdate's auto test currently fails when it's clang parser is used (error:

      In file included from C:\Users\qt\work\heuristics\main.cpp:33:
      In file included from C:/Users/qt/work/install/include/QtCore\QtCore:4:
      In file included from C:/Users/qt/work/install/include\QtCore/qglobal.h:1466:
      In file included from C:/Users/qt/work/install/include\QtCore/qtypeinfo.h:43:
      In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include\variant:19:
      In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include\xmemory:13:
      In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include\limits:14:
      In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include\intrin0.h:18:
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include\intrin.h:56:1: error: expected function body after
            function declarator
      __MACHINE(void * _AddressOfReturnAddress(void))
      

      lupdate's clang parser fails with Microsoft headers when used with MSVC 2019 16.8 (see this report). In order to be able to remove the insignificant flag for Windows 10 configurations we need to update MSVC 2019 to something more recent.

      Attachments

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

        Activity

          People

            hehalmet Heikki Halmet
            owolff Oliver Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes