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

build error: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]

    XMLWordPrintable

    Details

    • Commits:
      23f1c1713ac161d62e330f98b03472be59def5b2 (qt/qtdeclarative/5.15) ef6e4be793ac836de6c73ed8f0dc47b3327d3296 (qt/qtdeclarative/dev)

      Description

      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::setGroupCount(int)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:343:57: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   343 |     m_end = iterator(&m_ranges, 0, Default, m_groupCount);
      agent:2020/08/12 22:01:29 build.go:264:       |                                                         ^
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:344:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   344 |     m_cacheIt = m_end;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘TestNamespace::QQmlListCompositor::iterator TestNamespace::QQmlListCompositor::find(TestNamespace::QQmlListCompositor::Group, int)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:367:67: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   367 |         m_cacheIt = iterator(m_ranges.next, 0, group, m_groupCount);
      agent:2020/08/12 22:01:29 build.go:264:       |                                                                   ^
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘TestNamespace::QQmlListCompositor::iterator TestNamespace::QQmlListCompositor::insert(TestNamespace::QQmlListCompositor::iterator, void*, int, int, uint, TestNamespace::QVector<TestNamespace::QQmlListCompositor::Insert>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:501:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   501 |     m_cacheIt = before;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::setFlags(TestNamespace::QQmlListCompositor::iterator, int, TestNamespace::QQmlListCompositor::Group, uint, TestNamespace::QVector<TestNamespace::QQmlListCompositor::Insert>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:612:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   612 |     m_cacheIt = from;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::clearFlags(TestNamespace::QQmlListCompositor::iterator, int, TestNamespace::QQmlListCompositor::Group, uint, TestNamespace::QVector<TestNamespace::QQmlListCompositor::Remove>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:727:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   727 |     m_cacheIt = from;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::move(TestNamespace::QQmlListCompositor::Group, int, TestNamespace::QQmlListCompositor::Group, int, int, TestNamespace::QQmlListCompositor::Group, TestNamespace::QVector<TestNamespace::QQmlListCompositor::Remove>*, TestNamespace::QVector<TestNamespace::QQmlListCompositor::Insert>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:932:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   932 |     m_cacheIt = toIt;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::clear()’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:945:61: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   945 |     m_end = iterator(m_ranges.next, 0, Default, m_groupCount);
      agent:2020/08/12 22:01:29 build.go:264:       |                                                             ^
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:946:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:   946 |     m_cacheIt = m_end;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::listItemsInserted(TestNamespace::QVector<TestNamespace::QQmlListCompositor::Insert>*, void*, const TestNamespace::QVector<TestNamespace::QQmlChangeSet::Change>&, const TestNamespace::QVector<TestNamespace::QQmlListCompositor::MovedFlags>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:1041:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:  1041 |     m_cacheIt = m_end;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp: In member function ‘void TestNamespace::QQmlListCompositor::listItemsRemoved(TestNamespace::QVector<TestNamespace::QQmlListCompositor::Remove>*, void*, TestNamespace::QVector<TestNamespace::QQmlChangeSet::Change>*, TestNamespace::QVector<TestNamespace::QQmlChangeSet::Change>*, TestNamespace::QVector<TestNamespace::QQmlListCompositor::MovedFlags>*)’:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor.cpp:1231:17: error: implicitly-declared ‘constexpr TestNamespace::QQmlListCompositor::iterator& TestNamespace::QQmlListCompositor::iterator::operator=(const TestNamespace::QQmlListCompositor::iterator&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/12 22:01:29 build.go:264:  1231 |     m_cacheIt = m_end;
      agent:2020/08/12 22:01:29 build.go:264:       |                 ^~~~~
      agent:2020/08/12 22:01:29 build.go:264: In file included from qqmllistcompositor.cpp:40:
      agent:2020/08/12 22:01:29 build.go:264: qqmllistcompositor_p.h:312:8: note: because ‘TestNamespace::QQmlListCompositor::iterator’ has user-provided ‘TestNamespace::QQmlListCompositor::iterator::iterator(const TestNamespace::QQmlListCompositor::iterator&)’
      agent:2020/08/12 22:01:29 build.go:264:   312 | inline QQmlListCompositor::iterator::iterator(const iterator &it)
      agent:2020/08/12 22:01:29 build.go:264:       |        ^~~~~~~~~~~~~~~~~~
      agent:2020/08/12 22:01:29 build.go:264: /home/qt/work/install/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH 
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/cd5766134385ddb252dc53af00c363fbe317cd88/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-77a7bbDocumentation_OutOfSourceBuild/318d7f8c9ba5c1d160d362ccb12aafaa88b2a4d7/build_1597269189/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt5/tasks/1597268921
      Tested changes (refs/builds/qtci/5.15/1597268920):
      https://codereview.qt-project.org/c/qt/qt5/+/309580/7 Update submodules on '5.15' in qt/qt5

        Attachments

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

          Activity

            People

            Assignee:
            max.goldstein Maximilian Goldstein
            Reporter:
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes