Back
From: metabase:user:d404c3ac-4c5b-11e5-b75b-fd37b1ec650b
Subject: PASS XML-Fast-0.11 v5.22.0 Mac OS X
Date: 2015-08-27T06:19:07Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear MONS,
This is a computer-generated report for XML-Fast-0.11
on perl 5.22.0, created by App::cpanminus::reporter 0.13 (1.7039).
Thank you for uploading your work to CPAN. Congratulations!
All tests were successful.
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '':
Building and testing XML-Fast-0.11
cp lib/XML/Fast.pm blib/lib/XML/Fast.pm
Running Mkbootstrap for XML::Fast ()
chmod 644 "Fast.bs"
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.22.0/ExtUtils/xsubpp" -typemap "/usr/local/lib/perl5/5.22.0/ExtUtils/typemap" Fast.xs > Fast.xsc && mv Fast.xsc Fast.c
cc -c -I. -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" "-I/usr/local/lib/perl5/5.22.0/darwin-2level/CORE" Fast.c
In file included from Fast.xs:11:
In file included from ./xmlfast.h:8:
./entities.h:11:53: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_001[1] = { { 'p', "&", 1, 0, NULL } };
^~~
./entities.h:12:57: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_002[1] = { { 's', "'", 1, 0, NULL } };
^~~
./entities.h:15:49: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_005[1] = { { 't', ">", 1, 0, NULL } };
^~~
./entities.h:16:49: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_006[1] = { { 't', "<", 1, 0, NULL } };
^~~
./entities.h:17:57: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_007[1] = { { 't', "\"", 1, 0, NULL } };
^~~~
Fast.xs:291:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->comm, sv );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:291:2: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:291:2: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:331:22: warning: passing 'char [14]' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(utf, chr);
^~~
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:62:57: note: expanded from macro 'uvchr_to_utf8'
#define uvchr_to_utf8(a,b) uvchr_to_utf8_flags(a,b,0)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:64:52: note: expanded from macro 'uvchr_to_utf8_flags'
uvoffuni_to_utf8_flags(d,NATIVE_TO_UNI(uv),flags)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/embed.h:727:73: note: expanded from macro 'uvoffuni_to_utf8_flags'
#define uvoffuni_to_utf8_flags(a,b,c) Perl_uvoffuni_to_utf8_flags(aTHX_ a,b,c)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/proto.h:5070:57: note: passing argument to parameter 'd' here
PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
^
Fast.xs:331:6: warning: assigning to 'char *' from 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(utf, chr);
^ ~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:378:23: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(start, chr);*end = '\0';
^~~~~
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:62:57: note: expanded from macro 'uvchr_to_utf8'
#define uvchr_to_utf8(a,b) uvchr_to_utf8_flags(a,b,0)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:64:52: note: expanded from macro 'uvchr_to_utf8_flags'
uvoffuni_to_utf8_flags(d,NATIVE_TO_UNI(uv),flags)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/embed.h:727:73: note: expanded from macro 'uvoffuni_to_utf8_flags'
#define uvoffuni_to_utf8_flags(a,b,c) Perl_uvoffuni_to_utf8_flags(aTHX_ a,b,c)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/proto.h:5070:57: note: passing argument to parameter 'd' here
PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
^
Fast.xs:378:7: warning: assigning to 'char *' from 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(start, chr);*end = '\0';
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:420:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->attrname, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:420:4: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:420:4: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:427:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->text, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:427:3: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:427:3: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:462:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->attrname, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:462:4: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:462:4: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:470:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->text, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:470:3: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:470:3: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:483:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->cdata, sv );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:483:2: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:483:2: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:510:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->text, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:510:3: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:510:3: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:566:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, ctx->text, ctx->textval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:566:3: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:566:3: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:678:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, tag, sv);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:678:5: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:678:5: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:697:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, tag, svtext);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:697:5: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:697:5: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:713:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
hv_store_a(ctx->hcurrent, tag, sv);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Fast.xs:713:5: note: place parentheses around the assignment to silence this warning
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:713:5: note: use '==' to turn this assignment into an equality comparison
Fast.xs:88:14: note: expanded from macro 'hv_store_a'
if( exists = hv_fetch(hv, kv, kl, 0) ) { \
^
Fast.xs:808:23: warning: passing 'char [14]' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(utf, chr);
^~~
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:62:57: note: expanded from macro 'uvchr_to_utf8'
#define uvchr_to_utf8(a,b) uvchr_to_utf8_flags(a,b,0)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/utf8.h:64:52: note: expanded from macro 'uvchr_to_utf8_flags'
uvoffuni_to_utf8_flags(d,NATIVE_TO_UNI(uv),flags)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/embed.h:727:73: note: expanded from macro 'uvoffuni_to_utf8_flags'
#define uvoffuni_to_utf8_flags(a,b,c) Perl_uvoffuni_to_utf8_flags(aTHX_ a,b,c)
^
/usr/local/lib/perl5/5.22.0/darwin-2level/CORE/proto.h:5070:57: note: passing argument to parameter 'd' here
PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
^
Fast.xs:808:7: warning: assigning to 'char *' from 'U8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
end = uvchr_to_utf8(utf, chr);
^ ~~~~~~~~~~~~~~~~~~~~~~~
22 warnings generated.
cc -c -I. -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" "-I/usr/local/lib/perl5/5.22.0/darwin-2level/CORE" xmlfast.c
In file included from xmlfast.c:1:
In file included from ./xmlfast.h:8:
./entities.h:11:53: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_001[1] = { { 'p', "&", 1, 0, NULL } };
^~~
./entities.h:12:57: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_002[1] = { { 's', "'", 1, 0, NULL } };
^~~
./entities.h:15:49: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_005[1] = { { 't', ">", 1, 0, NULL } };
^~~
./entities.h:16:49: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_006[1] = { { 't', "<", 1, 0, NULL } };
^~~
./entities.h:17:57: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
static entityref_t _e_007[1] = { { 't', "\"", 1, 0, NULL } };
^~~~
xmlfast.c:155:66: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (context->cb.bytespart) context->cb.bytespart(context->ctx, cur_ent->entity, cur_ent->length);
^~~~~~~~~~~~~~~
xmlfast.c:251:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( p = parse_entity(context, p) ) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
xmlfast.c:251:16: note: place parentheses around the assignment to silence this warning
if( p = parse_entity(context, p) ) {
^
( )
xmlfast.c:251:16: note: use '==' to turn this assignment into an equality comparison
if( p = parse_entity(context, p) ) {
^
==
xmlfast.c:309:15: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Comment node not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:322:15: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Cdata node not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:332:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
case 0 : xml_error("Doctype not properly terminated"); break;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:347:11: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Doctype not properly terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:350:10: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Doctype intSubset not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:358:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Malformed document after <!");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:369:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
case 0 : xml_error("Processing instruction not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:376:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Bad processing instruction");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:383:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Processing instruction not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:391:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Error parsing PI attributes");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:401:15: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Processing instruction not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:404:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Internal error: Bad state after processing instruction");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:419:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
if (len == 0 ) xml_error("Empty close tag name");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:478:14: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Close tag not terminated");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:489:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
case 0: xml_error("Unterminated node");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:494:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Bad node open");
^~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:500:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Bad node open");
^~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:523:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (search = parse_attrs(p,context)) {
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xmlfast.c:523:21: note: place parentheses around the assignment to silence this warning
if (search = parse_attrs(p,context)) {
^
( )
xmlfast.c:523:21: note: use '==' to turn this assignment into an equality comparison
if (search = parse_attrs(p,context)) {
^
==
xmlfast.c:526:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
} else xml_error("Error parsing node attributes");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:530:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
case 0 : xml_error("Unterminated node");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:542:13: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
xml_error("Bad char at the end of tag");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xmlfast.h:99:50: note: expanded from macro 'xml_error'
fprintf(stderr,"Error at char %d (%1s): %s\n", p-xml, *p ? p : "\\0", x); \
~~ ^~~~~
xmlfast.c:590:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( p = parse_entity(context,p) ) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~
xmlfast.c:590:15: note: place parentheses around the assignment to silence this warning
if( p = parse_entity(context,p) ) {
^
( )
xmlfast.c:590:15: note: use '==' to turn this assignment into an equality comparison
if( p = parse_entity(context,p) ) {
^
==
29 warnings generated.
rm -f blib/arch/auto/XML/Fast/Fast.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong Fast.o xmlfast.o -o blib/arch/auto/XML/Fast/Fast.bundle \
\
chmod 755 blib/arch/auto/XML/Fast/Fast.bundle
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Fast.bs blib/arch/auto/XML/Fast/Fast.bs 644
Manifying 1 pod document
Running Mkbootstrap for XML::Fast ()
chmod 644 "Fast.bs"
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ..... ok
t/01-conv.t ..... ok
t/02-doctype.t .. ok
# testing file t/reports/01.xml
# testing file t/reports/02.xml
# testing file t/reports/03.xml
# testing file t/reports/04.xml
# testing file t/reports/05.xml
t/03-reports.t .. ok
# testing file t/badxml/01.xml
# testing file t/badxml/02.xml
t/04-badxml.t ... ok
t/05-wrongs.t ... ok
All tests successful.
Files=6, Tests=87, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.23 cusr 0.04 csys = 0.32 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
No requirements found
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = en_US.UTF-8
LD_LIBRARY_PATH = /usr/lib:/usr/local/lib:/usr/local/pgsql/lib
PATH = /usr/local/pgsql/bin:/Applications/Mkvtoolnix.app/Contents/MacOS/:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dha/perlstufftosort:/Users/dha/mybin:/usr/local/mysql/bin:/Developer/Tools:/usr/X11R6/bin:/Library/Perl/5.8.6:/Users/dha/rakudo-star-2010.09::/Users/dha/rakudo/install/bin:/Users/dha/rakudo/install/share/perl6/lib/:/Users/dha/rakudo/install/share/perl6/site/bin
SHELL = /bin/zsh
TERM = color_xterm
TMPDIR = /var/folders/5n/9xl8v7xj5vzdb9pqvgclfn8r0000gn/T/
Perl special variables (and OS-specific diagnostics, for MSWin32):
EGID = 20 20 701 12 61 79 80 81 98 33 100 204 398 399
EUID = 501
EXECUTABLE_NAME = /usr/local/bin/perl
GID = 20 20 701 12 61 79 80 81 98 33 100 204 398 399
UID = 501
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11
CPAN::Meta 2.150001
Cwd 3.56
ExtUtils::CBuilder 0.280221
ExtUtils::Command 1.20
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.04_01
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.28
File::Spec 3.56
JSON 2.90
JSON::PP 2.27300
Module::Build 0.4214
Module::Signature n/a
Parse::CPAN::Meta 1.4414
Test::Harness 3.35
Test::More 1.001014
YAML 1.15
YAML::Syck 1.29
version 0.9909
--
Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
Platform:
osname=darwin, osvers=14.4.0, archname=darwin-2level
uname='darwin davids-macbook.local 14.4.0 darwin kernel version 14.4.0: thu may 28 11:35:04 pdt 2015; root:xnu-2782.30.5~1release_x86_64 x86_64 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /Library/Developer/CommandLineTools/usr/bin/../lib/clang/6.1.0/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib
libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-lpthread -ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Aug 26 2015 17:18:21
@INC:
/usr/local/lib/perl5/site_perl/5.22.0/darwin-2level
/usr/local/lib/perl5/site_perl/5.22.0
/usr/local/lib/perl5/5.22.0/darwin-2level
/usr/local/lib/perl5/5.22.0
/usr/local/lib/perl5/site_perl/5.18.2
/usr/local/lib/perl5/site_perl
.