Subject: | build failure |
[ 0%] Built target perlqtcore4pm
[ 0%] Built target perlqt4pmlibmkdir
[ 0%] Built target perlqt4pmlibsubdir
[ 1%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/util.cpp.o
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp: In function 「void pl_qFindChildren_helper(SV*, const QString&, SV*, const QMetaObject&, AV*)」:
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:951:9: 警告:unused variable 「count」 [-Wunused-variable]
int count = call_pv( methodname, G_SCALAR );
^~~~~
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp: In function 「void XS_find_qobject_children(PerlInterpreter*, CV*)」:
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:1062:13: 警告:unused variable 「count」 [-Wunused-variable]
int count = call_pv( "Qt::_internal::getMetaObject", G_SCALAR );
^~~~~
In file included from /home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:28:0:
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp: In function 「void XS_qmodelindex_internalpointer(PerlInterpreter*, CV*)」:
/usr/lib64/perl5/CORE/XSUB.h:165:20: 警告:unused variable 「items」 [-Wunused-variable]
#define dITEMS I32 items = (I32)(SP - MARK)
^
/usr/lib64/perl5/CORE/XSUB.h:173:16: 附註:in expansion of macro 「dITEMS」
dSP; dAXMARK; dITEMS
^~~~~~
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:1523:5: 附註:in expansion of macro 「dXSARGS」
dXSARGS;
^
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp: In function 「void XS_AUTOLOAD(PerlInterpreter*, CV*)」:
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:2234:59: 錯誤:cannot convert 「bool」 to 「void*」 in initialization
static smokeperl_object nothis = { 0, 0, 0, false };
^
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp: In function 「void XS_signal(PerlInterpreter*, CV*)」:
/home/lzhou/cpan.metacpan.org/authors/id/C/CB/CBUREL/Qt4-0.99.0/qtcore/src/util.cpp:2385:110: 警告:format 「%lu」 expects argument of type 「long unsigned int」, but argument 3 has type 「line_t {aka unsigned int}」 [-Wformat=]
fprintf(stderr, "called at line %lu in %s\n", CopLINE(PL_curcop), GvNAME(CopFILEGV(PL_curcop))+2 );
^
qtcore/src/CMakeFiles/perlqtcore4.dir/build.make:138: recipe for target 'qtcore/src/CMakeFiles/perlqtcore4.dir/util.cpp.o' failed
make[2]: *** [qtcore/src/CMakeFiles/perlqtcore4.dir/util.cpp.o] Error 1
CMakeFiles/Makefile2:263: recipe for target 'qtcore/src/CMakeFiles/perlqtcore4.dir/all' failed
make[1]: *** [qtcore/src/CMakeFiles/perlqtcore4.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2