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

lots of C2139 errors on Visual Studio 2017 15.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11
    • WebKit
    • None
    • Visual Studio 2017 15.8.1 Enterprise on Windows 10 Enterprise x64 1803
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated: