Alias (ancient module) doesn't build anymore

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have some old Perl scripts which use Gurusamy's Alias module:

Unfortunately, that doesn't build anymore with recent versions of Perl
like 5.16.0 (here)

I get:

x86_64-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mtune=native -O2 -msse3 -
pipe   -DVERSION=\"2.32\" -DXS_VERSION=\"2.32\" -fPIC "-I/usr/lib64/
perl5/5.16.0/x86_64-linux/CORE"   Alias.c
Alias.xs: In function 'XS_Alias_attr':
Alias.xs:208:4: error: lvalue required as unary '&' operand
Alias.xs:209:4: error: lvalue required as left operand of assignment

Lines 207/10 0f Alias.xs read

case SVt_PVCV:
  GvCV(gv) = Null(CV*);

Does anybody know a fix?

Many thanks,

Re: Alias (ancient module) doesn't build anymore

Le 28/06/2012 11:55, Helmut Jarausch a écrit :
Quoted text here. Click to load it

Known bug. Apply the patch of this page:



Site Timeline