Skip to content
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

[SR-14077] swift-corelibs-foundation: variables in ForSwiftFoundationOnly.h are used outside Swift #4379

Open
swift-ci opened this issue Jan 21, 2021 · 1 comment

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14077
Radar rdar://problem/73460926
Original Reporter monson (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 21211bdfcd6a29c77cb6674e386ad7b9

Issue Description:

While building CoreFoundation without Swift, variables `_CFAllocatorHintZeroWhenAllocating` `_CFThreadRef` `_CFThreadSpecificKey` are defined in ForSwiftFoundationOnly.h, but used in CFRuntime.c outside `DEPLOYMENT_RUNTIME_SWIFT`.

Please check and pull they out to ForFoundationOnly.h or make them inside DEPLOYMENT_RUNTIME_SWIFT macro.

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants