Skip to content

CommandLineSupport: prefer _strdup over strdup #81478

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

compnerd
Copy link
Member

This silences a warning on Windows as strdup is considered deprecated in favour of the POSIX compliant _strdup spelling.

@compnerd compnerd requested a review from a team as a code owner May 13, 2025 16:49
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd enabled auto-merge May 13, 2025 17:37
This silences a warning on Windows as `strdup` is considered deprecated
in favour of the POSIX compliant `_strdup` spelling.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit 3a2beae into swiftlang:main May 14, 2025
3 checks passed
@compnerd compnerd deleted the silence branch May 14, 2025 00:49
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