Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63713

MSVC: ''CLIENT_ID': redefinition; different basic types' error for builds on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.0 Beta 3
    • 5.10.0 Beta 2, 5.11
    • WebEngine
    • None
    •  * Windows 10 x64,
       * MSVC 2017 15.4.0,
       * Windows SDK 10.0.16299.15,
       * Qt-5.11-dev (ef983c6a3b1900455937c4a2b80621a9f9937319).

    Description

      Hello everyone,

       

      For builds using MSVC got error:

              ( if not exist Makefile.gn_run c:\libQT-5.11-dev\build_20171011124033.936\qtbase\bin\qmake.exe -o Makefile.gn_run c:\libQT-5.11-dev\build_20171011124033.936\qtwebengine\src\core\gn_run.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.gn_run
      
      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.gn_run.Release
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              call c:\libQT-5.11-dev\build_20171011124033.936\qtwebengine\src\core\ninja_wrapper.bat  -C c:\libQT-5.11-dev\build_20171011124033.936\qtwebengine\src\core\release QtWebEngineCore
      ninja: Entering directory `c:\libQT-5.11-dev\build_20171011124033.936\qtwebengine\src\core\release'
      [17/16139] CXX obj/third_party/crashpad/crashpad/util/util/nt_internals.obj
      FAILED: obj/third_party/crashpad/crashpad/util/util/nt_internals.obj
      ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64/cl.exe" /nologo /showIncludes /FC @obj/third_party/crashpad/crashpad/util/util/nt_internals.obj.rsp /c ../../3rdparty/chromium/third_party/crashpad/crashpad/util/win/nt_internals.cc /Foobj/third_party/crashpad/crashpad/util/util/nt_internals.obj /Fd"obj/third_party/crashpad/crashpad/util/util_cc.pdb"
      c:\libqt-5.11-dev\build_20171011124033.936\qtwebengine\src\3rdparty\chromium\third_party\crashpad\crashpad\util\win\nt_internals.cc(22): error C2371: 'CLIENT_ID': redefinition; different basic types
      c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winternl.h(83): note: see declaration of 'CLIENT_ID'
      [30/16139] CXX obj/base/i18n/time_formatting.obj
      ninja: build stopped: subcommand failed.
      NMAKE : fatal error U1077: 'call' : return code '0x1'
      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: '(' : 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.

      which relate to recently released MSVC 2017 15.4.0.

       

      Reproduced for:
        - Qt5-dev (cdab32be2368ffd234c9ace4233916cfc3682563) builds using MSVC 2017 15.4.0 (cl v19.11.25547) with Windows 10 SDK 10.0.16299.15,

      not reproduced for:

        - Qt5-dev (cdab32be2368ffd234c9ace4233916cfc3682563) builds using MSVC 2017 15.3.3 (cl v19.11.25507) with Windows 10 SDK 10.0.15063.468.

       

      Best,

      Alexander

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-63713
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              sav sav
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes