Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 16cb53546f63343cd8c03fd930f5b39e5807a7ba
https://github.com/Perl/perl5/commit/16cb53546f63343cd8c03fd930f5b39e5807a7ba
Author: Lukas Mai <[email protected]>
Date: 2025-03-03 (Mon, 03 Mar 2025)
Changed paths:
M Cross/cflags-cross-arm
M cflags.SH
Log Message:
-----------
cflags.SH: don't try to add both -Wextra and -W
-W is just the older spelling of -Wextra, so don't try to add both.
Also, remove the special-case logic for -W that skips adding it if
-Wextra was already added.
Background: -W was officially renamed to -Wextra in gcc 3.4
<https://gcc.gnu.org/gcc-3.4/changes.html>, released in April 2004. So
the only case where this code had any effect was 20+ years old releases
of gcc that understood -W, but not -Wextra. I don't think we need to
cater to those compilers for modern perl development.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications