diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2023-05-30 10:11:24 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-03 06:25:32 +0000 |
commit | da1084ccf4ca79f8a0ac3e39e86aa27dbb9978e7 (patch) | |
tree | 90e57662585fc85946fb631b38444112432f79c2 /.azurepipelines | |
parent | e6a886fdfc83503628a816d09c6e6a2a3d2ed88c (diff) | |
download | edk2-da1084ccf4ca79f8a0ac3e39e86aa27dbb9978e7.tar.gz |
MdePkg/Include/IndustryStandard: Address C++ keyword collisions
Update Tpm12.h and Tpm20.h and not use c++ reserved keywords
operator and xor in C structures to support use of these
include files when building with a C++ compiler.
This patch removes the temporary use of anonymous unions and
warning 4201 disable for VS20xx tool chains to complete the
following field name changes:
* operator -> operator_
* xor -> xor_
NOTE: This is a non-backwards compatible change to Tpm12.h
and Tmp20.h. And consumers of these include files that access
the "operator" or "xor" fields must be updated.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to '.azurepipelines')
0 files changed, 0 insertions, 0 deletions