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

cmake: auto-detect strtonum #963

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

vszakats
Copy link
Contributor

@vszakats vszakats commented Dec 11, 2023

Notice that just like in autotools, this detection also doesn't take
into account the targeted OS version. Meaning it detects strtonum even
if targeting e.g. macOS older than release v11 Big Sur (which introduced
this funcitions), if the SDK declares it. Wrong detection will either
cause a binary broken on older macOS and/or trigger compiler warnings.

Ref: #928 (comment)
Ref: #928 (comment)

Prerequisite: #961

Notice that just like in autotools, this detection also doesn't take
into account the targeted OS version. Meaning it detects `strtonum` even
if targeting e.g. macOS older than release v11 Big Sur (which introduced
this funcitions), if the SDK declares it. Wrong detection will either
cause a binary broken on older macOS and/or trigger compiler warnings.

Ref: libressl#928 (comment)
Ref: libressl#928 (comment)

Prerequisite:
libressl#928 (comment)
@botovq botovq merged commit 8853aa4 into libressl:master Dec 12, 2023
35 checks passed
@vszakats vszakats deleted the cmake-strtonum-detection branch December 12, 2023 11:42
vszakats added a commit to curl/curl-for-win that referenced this pull request Dec 12, 2023
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