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

qstringview test static assert failure on QNX 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.10
    • Core: Other
    • QNX

    Description

      qcc -Vgcc_ntoarmv7le -c -mfpu=neon -Wno-psabi -lang-c++ -g -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/sapiippo/development/build/qnxbuild/tests/auto/corelib/tools/qstringview"' -I/home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/tools/qstringview -I. -I../../../../../include -I../../../../../include/QtTest -I../../../../../include/QtCore -I.moc -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I/home/sapiippo/development/qt/qt5/qtbase/mkspecs/qnx-armle-v7-qcc -o .obj/tst_qstringview.o /home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/tools/qstringview/tst_qstringview.cpp
      In file included from ../../../../../include/QtCore/qglobal.h:1:0,
                       from ../../../../../include/QtCore/../../../../qt/qt5/qtbase/src/corelib/tools/qchar.h:43,
                       from ../../../../../include/QtCore/qchar.h:1,
                       from ../../../../../include/QtCore/../../../../qt/qt5/qtbase/src/corelib/tools/qstringview.h:46,
                       from ../../../../../include/QtCore/qstringview.h:1,
                       from ../../../../../include/QtCore/QStringView:1,
                       from /home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/tools/qstringview/tst_qstringview.cpp:34:
      ../../../../../include/QtCore/../../../../qt/qt5/qtbase/src/corelib/global/qglobal.h:755:36: error: static assertion failed: CanConvert<QChar[123]>::value
       #define Q_STATIC_ASSERT(Condition) static_assert(bool(Condition), #Condition)
                                          ^
      /home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/tools/qstringview/tst_qstringview.cpp:61:1: note: in expansion of macro 'Q_STATIC_ASSERT'
       Q_STATIC_ASSERT(CanConvert<QChar[123]>::value);
       ^
      ../../../../../include/QtCore/../../../../qt/qt5/qtbase/src/corelib/global/qglobal.h:755:36: error: static assertion failed: CanConvert<ushort[123]>::value
       #define Q_STATIC_ASSERT(Condition) static_assert(bool(Condition), #Condition)
                                          ^
      /home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/tools/qstringview/tst_qstringview.cpp:80:1: note: in expansion of macro 'Q_STATIC_ASSERT'
       Q_STATIC_ASSERT(CanConvert<ushort[123]>::value);
       ^
      cc: /opt/qnx700/host/linux/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus error 1
      Makefile:1047: recipe for target '.obj/tst_qstringview.o' failed
      

      Attachments

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

        Activity

          People

            mmutz Marc Mutz
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes