Subject: | Bleadperl breaks due to static/non-static declarations |
With current bleadperl I get a fail with these diagnostocs:
cc -c -I. -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3
-Wall -W -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC
"-I/home/src/perl/repoperls/installed-perls/perl/v5.15.2-158-ga62da8e/2b65/lib/5.15.2/x86_64-linux-ld/CORE"
XSAccessor.c
XSAccessor.c:741:13: error: static declaration of
‘XS_Class__XSAccessor_getter_init’ follows non-static declaration
XSAccessor.xs:423:6: note: previous declaration of
‘XS_Class__XSAccessor_getter_init’ was here
XSAccessor.c:778:13: error: static declaration of
‘XS_Class__XSAccessor_getter’ follows non-static declaration
XSAccessor.xs:422:6: note: previous declaration of
‘XS_Class__XSAccessor_getter’ was here
XSAccessor.c:814:13: error: static declaration of
‘XS_Class__XSAccessor_lvalue_accessor_init’ follows non-static declaration
XSAccessor.xs:427:6: note: previous declaration of
‘XS_Class__XSAccessor_lvalue_accessor_init’ was here
XSAccessor.c:861:13: error: static declaration of
‘XS_Class__XSAccessor_lvalue_accessor’ follows non-static declaration
XSAccessor.xs:426:6: note: previous declaration of
‘XS_Class__XSAccessor_lvalue_accessor’ was here
XSAccessor.c:908:13: error: static declaration of
‘XS_Class__XSAccessor_setter_init’ follows non-static declaration
XSAccessor.xs:431:6: note: previous declaration of
‘XS_Class__XSAccessor_setter_init’ was here
XSAccessor.c:945:13: error: static declaration of
‘XS_Class__XSAccessor_setter’ follows non-static declaration
XSAccessor.xs:430:6: note: previous declaration of
‘XS_Class__XSAccessor_setter’ was here
XSAccessor.c:981:13: error: static declaration of
‘XS_Class__XSAccessor_chained_setter_init’ follows non-static declaration
XSAccessor.xs:440:6: note: previous declaration of
‘XS_Class__XSAccessor_chained_setter_init’ was here
XSAccessor.c:1018:13: error: static declaration of
‘XS_Class__XSAccessor_chained_setter’ follows non-static declaration
XSAccessor.xs:439:6: note: previous declaration of
‘XS_Class__XSAccessor_chained_setter’ was here
XSAccessor.c:1054:13: error: static declaration of
‘XS_Class__XSAccessor_accessor_init’ follows non-static declaration
[...]
Let me know if you need more information,