Open PeterWaIIace opened 1 year ago
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 swiftSettings: [.interoperabilityMode(.Cxx)]
option. C++ interoperability has officially been released, so it would be appreciated if you support it.
Thank you for the update. Please 👍 the original issue as it will help us prioritize this among other things.
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