This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "pp_(get|set)priority: remove ancient glibc C++ workaround"
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 12 Feb 2020 20:18:40 +0000 (20:18 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 12 Feb 2020 20:26:11 +0000 (20:26 +0000)
commit96d019622c8664693f6966a219cfdfd9c81ac025
tree49e7b3a53161c4228c111086f15973cd8c3c9568
parent97277bd37fa26714515f17503588be90e2fcd3fa
Revert "pp_(get|set)priority: remove ancient glibc C++ workaround"

It turns out that even though the headers correctly define the argument
as `int` under C++, -Wc++-compat doesn't know this.

Add a comment to stop others from falling into the same trap I did.

This reverts commit 34d254cefc451e5ab438acf22a51d7b557c05a0e.
pp_sys.c