Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9
-
None
-
-
e26bcc4d5d879ffa9f0fa8cce0fa1ffbbaf47e59
Description
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Core -mfpu=neon -Wno-psabi -lang-c++ -O3 -Wc,-std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -shared -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.9.0 -I../../include/QtCore/5.9.0/QtCore -I.moc -I../3rdparty/pcre2/src -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -o .obj/qstandardpaths_unix.o io/qstandardpaths_unix.cpp io/qstandardpaths_unix.cpp: In static member function 'static QString QStandardPaths::writableLocation(QStandardPaths::StandardLocation)': io/qstandardpaths_unix.cpp:149:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (fileInfo.ownerId() != myUid) { ^ cc1plus: all warnings being treated as errors
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Core -mfpu=neon -Wno-psabi -lang-c++ -O3 -Wc,-std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -shared -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.9.0 -I../../include/QtCore/5.9.0/QtCore -I.moc -I../3rdparty/pcre2/src -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -o .obj/qabstractproxymodel.o itemmodels/qabstractproxymodel.cpp io/qstorageinfo_unix.cpp:488:60: error: unused parameter 'it' [-Werror=unused-parameter] static QByteArray extractSubvolume(const QStorageIterator &it)
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Core -mfpu=neon -Wno-psabi -lang-c++ -O3 -Wc,-std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -shared -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.9.0 -I../../include/QtCore/5.9.0/QtCore -I.moc -I../3rdparty/pcre2/src -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -o .obj/qcore_unix.o kernel/qcore_unix.cpp kernel/qcore_unix.cpp: In function 'bool time_update(timespec*, const timespec&, const timespec&)': kernel/qcore_unix.cpp:64:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits] return tv->tv_sec >= 0; ^ cc1plus: all warnings being treated as errors
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Network -mfpu=neon -Wno-psabi -lang-c++ -O2 -Wc,-std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -shared -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.0 -I../../include/QtNetwork/5.9.0/QtNetwork -I../../include/QtCore/5.9.0 -I../../include/QtCore/5.9.0/QtCore -I../../include/QtCore -I.moc -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -o .obj/qnativesocketengine_unix.o socket/qnativesocketengine_unix.cpp socket/qnativesocketengine_unix.cpp: In member function 'qint64 QNativeSocketEnginePrivate::nativeReceiveDatagram(char*, qint64, QIpPacketHeader*, QAbstractSocketEngine::PacketHeaderOptions)': socket/qnativesocketengine_unix.cpp:893:62: error: variable length array 'cbuf' is used [-Werror=vla] + sizeof(quintptr) - 1) / sizeof(quintptr)]; ^ socket/qnativesocketengine_unix.cpp: In member function 'qint64 QNativeSocketEnginePrivate::nativeSendDatagram(const char*, qint64, const QIpPacketHeader&)': socket/qnativesocketengine_unix.cpp:1021:62: error: variable length array 'cbuf' is used [-Werror=vla] + sizeof(quintptr) - 1) / sizeof(quintptr)]; ^ cc1plus: all warnings being treated as errors
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,.pch/Qt5Test -mfpu=neon -Wno-psabi -lang-c++ -O2 -Wc,-std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -shared -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_FOREACH -DQT_NO_DATASTREAM -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_TESTLIB_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtTest -I../../include/QtTest/5.9.0 -I../../include/QtTest/5.9.0/QtTest -I../../include/QtCore/5.9.0 -I../../include/QtCore/5.9.0/QtCore -I../../include/QtCore -I.moc -I/opt/qnx700/target/qnx7/usr/include -I/opt/qnx700/target/qnx7/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -o .obj/qtestcase.o qtestcase.cpp qtestcase.cpp: In function 'void QTest::qSleep(int)': qtestcase.cpp:2330:31: error: narrowing conversion of '(ms / 1000)' from 'int' to '_Timet {aka unsigned int}' inside { } [-Werror=narrowing] struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; ^ cc1plus: all warnings being treated as errors