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

qv4arraybuffer.cpp fails to build with ambiguous type conversion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Environment:
      MacOS 10.15, XCode 11.5
      Ubuntu 18.04
      Windows 10, MSVC 2019
    • Platform/s:
      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

            Assignee:
            laknoll Lars Knoll
            Reporter:
            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