Repository navigation
Conversation
We removed C89 `setjmp.h` and `signal.h` detections and excluded them from the global header list we use for detecting functions [1]. Then missed to re-add these headers to the specific functions which need them to be detected [2]. Fix this omission in this patch. `sigsetjmp` has a second detection attempt documented as 'special' in the comment. However this detection uses the same method as the first attempt, with the difference of using `setjmp.h` header only, without including the rest of non-standard headers detected. It detects both function and macro like the first attempt. This second attempt seems redundant. It's been there since the initial commit of CMake support. [1] Follow-up to 3795fcd curl#11951 [2] Follow-up to 96c2990 curl#11940 Closes #xxxxx
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 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.
We removed C89
setjmp.handsignal.hdetections and excluded themfrom the global header list we use when detecting functions [1]. Then
missed to re-add these headers to the specific functions which need
them to be detected [2]. Fix this omission in this patch.
[1] Follow-up to 3795fcd #11951
[2] Follow-up to 96c2990 #11940
Closes #12043
sigsetjmphas a second detection attempt documented as 'special' in the comments. However this detection uses the same method as the first attempt, with the difference of usingsetjmp.hheader only, without including the rest of non-standard headers detected. It detects both function and macro like the first attempt. This second attempt seems redundant. It's been there since the initial commit of CMake support.