[Perl/perl5] b9b8d7: 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/leont/wc++-compat/[email protected]>
  Branch: refs/heads/leont/wc++-compat
  Home:   https://github.com/Perl/perl5
  Commit: b9b8d7aecf0384cd8880cc8893b0dc7a1841872c
      https://github.com/Perl/perl5/commit/b9b8d7aecf0384cd8880cc8893b0dc7a1841872c
  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.