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

lots of C2139 errors on Visual Studio 2017 15.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.11
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None
    • Environment:
      Visual Studio 2017 15.8.1 Enterprise on Windows 10 Enterprise x64 1803
    • Platform/s:
      Windows

      Description

      There are a lots of error C2139 on recently released Visual Studio 2017 15.8, to compile on 15.8 first you need to edit both of ..\qtwebkit\Source\cmake\OptionsQt.cmake & ..\qtwebkit\Source\cmake\OptionsWin.cmake (near at the end of line) with the following :

      if (MSVC)
       add_compile_options(/D_ENABLE_EXTENDED_ALIGNED_STORAGE)
      endif ()

      Example errors :

      error C2139: 'WebKit::WebNavigationDataStore': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_assignable'
      

        Attachments

        1. build.zip
          401 kB
        2. qtwebkit.patch
          4 kB

          Issue Links

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

            Activity

              People

              Assignee:
              annulen Konstantin Tokarev
              Reporter:
              echelon Aditya Nugraha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes