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

qnearfieldtarget.cpp:239:14: error: ambiguous overload for 'operator<'

    XMLWordPrintable

Details

    • 7a2b97fc4765ed17c494b39fe4fbc2297f0c602b (qt/qtbase/5.15) e0d52982cf319132e7b0f81da716ff02465176bf (qt/qtconnectivity/dev)

    Description

      qnearfieldtarget.cpp: In member function 'bool QNearFieldTarget::RequestId::operator<(const QNearFieldTarget::RequestId&) const':
       qnearfieldtarget.cpp:239:14: error: ambiguous overload for 'operator<' (operand types are 'const QSharedDataPointer<QNearFieldTarget::RequestIdPrivate>' and 'const QSharedDataPointer<QNearFieldTarget::RequestIdPrivate>')
       
       259: qnearfieldtarget.cpp:239:14: error: ambiguous overload for 'operator<' (operand types are 'const QSharedDataPointer<QNearFieldTarget::RequestIdPrivate>' and 'const QSharedDataPointer<QNearFieldTarget::RequestIdPrivate>')
            return d < other.d;
                     ^
       qnearfieldtarget.cpp:239:14: note: candidate: operator<(const QNearFieldTarget::RequestIdPrivate*, const QNearFieldTarget::RequestIdPrivate*) <built-in>
       qnearfieldtarget.cpp:239:14: note: candidate: operator<(const QNearFieldTarget::RequestIdPrivate*, const QNearFieldTarget::RequestIdPrivate*) <built-in>
       qnearfieldtarget.cpp:239:14: note: candidate: operator<(const QNearFieldTarget::RequestIdPrivate*, const QNearFieldTarget::RequestIdPrivate*) <built-in>
       qnearfieldtarget.cpp:239:14: note: candidate: operator<(int, int) <built-in>
       qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Bluetooth -mfpu=neon -Wno-psabi -lang-c++ -O2 -fstack-protector-strong -Wc,-std=gnu++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -shared -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_BLUETOOTH_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtBluetooth -I../../include/QtBluetooth/5.15.2 -I../../include/QtBluetooth/5.15.2/QtBluetooth -I/home/qt/work/install/include/QtCore/5.15.2 -I/home/qt/work/install/include/QtCore/5.15.2/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtCore -I.moc -I/opt/qnx700/target/qnx7/usr/include/openssl1_1 -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I/home/qt/work/install/mkspecs/qnx-armle-v7-qcc -o .obj/qbluetoothaddress.o qbluetoothaddress.cpp
       cc: /opt/qnx700/host/linux/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus error 1
       Makefile:2201: recipe for target '.obj/qnearfieldtarget.o' failed
       make[2]: *** [.obj/qnearfieldtarget.o] Error 1
      

      Build log: https://testresults.qt.io/logs/qt/qtconnectivity/c09d465e951585e6bc305980ab353f17caffa45c/LinuxRHEL_7_6x86_64QNXQNX_700armv7GCCqtci-linux-RHEL-7.6-x86_64-993446DisableTests/e80b15dbb25041fe1168a2173426e359cf82ade0/build_1602713040/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt5/tasks/1602712089

      Tested changes (refs/builds/qtci/5.15/1602712087):
      https://codereview.qt-project.org/c/qt/qt5/+/317428/1 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

            ablasche Alex Blasche
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes