Skip to content

Conversation

remicollet
Copy link
Member

Minimal fix for 8.0+ extracted from pr #7684

@remicollet remicollet requested a review from cmb69 November 24, 2021 15:03
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is okay for me, but is there really an issue when passing surplus arguments (except that a compiler/linter might complain)?

@remicollet
Copy link
Member Author

This is okay for me, but is there really an issue when passing surplus arguments (except that a compiler/linter might complain)?

Usually, not an issue when using cdecl, may can be bad with fastcall (used in some part of Zend)

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually, not an issue when using cdecl, may can be bad with fastcall (used in some part of Zend)

Ah, right; an issue if callee pops stack.

@remicollet
Copy link
Member Author

Applied as e713890

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