secp256k1.swift icon indicating copy to clipboard operation
secp256k1.swift copied to clipboard

Swift C++ interoperability

Open arguiot opened this issue 1 year ago • 2 comments

secp256k1 is not working when C++/ObjectiveC++ interoperability is enabled with Swift 5.9. Capture d’écran 2023-07-20 à 10 09 34 I get: Cannot find 'SECP256K1_CONTEXT_SIGN' in scope

arguiot avatar Jul 20 '23 08:07 arguiot

No idea why. I didn’t know Swift 5.9 existed. Is this a pre-release? Do you know why this is happening?

On Thu, 20 Jul 2023 at 09:10, Arthur Guiot @.***> wrote:

secp256k1 is not working when C++/ObjectiveC++ interoperability is enabled with Swift 5.9. [image: Capture d’écran 2023-07-20 à 10 09 34] https://user-images.githubusercontent.com/18022260/254817769-ff8a5c46-6495-44e0-9096-fa005492c5c9.png I get: Cannot find 'SECP256K1_CONTEXT_SIGN' in scope

— Reply to this email directly, view it on GitHub https://github.com/Boilertalk/secp256k1.swift/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWUTTOKTDILAXALJSKK253XRDRV7ANCNFSM6AAAAAA2RBB2GU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

koraykoska avatar Jul 20 '23 08:07 koraykoska

Yes, it's a pre-release actually. Things works well when C++ interoperability is disabled. But when enabled, things starts to get weird...

arguiot avatar Jul 20 '23 12:07 arguiot