Subject: | "class" as parameter name breaks C++ builds |
Date: | Fri, 30 May 2014 21:57:38 -0400 |
To: | bug-Digest-SHA [...] rt.cpan.org |
From: | Jarkko Hietaniemi <jhi [...] iki.fi> |
Perl itself builds with C++, and CPAN modules often do, too. But
Digest::SHA 5.91 cannot:
...
SV *
newSHA(class, alg)
char * class
int alg
The "class" parameter kills C++ (e.g. g++) builds pretty fast. Please
consider renaming the parameter.
(This came up as we tried to refresh the Digest::SHA to be included in
Perl 5.21.1, among other core modules.)