develooper Front page | perl.perl5.porters | Postings from March 2022

Backport token-split-by-macro fix?

Thread Next
From:
Felipe Gasper
Date:
March 1, 2022 17:10
Subject:
Backport token-split-by-macro fix?
Message ID:
5F06D27B-E006-49E3-A922-596AA859EF65@felipegasper.com
Hi all,

	New clang versions (e.g., 13.0.0) cause a torrent of warnings with current production Perl releases.

	These warnings make maintenance of XS modules a challenge--since whatever errors the compiler may have thrown are interwoven amidst maybe thousands of these warnings. I’ve been working around the issue by prefixing a #pragma onto my .xs files, but I had to paw around for a bit to find that. Others may not have that patience, and it also comes at the cost of now having a warning when gcc, not clang, does the compilation.

	A recent GitHub issue (https://github.com/Perl/perl5/issues/18780) appears to have addressed this in blead. Would a backport of this fix to current production releases be possible?

	Thank you!

cheers,
-Felipe

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About