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

-Wsign-conversion on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.5, 5.14.0 Alpha
    • 5.12.4
    • Core: Other
    • None
    • iOS/tvOS/watchOS
    • 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

            shausman Simon Hausmann
            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