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-3436] /usr/include/sysexits included in macOS Foundation, but not Linux #46024

Closed
glessard opened this issue Dec 16, 2016 · 2 comments
Closed
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Linux Platform: Linux SDKOverlay

Comments

@glessard
Copy link
Contributor

Previous ID SR-3436
Radar None
Original Reporter @glessard
Type Bug
Status Closed
Resolution Done
Environment

ubuntu 15.10, Swift 3.0.1 (release)

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug, Linux, SDKOverlay
Assignee @glessard
Priority Medium

md5: 7fe273cac5f1e31eacf91696f36b69a5

Issue Description:

The constants defined in /usr/include/sysexits.h are available when importing Foundation on macOS, but are not available in the Linux version.

It's unclear which behaviour is intentional, but in any event the inconsistency is unnecessary.

exit(EX_USAGE) // compiles on macOS, doesn't on Linux.
@belkadan
Copy link
Contributor

This is below the level of Foundation, in the platform module map.

@glessard
Copy link
Contributor Author

#11926

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Linux Platform: Linux SDKOverlay
Projects
None yet
Development

No branches or pull requests

2 participants