Subject: | gcc warnings |
When building Socket::Multicast 0.01:
Multicast.xs: In function ‘XS_Socket__Multicast_pack_ip_mreq’:
Multicast.xs:51:9: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘STRLEN’ [-Wformat]
Multicast.xs:51:9: attention : format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
Multicast.xs:65:9: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘STRLEN’ [-Wformat]
Multicast.xs:65:9: attention : format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
--
Olivier Mengué - http://perlresume.org/DOLMEN