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

Use of undeclared identifier 'uint' in scalar_4x64_impl #869

Closed
aernouddekker opened this issue Sep 20, 2024 · 7 comments
Closed

Use of undeclared identifier 'uint' in scalar_4x64_impl #869

aernouddekker opened this issue Sep 20, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@aernouddekker
Copy link

aernouddekker commented Sep 20, 2024

What happened?

After update to XCODE 16 / SEQUOIA the compiler ran into an error in scalar_4x64_impl.h. I had to change (uint) to (unsigned int) here.

What are the steps to reproduce?

Compile existing code

What is the expected behavior?

Compiling without errors

What is the error thrown?

Compiler error: Use of undeclared identifier 'uint'

What's the stack trace said?

Sources/secp256k1/scalar_4x64_impl

OS version

macOS 15.0 / xcode 16

Library version

Latest

@aernouddekker aernouddekker added the bug Something isn't working label Sep 20, 2024
@citruslab
Copy link

citruslab commented Sep 23, 2024

Did you find a solution to this issue?

@aernouddekker
Copy link
Author

I just replaced uint with unsigned int.

@TheHmmka
Copy link

Yeah, the same is here...

@TheHmmka
Copy link

I have fixed there:
#870

@yaroslavyaroslav
Copy link
Collaborator

Fixed in 3.2.2 release https://github.com/web3swift-team/web3swift/releases/tag/3.2.2

@Martin-max-art
Copy link

Cocopods Unable to find version 3.2.2

@yaroslavyaroslav
Copy link
Collaborator

Hey @Martin-max-art yeah, it is, unfortunately we've deprecated cocoapods support to date. Sorry about that. But you can add this package as spm dependency instead of cocoapods one even in cocoapods based project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants