Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 05ac9a58f567045a60d67271345efbd8f9ffc31e
      
https://github.com/tianocore/edk2/commit/05ac9a58f567045a60d67271345efbd8f9ffc31e
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M MdePkg/Include/IndustryStandard/Tpm12.h
    M MdePkg/Include/IndustryStandard/Tpm20.h

  Log Message:
  -----------
  MdePkg/Include/IndustryStandard: Add operator_ and xor_ field names

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 temporarily introduces an anonymous union to add
operator_ and xor_ fields to support migration from the current
field names to the new field names.

Warning 4201 is disabled for VS20xx tool chains is a temporary
change to allow the use of anonymous unions.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: e6a886fdfc83503628a816d09c6e6a2a3d2ed88c
      
https://github.com/tianocore/edk2/commit/e6a886fdfc83503628a816d09c6e6a2a3d2ed88c
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c
    M SecurityPkg/Library/Tpm2CommandLib/Tpm2Object.c
    M SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c

  Log Message:
  -----------
  SecurityPkg/Library/TpmCommandLib: Change xor to xor_

Change xor to xor_ to avoid C++ reserved work name collisions
when building with C++ compilers.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: da1084ccf4ca79f8a0ac3e39e86aa27dbb9978e7
      
https://github.com/tianocore/edk2/commit/da1084ccf4ca79f8a0ac3e39e86aa27dbb9978e7
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M MdePkg/Include/IndustryStandard/Tpm12.h
    M MdePkg/Include/IndustryStandard/Tpm20.h

  Log Message:
  -----------
  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.kin...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/1e079360cd6f...da1084ccf4ca

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to