[Perl/perl5] 8e9c0b: Disable -Wc++-keyword because of false positives

[email protected] (Leon Timmermans via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8e9c0b3d8a20f34f8353adee63b9eabfca848fb0
      https://github.com/Perl/perl5/commit/8e9c0b3d8a20f34f8353adee63b9eabfca848fb0
  Author: Leon Timmermans <[email protected]>
  Date:   2026-03-15 (Sun, 15 Mar 2026)

  Changed paths:
    M cflags.SH

  Log Message:
  -----------
  Disable -Wc++-keyword because of false positives

This warning, a child category of -Wc++-compat, was causing a lot of
false positives of the following variety:

In file included from op.c:163:
In file included from ./perl.h:6228:
./proto.h:6124:26: warning: identifier 'wchar_t' conflicts with a C++ keyword [-Wc++-keyword]
 6124 | Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
      |                          ^
1 warning generated.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.