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

'GLsizeiptr' and 'GLintptr': redefinition; different basic types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.11.0 Beta 2
    • 5.11.0 Beta 2
    • WebEngine
    • None
    • Windows 10 (msvc2017-x86) on Windows 10 (msvc2017-x86_64) - DebugAndRelease, Release, ForceDebugInfo, OpenGLDynamic, AbortTestingOnFirstFailure
    • ce0ea1aa995ac5ee85caf5a131b9e82c6361e6d9

    Description

      https://codereview.qt-project.org/#/c/222374/ Move MSVC2017 x86 builds to 64bit host OS

      with another few provisioning changes in qt5 5.11

      http://coin/coin/integration/qt/qt5/tasks/1520653135

      http://coin/coin/api/results/qt/qtwebengine/920197b511cd44a4c07a9086aee0976563cc618b/WindowsWindows_10x86_64WindowsWindows_10x86MSVC2017qtci-windows-10-x86_64-10-6af1b3DebugAndRelease_Release_ForceDebugInfo_OpenGLDynamic/bfc86dfa2ede8e4aae0dbe85899cbfd34a97f8f9/build_1520659216/log.txt.gz

      [21634/21736] CXX obj/QtWebEngineCore/delegated_frame_node.obj
      FAILED: obj/QtWebEngineCore/delegated_frame_node.obj 
      ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86/cl.exe" /nologo /showIncludes  @obj/QtWebEngineCore/delegated_frame_node.obj.rsp /c C:/Users/qt/work/qt/qtwebengine/src/core/delegated_frame_node.cpp /Foobj/QtWebEngineCore/delegated_frame_node.obj /Fd"obj/QtWebEngineCore_cc.pdb"
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(472): error C2371: 'GLsizeiptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(27): note: see declaration of 'GLsizeiptr'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(473): error C2371: 'GLintptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(26): note: see declaration of 'GLintptr'
      [21635/21736] CXX obj/QtWebEngineCore/content_client_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21636/21736] CXX obj/QtWebEngineCore/content_browser_client_qt.obj
      FAILED: obj/QtWebEngineCore/content_browser_client_qt.obj 
      ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86/cl.exe" /nologo /showIncludes  @obj/QtWebEngineCore/content_browser_client_qt.obj.rsp /c C:/Users/qt/work/qt/qtwebengine/src/core/content_browser_client_qt.cpp /Foobj/QtWebEngineCore/content_browser_client_qt.obj /Fd"obj/QtWebEngineCore_cc.pdb"
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(472): error C2371: 'GLsizeiptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(27): note: see declaration of 'GLsizeiptr'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(473): error C2371: 'GLintptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(26): note: see declaration of 'GLintptr'
      C:/Users/qt/work/qt/qtwebengine/src/core/content_browser_client_qt.cpp(624): warning C4138: '*/' found outside of comment
      [21637/21736] CXX obj/QtWebEngineCore/render_frame_observer_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21638/21736] CXX obj/QtWebEngineCore/access_token_store_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21639/21736] CXX obj/QtWebEngineCore/certificate_error_controller.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21640/21736] CXX obj/QtWebEngineCore/chromium_gpu_helper.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21641/21736] CXX obj/QtWebEngineCore/devtools_frontend_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21642/21736] CXX obj/QtWebEngineCore/content_main_delegate_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21643/21736] CXX obj/QtWebEngineCore/user_resource_controller.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21644/21736] CXX obj/QtWebEngineCore/browser_context_qt.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21645/21736] CXX obj/QtWebEngineCore/web_channel_ipc_transport.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21646/21736] CXX obj/QtWebEngineCore/quota_permission_context_qt.obj
      FAILED: obj/QtWebEngineCore/quota_permission_context_qt.obj 
      ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86/cl.exe" /nologo /showIncludes  @obj/QtWebEngineCore/quota_permission_context_qt.obj.rsp /c C:/Users/qt/work/qt/qtwebengine/src/core/quota_permission_context_qt.cpp /Foobj/QtWebEngineCore/quota_permission_context_qt.obj /Fd"obj/QtWebEngineCore_cc.pdb"
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(472): error C2371: 'GLsizeiptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(27): note: see declaration of 'GLsizeiptr'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(473): error C2371: 'GLintptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(26): note: see declaration of 'GLintptr'
      [21647/21736] CXX obj/QtWebEngineCore/chromium_overrides.obj
      FAILED: obj/QtWebEngineCore/chromium_overrides.obj 
      ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86/cl.exe" /nologo /showIncludes  @obj/QtWebEngineCore/chromium_overrides.obj.rsp /c C:/Users/qt/work/qt/qtwebengine/src/core/chromium_overrides.cpp /Foobj/QtWebEngineCore/chromium_overrides.obj /Fd"obj/QtWebEngineCore_cc.pdb"
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(472): error C2371: 'GLsizeiptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(27): note: see declaration of 'GLsizeiptr'
      c:\Users\qt\work\install\include\QtGui/qopenglext.h(473): error C2371: 'GLintptr': redefinition; different basic types
      C:\Users\qt\work\qt\qtwebengine\src\3rdparty\chromium\gpu/command_buffer/common/gl2_types.h(26): note: see declaration of 'GLintptr'
      [21648/21736] CXX obj/QtWebEngineCore/color_chooser_controller.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      [21649/21736] CXX obj/QtWebEngineCore/browser_context_adapter.obj
      cl : Command line warning D9025 : overriding '/W3' with '/W4'
      cl : Command line warning D9025 : overriding '/O2' with '/O1'
      cl : Command line warning D9025 : overriding '/O1' with '/O2'
      cl : Command line warning D9025 : overriding '/W4' with '/W3'
      ninja: build stopped: subcommand failed.
      NMAKE : fatal error U1077: 'C:\Users\qt\work\qt\qtwebengine\src\3rdparty\ninja\ninja.exe' : return code '0x1'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\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.
      

      Attachments

        Issue Links

          Activity

            People

              michal Michal Klocek
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: