On Mon, Dec 26 2022, Andrew Hewus Fresh wrote:
> On Tue, Dec 27, 2022 at 02:22:43AM +0100, Jeremie Courreges-Anglas wrote:
>>
>> MD5.xs:375:21: error: mixing declarations and code is incompatible with
>> standards before C99 [-Werror,-Wdeclaration-after-statement]
>> unsigned char *b
On Tue, Dec 27, 2022 at 02:22:43AM +0100, Jeremie Courreges-Anglas wrote:
>
> MD5.xs:375:21: error: mixing declarations and code is incompatible with
> standards before C99 [-Werror,-Wdeclaration-after-statement]
> unsigned char *buf = (unsigned char *)(SvPV(ST(2), len));
>
> The bui
MD5.xs:375:21: error: mixing declarations and code is incompatible with
standards before C99 [-Werror,-Wdeclaration-after-statement]
unsigned char *buf = (unsigned char *)(SvPV(ST(2), len));
The build system asks for -Werror *and* -Wdeclaration-after-statement so
let's fix the code.