]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commit
Fix build with later WDKs
authorOwen Smith <owen.smith@citrix.com>
Thu, 12 Aug 2021 12:41:35 +0000 (13:41 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 6 Sep 2021 12:19:11 +0000 (13:19 +0100)
commitddfd9b3c31276aa3ce38b14e6ddf9f2de28e3027
treebe8840e1a17ad380ab784f25b7d52077d7778cbe
parent0ece74015a1e16e3d1376fa482957a39c5418353
Fix build with later WDKs

- Adds alias for GetProjectInfoForReference target to version.vcxproj
    Later kits seemed to have renamed the build target, and will fail without
    this alias target.
- Adds "/fd sha256" to signtool command line
    WDK 20344 and later require binaries signed with a SHA256 file digest, or
    the build outputs are deleted
- Disables warning 4061 - switch statement on enum types need to have a case for
    all values of the enumeration

Signed-off-by: Owen Smith <owen.smith@citrix.com>
- Cast enum types used as array indices to avoid bounds check complaint

Signed-off-by: Paul Durrant <paul@xen.org>
src/xenvbd/driver.c
vs2019/package/package.vcxproj
vs2019/version/version.vcxproj
vs2019/xencrsh/xencrsh.vcxproj
vs2019/xendisk/xendisk.vcxproj
vs2019/xenvbd/xenvbd.vcxproj
vs2019/xenvbd_coinst/xenvbd_coinst.vcxproj