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: fix CURL_WERROR=ON
for old CMake and use it in GHA/linux-old
#13282
Closed
Conversation
This file contains 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
vszakats
force-pushed
the
linux-old-tweaks
branch
from
April 4, 2024 18:33
c4159da
to
ae8614c
Compare
vszakats
changed the title
GHA: enable unity, fail on warnings, more https in linux-old
GHA: enable unity, fail on warnings in linux-old
Apr 4, 2024
vszakats
force-pushed
the
linux-old-tweaks
branch
2 times, most recently
from
April 4, 2024 21:04
9b5cd26
to
eae006c
Compare
vszakats
changed the title
GHA: enable unity, fail on warnings in linux-old
GHA: fail on warnings, enable unity in linux-old
Apr 4, 2024
vszakats
changed the title
GHA: fail on warnings, enable unity in linux-old
GHA: fail on warnings, enable unity, in linux-old
Apr 4, 2024
vszakats
changed the title
GHA: fail on warnings, enable unity, in linux-old
GHA: fail on warnings in linux-old
Apr 4, 2024
vszakats
changed the title
GHA: fail on warnings in linux-old
cmake: fix Apr 4, 2024
-pedentic-errors
preconditions, set CURL_WERROR=ON
for GHA/linux-old
vszakats
changed the title
cmake: fix
cmake: fix Apr 4, 2024
-pedentic-errors
preconditions, set CURL_WERROR=ON
for GHA/linux-old-pedantic-errors
preconditions, set CURL_WERROR=ON
for GHA/linux-old
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Apr 4, 2024
vszakats
force-pushed
the
linux-old-tweaks
branch
from
April 4, 2024 22:17
eae006c
to
e460e39
Compare
vszakats
changed the title
cmake: fix
cmake: fix Apr 4, 2024
-pedantic-errors
preconditions, set CURL_WERROR=ON
for GHA/linux-old-pedantic-errors
conditions, set CURL_WERROR=ON
for GHA/linux-old
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Apr 4, 2024
vszakats
force-pushed
the
linux-old-tweaks
branch
2 times, most recently
from
April 4, 2024 23:07
0b904e8
to
491fcb4
Compare
vszakats
changed the title
cmake: fix
cmake: fix Apr 4, 2024
-pedantic-errors
conditions, set CURL_WERROR=ON
for GHA/linux-old-pedantic-errors
for old CMake, set CURL_WERROR=ON
on GHA/linux-old
vszakats
changed the title
cmake: fix
cmake: fix `CURL_WERROR=ON for old CMake and set it on GHA/linux-old
Apr 4, 2024
-pedantic-errors
for old CMake, set CURL_WERROR=ON
on GHA/linux-old
vszakats
changed the title
cmake: fix `CURL_WERROR=ON for old CMake and set it on GHA/linux-old
cmake: fix `CURL_WERROR=ON for old CMake and use it in GHA/linux-old
Apr 4, 2024
vszakats
changed the title
cmake: fix `CURL_WERROR=ON for old CMake and use it in GHA/linux-old
cmake: fix Apr 4, 2024
CURL_WERROR=ON
for old CMake and use it in GHA/linux-old
`-pedantic-errors` option throws a warning with GCC (all versions) in `check_symbol_exists()`, which makes feature checks fail. CMake v3.23.0 (2022-03-29) introduced a workaround: https://gitlab.kitware.com/cmake/cmake/-/issues/13208 https://gitlab.kitware.com/cmake/cmake/-/commit/eeb45401163d831b8c841ef6eba81466b4067b68 https://gitlab.kitware.com/cmake/cmake/-/commit/1ab7c3cd28b27ca162c4559e1026e5cad1898ade Make sure to not enable this option for CMake versions older than that. Follow-up to 3829759 curl#12489
vszakats
force-pushed
the
linux-old-tweaks
branch
from
April 5, 2024 09:32
491fcb4
to
d032bdc
Compare
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Apr 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
cmake: fix
-pedantic-errors
for old CMake withCURL_WERROR=ON
set.-pedantic-errors
option throws a warning with GCC (all versions) andmakes
check_symbol_exists()
fail in CMake versions older thanv3.23.0 (2022-03-29), when CMake introduced a workaround:
https://gitlab.kitware.com/cmake/cmake/-/issues/13208
https://gitlab.kitware.com/cmake/cmake/-/commit/eeb45401163d831b8c841ef6eba81466b4067b68
https://gitlab.kitware.com/cmake/cmake/-/commit/1ab7c3cd28b27ca162c4559e1026e5cad1898ade
Follow-up to 3829759 build: enable missing OpenSSF-recommended warnings, with fixes #12489
set
CURL_WERROR=ON
for thelinux-old
job in CI.Closes #13282