[Perl/perl5] 288d74: Disable -Wc++compat 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: 288d74674ab3bc2faf1161aa5b7f06fb06186f1e
      https://github.com/Perl/perl5/commit/288d74674ab3bc2faf1161aa5b7f06fb06186f1e
  Author: Leon Timmermans <[email protected]>
  Date:   2026-03-15 (Sun, 15 Mar 2026)

  Changed paths:
    M cflags.SH

  Log Message:
  -----------
  Disable -Wc++compat 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.