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

Compile failure in qqmltypecompiler.cpp on BlackBerry 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.3.0
    • 5.3.0 Beta1, 5.4.0
    • QPA
    • None
    • BlackBerry 10 version 127.0.2.1091 NDK
    • QNX

    Description

      Compile errors occur in the stable version of qtdeclarative/src/qml/compiler/qqmltypecompiler.cpp when building with BlackBerry 10 version 127.0.2.1091.

      /Users/jmcdonnell/BlackBerry/qt-99/qtdeclarative/src/qml/compiler/qqmltypecompiler.cpp:1722:175: note: candidates are:
      /Users/jmcdonnell/binary_repo/672745/developer/trunk/target/qnx6/usr/include/cpp/algorithm:1370:9: note: template<class _FwdIt, class _Ty> _FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty&)
      /Users/jmcdonnell/binary_repo/672745/developer/trunk/target/qnx6/usr/include/cpp/algorithm:1403:9: note: template<class _FwdIt, class _Ty, class _Pr> _FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty&, _Pr)
      /Users/jmcdonnell/BlackBerry/qt-99/qtdeclarative/src/qml/compiler/qqmltypecompiler.cpp:1840:197: error: no matching function for call to 'lower_bound(QVarLengthArray<const QV4::CompiledData::Binding*, 8>::const_iterator, QVarLengthArray<const QV4::CompiledData::Binding*, 8>::const_iterator, const quint32&, QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)::GroupPropertyFinder)'
      /Users/jmcdonnell/BlackBerry/qt-99/qtdeclarative/src/qml/compiler/qqmltypecompiler.cpp:1840:197: note: candidates are:
      /Users/jmcdonnell/binary_repo/672745/developer/trunk/target/qnx6/usr/include/cpp/algorithm:1370:9: note: template<class _FwdIt, class _Ty> _FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty&)
      /Users/jmcdonnell/binary_repo/672745/developer/trunk/target/qnx6/usr/include/cpp/algorithm:1403:9: note: template<class _FwdIt, class _Ty, class _Pr> _FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty&, _Pr)
      cc: /Users/jmcdonnell/binary_repo/672745/developer/trunk/host/darwin/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1plus error 1

      The compiler doesn't seem to like the GroupPropertyFinder function class being declared inside the QQmlPropertyValidator::validateObject function.

      Attachments

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

        Activity

          People

            jmcdonnell James McDonnell
            jmcdonnell James McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes