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

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

      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

        For Gerrit Dashboard: QTBUG-38435
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes