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

qv4arraybuffer.cpp fails to build with ambiguous type conversion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0.0
    • 6.0.0
    • None
    • MacOS 10.15, XCode 11.5
      Ubuntu 18.04
      Windows 10, MSVC 2019
    • Linux/X11, macOS, Windows

    Description

      qv4arraybuffer.cpp fails to build on Mac/Linux with the error:

       

      jsruntime/qv4arraybuffer.cpp:190:12: error: ambiguous conversion for functional-style cast from 'qsizetype' (aka 'long long') to 'QV4::Encode'
          return Encode(a->d()->data()->size);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~

       

      Would getting https://codereview.qt-project.org/c/qt/qtdeclarative/+/286105 integrated correct this?

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes