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

Build error: implicitly-declared ‘constexpr WTF::Checked<unsigned int>::Checked(const WTF::Checked<unsigned int>&)’ is deprecated

    XMLWordPrintable

Details

    • Linux/X11
    • ed27157ca9a2c482bcfc79cf1f6f0e496b6a947c (qt/qtdeclarative/5.15)

    Description

      jsapi/qjsvalueiterator.cpp
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h: In constructor ‘JSC::Yarr::PatternTerm::PatternTerm(UChar32)’:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h:147:47: error: implicitly-declared ‘constexpr WTF::Checked<unsigned int>::Checked(const WTF::Checked<unsigned int>&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/11 22:04:36 build.go:264:   147 |         quantityMinCount = quantityMaxCount = 1;
      agent:2020/08/11 22:04:36 build.go:264:       |                                               ^
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrPattern.h:32,
      agent:2020/08/11 22:04:36 build.go:264:                  from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:20: note: because ‘WTF::Checked<unsigned int>’ has user-provided ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                    ^~~~~~~~
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:38: note:   initializing argument 1 of ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                              ~~~~~~~~^~~
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h: In constructor ‘JSC::Yarr::PatternTerm::PatternTerm(JSC::Yarr::CharacterClass*, bool)’:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h:157:47: error: implicitly-declared ‘constexpr WTF::Checked<unsigned int>::Checked(const WTF::Checked<unsigned int>&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/11 22:04:36 build.go:264:   157 |         quantityMinCount = quantityMaxCount = 1;
      agent:2020/08/11 22:04:36 build.go:264:       |                                               ^
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrPattern.h:32,
      agent:2020/08/11 22:04:36 build.go:264:                  from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:20: note: because ‘WTF::Checked<unsigned int>’ has user-provided ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                    ^~~~~~~~
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:38: note:   initializing argument 1 of ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                              ~~~~~~~~^~~
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h: In constructor ‘JSC::Yarr::PatternTerm::PatternTerm(JSC::Yarr::PatternTerm::Type, unsigned int, JSC::Yarr::PatternDisjunction*, bool, bool)’:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h:170:47: error: implicitly-declared ‘constexpr WTF::Checked<unsigned int>::Checked(const WTF::Checked<unsigned int>&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/11 22:04:36 build.go:264:   170 |         quantityMinCount = quantityMaxCount = 1;
      agent:2020/08/11 22:04:36 build.go:264:       |                                               ^
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrPattern.h:32,
      agent:2020/08/11 22:04:36 build.go:264:                  from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:20: note: because ‘WTF::Checked<unsigned int>’ has user-provided ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                    ^~~~~~~~
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/wtf/CheckedArithmetic.h:472:38: note:   initializing argument 1 of ‘const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = unsigned int; OverflowHandler = WTF::CrashOnOverflow]’
      agent:2020/08/11 22:04:36 build.go:264:   472 |     const Checked& operator=(Checked rhs)
      agent:2020/08/11 22:04:36 build.go:264:       |                              ~~~~~~~~^~~
      agent:2020/08/11 22:04:36 build.go:264: In file included from ../3rdparty/masm/yarr/YarrInterpreter.h:29,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexp_p.h:63,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsruntime/qv4regexpobject_p.h:61,
      agent:2020/08/11 22:04:36 build.go:264:                  from jsapi/qjsvalue.cpp:52:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h: In constructor ‘JSC::Yarr::PatternTerm::PatternTerm(JSC::Yarr::PatternTerm::Type, bool)’:
      agent:2020/08/11 22:04:36 build.go:264: ../3rdparty/masm/yarr/YarrPattern.h:179:47: error: implicitly-declared ‘constexpr WTF::Checked<unsigned int>::Checked(const WTF::Checked<unsigned int>&)’ is deprecated [-Werror=deprecated-copy]
      agent:2020/08/11 22:04:36 build.go:264:   179 |         quantityMinCount = quantityMaxCount = 1;
      

      Build log: http://coin-master.ci.qt.io/coin/api/results/qt/qtdeclarative/cc93bc97a9df5c45be2295d436f4e0825e8549e3/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-77a7bb/ac8bf527a0f625ba15713751f6b4ec3f99a11bda/build_1597182744/log.txt.gz

      Details: http://coin-master.ci.qt.io/coin/integration/qt/qt5/tasks/1597182499
      Tested changes (refs/builds/qtci/5.15/1597147938):
      https://codereview.qt-project.org/c/qt/qt5/+/309580/5 Update submodules on '5.15' in qt/qt5

      Attachments

        For Gerrit Dashboard: QTBUG-85998
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            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