-
Notifications
You must be signed in to change notification settings - Fork 18
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
aws-crt-swift crashes when used together with swiftc flag -enable-experimental-cxx-interop #166
Comments
Hi, Thank you for creating the issue. We will look into this issue and let you know as soon as there is any update. |
It's still occurring on Xcode 15.4, with |
Thank you for the update. Please 👍 the original issue as it will help us prioritize this among other things. |
Thanks, this should be fixed in https://github.com/awslabs/aws-crt-swift/releases/tag/v0.38.0. Please feel free to reopen the issue if you still encounter any problems. |
|
Describe the bug
aws-cert-swift crashes when used together with swiftc flag -enable-experimental-cxx-interop.
It finds problem with using of .inl files together with C files.
Example error:
Import of C++ module 'AwsCCommon' appears within extern "C" language linkage specification
As it is experimental feature, do not expect immediate bug fix but it would be extremely nice to be able to use swift packages together with Cpp sources.
Expected Behavior
Successful compilation.
Current Behavior
Reproduction Steps
add to swift compiler flags:
-enable-experimental-cxx-interop
Possible Solution
No response
Additional Information/Context
No response
AWS CRT SWIFT version used
0.4.0
Compiler and Version used
Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Operating System and version
macosx13.0
The text was updated successfully, but these errors were encountered: