Details
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.