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

Define PERL_ARGS_ASSERT_CROAK_XS_USAGE when setting croak_xs_usage #196

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

atoomic
Copy link
Member

@atoomic atoomic commented Aug 10, 2020

This is matching what's done in ExtUtils::ParseXS::Utilities
and avoids to redefine croak_xs_usage later.

References: #194

This is matching what's done in ExtUtils::ParseXS::Utilities
and avoids to redefine croak_xs_usage later.

References: Dual-Life#194
@pali
Copy link
Contributor

pali commented Aug 10, 2020

See @khwilliamson commit 1ab5654 which you are basically reverting by this PR.

@atoomic
Copy link
Member Author

atoomic commented Aug 10, 2020

Indeed this mostly reverted 1ab5654 which introduced this new warning
I'm not sure it was fixing something? @khwilliamson can you confirm?
At this point I still think this is the right thing to do

@khwilliamson
Copy link
Member

The only reason I made that commit was because, as the message said, they were using a non-API element.

Now, it may be that was needed because we don't use variadic macros, so the function must be specified using the Perl_ prefix, and this is a way around that. I haven't investigated. But if that is the case that should have clearly been spelled out.

@atoomic
Copy link
Member Author

atoomic commented Sep 1, 2020

@khwilliamson any objections in merging this change?

@khwilliamson khwilliamson merged commit 94cca19 into Dual-Life:master Sep 30, 2020
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.

3 participants