Nothing Special   »   [go: up one dir, main page]

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

Fix reentrant functions declarations checks #14315

Closed
wants to merge 1 commit into from

Conversation

petk
Copy link
Member
@petk petk commented May 23, 2024

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 the void 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 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.
@devnexen
Copy link
Member

Perhaps this should also go to PHP-8.2 since the void 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.

@petk petk closed this in 9e226b2 May 24, 2024
@petk petk deleted the patch-reentrant-declarations branch May 24, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants