Skip to content

Disable XS prototypes by default #475

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Disable XS prototypes by default #475

wants to merge 1 commit into from

Conversation

Leont
Copy link
Member

@Leont Leont commented Jul 20, 2025

When neither -prototypes not -noprototypes is passed to xsubpp, it will require the XS files to contain a PROTOTYPES statement. This is a compatibility feature that dealt with a breaking change in January 1996, it long stopped having any purpose. Module::Build has disabled it since the very first version that supported XS (0.03 in 2001), and so should we.

When neither -prototypes not -noprototypes is passed to xsubpp, it will
require the XS files to contain a PROTOTYPES statement. This is a
compatibility feature that dealt with a breaking change in 1996, it long
stopped having any purpose. Module::Build has disabled it since the very
first version that supported XS (0.03 in 2001), and so should we.
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.

1 participant