On Fri Apr 14 12:29:15 2006, guest wrote:
Show quoted text> Commenting out those lines in Makefile.pl works, but make fails:
>
> g++ -c -I/usr/local/include/taglib -I/usr/include
> -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK
> -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -I/usr/local/include -O2
> -fno-strict-aliasing -pipe -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\"
> -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DNO_DOXYGEN
TagLib.c
Show quoted text> cc1plus: warning: command line option "-Wdeclaration-after-statement" is
> valid for C/ObjC but not for C++
> In file included from TagLib.xs:14:
> ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
> In file included from TagLib.xs:11:
> /usr/local/lib/perl5/5.8.8/mach/CORE/perl.h:163:1: warning: this is the
> location of the previous definition
> TagLib.c:1420:15: warning: extra tokens at end of #ifdef directive
> TagLib.c:1421:15: warning: extra tokens at end of #undef directive
> TagLib.c:1424:16: warning: extra tokens at end of #undef directive
> TagLib.c:1429:1: warning: "do_open" redefined
> TagLib.c:1428:1: warning: this is the location of the previous definition
> TagLib.c:1431:1: warning: "do_close" redefined
> TagLib.c:1430:1: warning: this is the location of the previous definition
> TagLib.xs: In function `void XS_TagLib__String_new(CV*)':
> TagLib.xs:147: error: invalid conversion from `char**' to `const char**'
> TagLib.xs:147: error: initializing argument 2 of `size_t
> libiconv(void*, const char**, size_t*, char**, size_t*)'
caused by diff function prototype on FressBSD
Thanks very much for information.
Be fixed in next release.
Show quoted text> TagLib.xs: In function `void XS_TagLib__String_getChar(CV*)':
> TagLib.xs:342: error: invalid conversion from `char**' to `const char**'
> TagLib.xs:342: error: initializing argument 2 of `size_t
> libiconv(void*, const char**, size_t*, char**, size_t*)'
> TagLib.xs: In function `void XS_TagLib__String__Iterator_data(CV*)':
> TagLib.xs:65: error: invalid conversion from `char**' to `const char**'
> TagLib.xs:65: error: initializing argument 2 of `size_t
> libiconv(void*, const char**, size_t*, char**, size_t*)'
> *** Error code 1
>
> g++ --version reports
> g++ (GCC) 3.4.4 [FreeBSD] 20050518