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

make db-tools: suspend enum-int linter error #8598

Merged
merged 7 commits into from
Oct 27, 2023
Merged

Conversation

AskAlexSharov
Copy link
Collaborator

 error: conflicting types for ‘mdbx_get_datacmp’ due to enum/integer mismatch; have ‘int (*(unsigned int))(const MDBX_val *, const MDBX_val *)’ {aka ‘int (*(unsigned int))(const struct iovec *, const struct iovec *)’} [-Werror=enum-int-mismatch]
26609 | __cold MDBX_cmp_func *mdbx_get_datacmp(unsigned flags) {
      |                       ^~~~~~~~~~~~~~~~
mdbx.h:4932:1: note: previous declaration of ‘mdbx_get_datacmp’ with type ‘int (*(MDBX_db_flags_t))(const MDBX_val *, const MDBX_val *)’ {aka ‘int (*(MDBX_db_flags_t))(const struct iovec *, const struct iovec *)’}

can't upgrade mdbx version for now

@AskAlexSharov AskAlexSharov changed the title add CFLAGS to suspend make db-tools: suspend enum-int linter error Oct 27, 2023
@AskAlexSharov AskAlexSharov merged commit f36d090 into devel Oct 27, 2023
7 checks passed
@AskAlexSharov AskAlexSharov deleted the dbtools_enum_warn branch October 27, 2023 04:01
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.

1 participant