When I try to install Crypt::TEA module to perl 5.18 on Windows 7, displayed error:
TEA.xs: In function 'XS_Crypt__TEA_crypt': TEA.xs:58:9: error: invalid use of void expression
When I try to install Crypt::TEA module to perl 5.18 on Windows 7, displayed error:
TEA.xs: In function 'XS_Crypt__TEA_crypt': TEA.xs:58:9: error: invalid use of void expression
The problem is this line:
SvUPGRADE() is a macro with two void operations, it does not return a value. It will croak if it fails. Change it to this: