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

-Wsign-conversion on iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.12.4
    • Fix Version/s: 5.12.5, 5.14.0 Alpha
    • Component/s: Core: Other
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      aca43d29f8a1c90d14069ac602cf0ba7beaba300 (qt/qtbase/5.12)

      Description

      We build Qt for iOS and got this warning if we build our own application. Since we have -Werror enabled this breaks our build.

      In file included from /Users/.../lib/QtCore.framework/Headers/qplugin.h:45:
      In file included from /Users/.../lib/QtCore.framework/Headers/qjsonobject.h:43:
      /Users/.../lib/QtCore.framework/Headers/qjsonvalue.h:176:45: warning: implicit conversion changes signedness: 'int' to 'uint' (aka 'unsigned int') [-Wsign-conversion]
      : a(array), is_object(false), index(idx) {}
      ^~
      /Users/.../lib/QtCore.framework/Headers/qjsonvalue.h:178:45: warning: implicit conversion changes signedness: 'int' to 'uint' (aka 'unsigned int') [-Wsign-conversion]
      : o(object), is_object(true), index(idx) {}

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes