[SR-12263] Unable to access External Fixed size C array in Swift #54691
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
clang importer
Area → compiler: The clang importer
compiler
The Swift compiler in itself
Attachment: Download
Additional Detail from JIRA
md5: 4ad2f5c7c548964a2a3af5118ef59f45
Issue Description:
Declare an external fixed size C array a1 in a header file
Define the array a1 in the corresponding C file
Import the header file in the bridging header file
In the swift file, the fixed size array a1 is not accessible.
Compilation Error: `Use of unresolved identifier 'a1'`
Project file attached: Please see the attachment for the project file.
Refer: https://forums.swift.org/t/how-to-access-external-fixed-size-c-array-in-swift/34043
The text was updated successfully, but these errors were encountered: