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

at_c: Warning when building with ESP32 #386

Open
JeremyTubongbanua opened this issue Aug 28, 2024 · 0 comments
Open

at_c: Warning when building with ESP32 #386

JeremyTubongbanua opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@JeremyTubongbanua
Copy link
Member

/Users/jeremytubongbanua/GitHub/esp_demo/me/managed_components/jeremytubongbanua__atchops/src/rsa.c:411:5: error: conflicting types for 'atchops_rsa_generate' due to enum/integer mismatch; have 'int(atchops_rsa_key_public_key *, atchops_rsa_key_private_key *, const unsigned int)' [-Werror=enum-int-mismatch]
  411 | int atchops_rsa_generate(atchops_rsa_key_public_key *public_key, atchops_rsa_key_private_key *private_key,
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from /Users/jeremytubongbanua/GitHub/esp_demo/me/managed_components/jeremytubongbanua__atchops/src/rsa.c:1:
/Users/jeremytubongbanua/GitHub/esp_demo/me/managed_components/jeremytubongbanua__atchops/include/atchops/rsa.h:74:5: note: previous declaration of 'atchops_rsa_generate' with type 'int(atchops_rsa_key_public_key *, atchops_rsa_key_private_key *, const atchops_md_type)'
   74 | int atchops_rsa_generate(atchops_rsa_key_public_key *public_key, atchops_rsa_key_private_key *private_key,
      |     ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [esp-idf/jeremytubongbanua__atchops/CMakeFiles/__idf_jeremytubongbanua__atchops.dir/src/rsa.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [esp-idf/jeremytubongbanua__atchops/CMakeFiles/__idf_jeremytubongbanua__atchops.dir/all] Error 2
make: *** [all] Error 2
@JeremyTubongbanua JeremyTubongbanua self-assigned this Aug 28, 2024
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

No branches or pull requests

1 participant