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

Build warnings in INTEGRITY builds

    XMLWordPrintable

Details

    • Integrity

    Description

      Please see details from coin log: http://coin/coin/logview/tqtc-boot2qt/qtsaferenderer/070f104ef226fca2982a0fbd9401bd0df39f3077/LinuxRHEL_7_6x86_64INTEGRITYINTEGRITY_11_04armv7GCCqtci-linux-RHEL-7.6-x86_64-f12b7cDisableTests/7f2404033646ed00b679d9d0fd77cb3cea07280c/build_1680754052

      For example, see the following log excerpt about warnings.

       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4global_p.h", line 237: warning #620-D:            nonstandard unnamed member           };            ^ "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4global_p.h", line 247: warning #620-D:            nonstandard unnamed member           };            ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 307: warning #185-D:            dynamic initialization in unreachable code       bool s1 = (v1 < 0);            ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 335: warning #185-D:            dynamic initialization in unreachable code       bool s1 = (v1 < 0);            ^ "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4compileddata_p.h", line 779: warning #68-D:            integer conversion resulted in a change of sign           return data.get() ? -1 : data.get();                                                   ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qendian_p.h", line 180: warning #111-D:            statement is unreachable           return (S::fromSpecial(storage->val) & mask()) >> pos;           ^           detected during:             instantiation of "QSpecialIntegerConstAccessor                       T>::operator QSpecialIntegerConstAccessor                       T>::Type() const [with                       S=QLittleEndianStorageType, pos=16, width=16,                       T=qint32]" at line 268             instantiation of "A::Type QSpecialIntegerBitfieldUnion                       Accessors...>::get() const [with                       S=QLittleEndianStorageType,                       Accessors=                       QV4::CompiledData::Object::DefaultPropertyIsAliasField,                       QV4::CompiledData::Object::IdField>,                       A=QV4::CompiledData::Object::IdField]" at line 974 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4compileddata_p.h" "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 353: warning #186-D:            pointless comparison of unsigned integer with zero       return lr > std::numeric_limits::max() || lr < std::numeric_limits::min();                                                       ^           detected during:             instantiation of "std::enable_if<, bool>::type                       ::mul_overflow(T, T, T *) [with T=uint]" at                       line 80 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4stringtoarrayindex_p.h"             instantiation of "uint QV4::stringToArrayIndex(const T *, const T                       *) [with T=QChar]" at line 89 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4stringtoarrayindex_p.h" "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4global_p.h", line 237: warning #620-D:            nonstandard unnamed member           };            ^ "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4global_p.h", line 247: warning #620-D:            nonstandard unnamed member           };            ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 307: warning #185-D:            dynamic initialization in unreachable code       bool s1 = (v1 < 0);            ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 335: warning #185-D:            dynamic initialization in unreachable code       bool s1 = (v1 < 0);            ^ "/home/qt/work/install/include/QtQml/5.15.12/QtQml/private/qv4compileddata_p.h", line 779: warning #68-D:            integer conversion resulted in a change of sign           return data.get() ? -1 : data.get();                                                   ^ "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qendian_p.h", line 180: warning #111-D:            statement is unreachable           return (S::fromSpecial(storage->val) & mask()) >> pos;           ^           detected during:             instantiation of "QSpecialIntegerConstAccessor                       T>::operator QSpecialIntegerConstAccessor                       T>::Type() const [with                       S=QLittleEndianStorageType, pos=16, width=16,                       T=qint32]" at line 268             instantiation of "A::Type QSpecialIntegerBitfieldUnion                       Accessors...>::get() const [with                       S=QLittleEndianStorageType,                       Accessors=                       QV4::CompiledData::Object::DefaultPropertyIsAliasField,                       QV4::CompiledData::Object::IdField>,                       A=QV4::CompiledData::Object::IdField]" at line 974 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4compileddata_p.h" "/home/qt/work/install/include/QtCore/5.15.12/QtCore/private/qnumeric_p.h", line 353: warning #186-D:            pointless comparison of unsigned integer with zero       return lr > std::numeric_limits::max() || lr < std::numeric_limits::min();                                                       ^           detected during:             instantiation of "std::enable_if<, bool>::type                       ::mul_overflow(T, T, T *) [with T=uint]" at                       line 80 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4stringtoarrayindex_p.h"             instantiation of "uint QV4::stringToArrayIndex(const T *, const T                       *) [with T=QChar]" at line 89 of                       "/home/qt/work/install/include/QtQml/5.15.12/QtQml/privat                       e/qv4stringtoarrayindex_p.h"
      

      Attachments

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

        Activity

          People

            kiollila Kimmo Ollila
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes