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

WASM related compiler warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.0
    • Core: Other
    • None
    • WebAssembly

    Description

      When compiling a small example with em++ 1.39.8 I get these warnings in QtCore

      In file included from ../qt515wasm/include/QtCore/QtCore:5:
      In file included from ../qt515wasm/include/QtCore/iqthooks.h:5:
      In file included from ../qt515wasm/include/QtCore/qstring.h:50:
      
      ../qt515wasm/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
      
          inline QByteRef &operator=(const QByteRef &c)
      
                           ^
      
      ../qt515wasm/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here
      
      { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); }                                ^
      

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              alexj Alexander Jährling
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes