Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
In the course of preparing Devel-NYTProf for its version 6.13 release (performed today), I conducted most of the development work on Ubuntu Linux 22.04 LTS, where gcc-11.0.4 is the default C-compiler. And my default perl there is 5.38.0. make ran with no build-time warnings.
Before releasing I also tested on FreeBSD-13, where clang-14.0.6 is the default C-compiler and the vendor perl is 5.32.1. In this environment, make emitted hundreds of -Wcompound-token-split-by-macro warnings.
Having observed this warnings category with clang14 during Perl 5 development over the last couple of years, I suspected that if I tried to build the distribution with a more recent perl, I would get fewer build-time warnings. Using perl-5.39.3, this proved to be the case, though we're still left with hundreds of such warnings.
In the course of preparing Devel-NYTProf for its version 6.13 release (performed today), I conducted most of the development work on Ubuntu Linux 22.04 LTS, where gcc-11.0.4 is the default C-compiler. And my default
perl
there is 5.38.0.make
ran with no build-time warnings.Before releasing I also tested on FreeBSD-13, where clang-14.0.6 is the default C-compiler and the vendor
perl
is 5.32.1. In this environment,make
emitted hundreds of-Wcompound-token-split-by-macro
warnings.Having observed this warnings category with
clang14
during Perl 5 development over the last couple of years, I suspected that if I tried to build the distribution with a more recentperl
, I would get fewer build-time warnings. Using perl-5.39.3, this proved to be the case, though we're still left with hundreds of such warnings.I will consult with people more knowledgeable about compilers than I am.