Skip to content

Conversation

@JuergenReppSIT
Copy link
Member

  • tools: Fix wrong type usage of enums.
  • lib/tpm2_kdfa.c: Fix pragma statement.
  • configure.ac Fix compilation with CC=clang

enums used as bitmask are now declared as <enum_type>_enum
the bitmaks is now declared with typedef unsigned int <enum_type>

Signed-off-by: Juergen Repp <[email protected]>
The pragma statement to deactivate optimization for gcc produced
an error when clang is used with -Werror.

Signed-off-by: Juergen Repp <[email protected]>
compilation was not possible with -Werror if clang is used.
Now warnings from unknown -W flags are supressed.

Signed-off-by: Juergen Repp <[email protected]>
@JuergenReppSIT JuergenReppSIT merged commit 95fdaa6 into tpm2-software:master Dec 3, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants