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

qwindowdefs_win.h definition of HRESULT incompatible with winnt.h when code analysis is on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.4.0
    • 5.2.1
    • Core: Other
    • None
    • Windows x64, VS 2012 code analysis.
    • 5f0fb6f114bb907b7122c265ca120bca26dd60d5 (dev, 28.4.2014 5.4)

    Description

      WINNT will define _HRESULT_DEFINED when the typedef is established.
      The check #ifndef HRESULT in qtbase\src\gui\kernel\qwindowdefs_win.h causes a warning about unannotated HRESULT when static analysis is on .

      http://msdn.microsoft.com/en-us/library/hh711980.aspx

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            dennisweldy Dennis Weldy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes