-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for Perl built with C++ #1294
Comments
I have never built Perl with C++. |
At the configure stage just use
or this for clang
|
I did. |
@pmqs you should be able to test C++ builds sufficient for updating your modules in core by replacing:
line in your workflow file with:
|
Thanks @tonycoz Part of the reason for wanting the C++ mode is to trap compiler errors & warnings in a build that I always forget to do when I'm getting a release together. The
That feels like a wider issue with building Perl with C++ in general that is going to cause problems when clang drop building C code with their C++ compiler. |
For your purposes you can probably do:
unfortunately that doesn't work when building perl itself (which I tried to fix in Perl/perl5@07e3b5c but had to revert in Perl/perl5@0c77b72) |
That's a good option. Didn't see that one in the clang docs. Another option I investigated was Another option I use with C builds is |
For Perl XS modules, particularly those in the core, you need your module to support being build with a Perl binary created with a C++ compiler.
I'm just updating Compress-Raw-Zlib with a C- related change that gets stung with this use-case more often that I'd like. The typical workflow goes like tis
I have all of the use-cases I need cooked into my GitHub actions, but this one is missing. Any chance of adding C++ support?
The text was updated successfully, but these errors were encountered: