krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
926 stars 340 forks source link

Fix Xcode warnings #218

Closed mangerlahn closed 4 months ago

mangerlahn commented 4 months ago

Thanks again for this project!

We are still running on the support branch and see various warnings in Xcode. The former one was fixed at some point (059945d717ebaf7817f7a8ff58e387941b36886b), but that fix has been removed later, I don't know why. Since RC4_INT is sometimes defined as int and sometimes as char, I decided to let the last define win. Not sure if that is correct though.

The second warning has been fixed recently.

Screenshot 2024-07-04 at 22 51 21
krzyzanowskim commented 4 months ago

thank you. I wonder why I don't see the RC4_INT on my system. Is it something I should enable to make it appear?

mangerlahn commented 4 months ago

test.zip I compiled a quick sample project. Including the framework via SPM seems to reproduce this reliably. I pinned it to the most recent commit on the support branch.