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

Qt 5.7 Warnings Xcode 8 (Final) Sierra (Final)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.7.0
    • Other
    • None
    • Xcode 8 Release
      macOS Sierra (Release)
      $java -version
      java version "1.8.0_91"
      Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

    Description

      Pesky warnings can sometimes hide potential bugs/issues.
      I never ignore them...

      Compiling open source qt 5.7 on Sierra/Xcode 8 generates quite a few new warnings and deprecation notices.

      This warning is the most frequent offender (over 500 mentions):

      runtime/UIString.h
      In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h:27:
      ../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:82:20: warning: comparison of constant 9223372036854775791 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
              if (length > ((std::numeric_limits<size_t>::max() - sizeof(UStringImpl)) / sizeof(UChar)))
                  ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      

      I have attached some relevant files (and a summarized analysis of warnings in the output file)

      Are any of these serious enough to merit attention?

      Regards, Patrice

      Attachments

        1. ext_qt-build-err.log
          540 kB
        2. ext_qt-build-out.log
          25 kB
        3. ext_qt-configure-out.log
          7 kB
        4. ext_qt-x8-warnings.txt
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            pkouame patrice kouame
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes