]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Fix build with later WDKs:
authorPaul Durrant <pdurrant@amazon.com>
Mon, 6 Sep 2021 07:46:50 +0000 (08:46 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 6 Sep 2021 07:46:50 +0000 (08:46 +0100)
commitadeacc2c062a58412a5711e6b3535036e190f299
treead81f836a1d2a3594fd025ed9e2204115058eb7d
parent8129771cda341d8bc8d57647bf2b64e4333494ea
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.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Re-worked from Owen's original patch:

- Squashes warnings 4061 and 26052.
- Casts XENBUS_STORE_PERMISSION_MASK to ULONG in switch statement to avoid
  complaint about case using '|'.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xenbus/store.c
vs2019/package/package.vcxproj
vs2019/version/version.vcxproj
vs2019/xen/xen.vcxproj
vs2019/xenbus/xenbus.vcxproj
vs2019/xenbus_coinst/xenbus_coinst.vcxproj
vs2019/xenbus_monitor/xenbus_monitor.vcxproj
vs2019/xenfilt/xenfilt.vcxproj