This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
don't use -Werror=declaration-after-statement with C++
authorTony Cook <tony@develop-help.com>
Tue, 17 Dec 2019 00:32:40 +0000 (11:32 +1100)
committerKarl Williamson <khw@cpan.org>
Tue, 17 Dec 2019 21:44:20 +0000 (14:44 -0700)
commitda255c79e19b6d6937fe9fe83c3bc7cd7ae8db5f
tree4c1ae9ad03963fb756082a37dea2b5ce05e487bf
parent9f16475a53933d1d9c547f871b97b3b12160cece
don't use -Werror=declaration-after-statement with C++

declaration after statement is normal for C++ and C++ compilers
rightly complain if we try to warn (or error) on them, so don't
try to.

fixes #17353
cflags.SH