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

capi: fix C99 compilation #1978

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Conversation

canepat
Copy link
Member

@canepat canepat commented Apr 22, 2024

This PR fixes the pure C compilation of our C API header with strict compiler options in order to fix the errors surfaced in Erigon CI.

A new pure C target named capi_main is also added to our build, so that we can hopefully gain early error detection and prevent any unexpected error at the end of the Erigon++ toolchain.

@canepat canepat added maintenance Some maintenance work (fix, refactor, rename, test...) c api The C API exposed for Erigon labels Apr 22, 2024
@canepat canepat requested review from Sixtysixter and lupin012 April 22, 2024 16:15
@canepat canepat merged commit 109b0c5 into master Apr 22, 2024
4 checks passed
@canepat canepat deleted the capi_fix_api_header_c99_compilation branch April 22, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c api The C API exposed for Erigon maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants