Skip to content

Conversation

3405691582
Copy link
Member

We changed Swift to use OpaquePointer in Glibc since OpenBSD 7.8 snapshots now hide the type information for FILE. Therefore, the types for the standard stdio streams should (regrettably) be OpaquePointer, due to the well-discussed issue of losing type information for forward-declared C types.

Subsequently, this means we should be using OpaquePointer here also.

We changed Swift to use OpaquePointer in Glibc since OpenBSD 7.8
snapshots now hide the type information for FILE. Therefore, the types
for the standard stdio streams should (regrettably) be OpaquePointer,
due to the well-discussed issue of losing type information for
forward-declared C types.

Subsequently, this means we should be using OpaquePointer here also.
@3405691582
Copy link
Member Author

See swiftlang/swift#84478 for the accompanying change.

@3405691582
Copy link
Member Author

@swift-ci please test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants