Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcaliptra ARRAY_SIZE define conflicts with other defines of the same name #1500

Open
nquarton opened this issue May 7, 2024 · 0 comments
Assignees
Labels
libcaliptra C API library for SoC integration

Comments

@nquarton
Copy link
Contributor

nquarton commented May 7, 2024

A user has reported their SoC FW already has "ARRAY_SIZE" defined with a equivalent implementation and this causes a conflict while building with libcaliptra.

The easiest solution (without assuming an existing implementation will always be the same) is to make the ARRAY_SIZE name unique as CALIPTRA_ARRAY_SIZE.

@nquarton nquarton added the libcaliptra C API library for SoC integration label May 7, 2024
@nquarton nquarton self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libcaliptra C API library for SoC integration
Projects
None yet
Development

No branches or pull requests

1 participant