Skip to content

Conversation

xtremekforever
Copy link
Contributor

This is a copy from @Xazax-hun's PR #84164 but for 6.2.0. I propose this to avoid regressing the 6.2.0 release since this fix is already included in release/6.2 and release/6.2.1. It fixes the following issue outlined here: #83915.

Explanation: Function pointer types wee always considered fragile in C++ mode, this manifested as a regression when interfacing with glibc.
Issues: rdar://159184118
Original PRs: #84040
Risk: Low, this only removes a spurious error for library evolution.
Testing: Added a compiler test.
Reviewers: @egorzhdan

Explanationion: Function pointer types wee always considered fragile in C++ mode,
this manifested as a regression when interfacing with glibc.
Issues: rdar://159184118
Original PRs: swiftlang#84040
Risk: Low, this only removes a spurious error for library evolution.
Testing: Added a compiler test.
Reviewers: @egorzhdan
@xtremekforever xtremekforever requested a review from a team as a code owner September 14, 2025 19:39
@xtremekforever xtremekforever changed the title [6.2.1][cxx-interop] Do not consider function types fragile [6.2.0][cxx-interop] Do not consider function types fragile Sep 14, 2025
@Xazax-hun
Copy link
Contributor

LG, but I am afraid that it might be too late to merge anything to 6.2.0 at this point. But the branch managers can tell for sure.

@finagolfin
Copy link
Member

@DougGregor or @shahmishal, please let us know what you think.

@swift-ci test

@finagolfin
Copy link
Member

Heh, I figured the recent 6.1.3 release meant 6.2 would be delayed, guess not.

@xtremekforever
Copy link
Contributor Author

Yeah its too bad! Ive noted this issue for the armv6 and armv7 builds for 6.2 today, but it will be fixed in 6.2.1 anyways..

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.

3 participants