Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eal: fix internal ABI tag with clang
[ upstream commit 4ab63cd ] Clang does not have an "error" attribute for functions, so for marking internal functions we need to check for the error attribute, and provide a fallback if it is not present. For clang, we can use "diagnose_if" attribute, similarly checking for its presence before use. Fixes: fba5af8 ("eal: add internal ABI tag definition") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
- Loading branch information