anonymous non-C-compatible type given name for linkage purposes by typedef declaration;
Summary
Compile master with clang 13.1.6
Apple clang version 13.1.6 (clang-1316.0.21.2.5) Target: arm64-apple-darwin21.5.0 Thread model: posix
Steps to reproduce
Compile build-recipes
What is the current bug behavior?
compilation results in error
What is the expected correct behavior?
obvious
Relevant logs and/or screenshots
''' /Users/adelmann/OPAL/tmp/src/OPAL/OPAL-2021.1.0/optimizer/Util/Types.h:65:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] typedef struct { '''
Possible fixes
name the struct