vtls: Fix comment typo about macosx-version-min compiler flag#4425
Closed
jzinn wants to merge 1 commit intocurl:masterfrom
Closed
vtls: Fix comment typo about macosx-version-min compiler flag#4425jzinn wants to merge 1 commit intocurl:masterfrom
jzinn wants to merge 1 commit intocurl:masterfrom
Conversation
Member
|
Are you sure it's a typo, isn't mmacos-version-min valid? |
Contributor
Author
|
Clang documents both [1]:
`-mmacosx-version-min=`<arg>, `-mmacos-version-min=`<arg>
Set Mac OS X deployment target
[1]: https://clang.llvm.org/docs/ClangCommandLineReference.html
But gcc documents only one [2]:
-mmacosx-version-min=version
[2]: https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
In the wild and elsewhere in curl, `macosx-version-min` seems to be the
standard spelling.
I may have a gcc on my mac that I can try with tomorrow.
|
Contributor
Author
|
I had not considered that Here's a test showing that gcc accepts Here's a test showing that gcc does not accept I also grepped through the current gcc source code and did not find Please close this if you like the current spelling. |
nickzman
approved these changes
Sep 27, 2019
Member
nickzman
left a comment
There was a problem hiding this comment.
The manual for cc in Xcode 11.1 says "-mmacosx-version-min", so that's good enough for me.
Member
|
Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.