Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix reentrant functions declarations checks#14315

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
petk wants to merge1 commit intophp:masterfrompetk:patch-reentrant-declarations

Conversation

petk
Copy link
Member

This fixes incompatible pointer type warnings during the reentrant functions declaration checks. These were not declared on some obsolete systems if_REENTRANT was not defined. The check is for now left in the code base but can be transitioned to newer code without checking for missing declarations or using these otherwise in the future.

Perhaps this should also go to PHP-8.2 since thevoid addition attempted to fix some other warnings and errors (-Wstrict-prototypes). This AC_CHECK_DECL should work ok for all those issues.

This fixes incompatible pointer type warnings during the reentrantfunctions declaration checks. These were not declared on some obsoletesystems if _REENTRANT was not defined. The check is for now left in thecode base but can be transitioned to newer code without checking formissing declarations or using these otherwise in the future.
@devnexen
Copy link
Member

Perhaps this should also go to PHP-8.2 since thevoid addition attempted to fix some other warnings and errors (-Wstrict-prototypes). This AC_CHECK_DECL should work ok for all those issues.

I think so too.

arnaud-lb reacted with thumbs up emoji

@petkpetk deleted the patch-reentrant-declarations branchMay 24, 2024 20:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@arnaud-lbarnaud-lbarnaud-lb approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@petk@devnexen@arnaud-lb

[8]ページ先頭

©2009-2025 Movatter.jp