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

Warning C4826: Conversion from 'void *const' to 'qint64' is sign-extended.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 4.8.5
    • Fix Version/s: 5.0.0
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      Windows 7 32 bit, MS Visual Studio 2010, Qt 4.8.5.
    • Commits:
      3291e0a77c10a92a63173d9ece4f83661f849ba9

      Description

      qabstractitemmodel.h in Qt elicits the following warning from the Visual Studio 2010 compiler (at warning level /Wall):

      qabstractitemmodel.h(70): warning C4826: Conversion from 'void *const' to 'qint64' is sign-extended. This may cause unexpected runtime behavior.

      It's problem for us because all warnings are treated as an errors.

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              pmogilevskiy Pavel Mogilevskiy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes