Skip to content

Instantly share code, notes, and snippets.

@gutchom
Last active August 29, 2015 14:22
Show Gist options
  • Save gutchom/cd094a6f77db2375f409 to your computer and use it in GitHub Desktop.
Save gutchom/cd094a6f77db2375f409 to your computer and use it in GitHub Desktop.
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:2133:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
abs(utc_offset / 60),
^
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:2133:6: note: use function 'llabs' instead
abs(utc_offset / 60),
^~~
llabs
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:2134:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
abs((utc_offset % 60)));
^
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:2134:6: note: use function 'llabs' instead
abs((utc_offset % 60)));
^~~
llabs
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:3286:5: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
abs(utc_offset / 60),
^
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:3286:5: note: use function 'llabs' instead
abs(utc_offset / 60),
^~~
llabs
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:3287:5: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
abs((utc_offset % 60)));
^
/var/tmp/php-build/source/5.3.19/ext/date/php_date.c:3287:5: note: use function 'llabs' instead
abs((utc_offset % 60)));
^~~
llabs
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/date/lib/parse_date.c:25026:5: warning: expression result unused [-Wunused-value]
*fptr++;
^~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/date/lib/interval.c:63:13: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
rt->days = abs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400));
^
/var/tmp/php-build/source/5.3.19/ext/date/lib/interval.c:63:13: note: use function 'fabs' instead
rt->days = abs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400));
^~~
fabs
1 warning generated.
In file included from /var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:14:
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:7:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""},
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:7:12: warning: initializing 'const unsigned char *' with an expression of type 'char [63]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:7:81: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:8:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:8:12: warning: initializing 'const unsigned char *' with an expression of type 'char [53]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:9:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:10:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"blank", " \t", ""},
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:10:12: warning: initializing 'const unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"blank", " \t", ""},
^~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:10:20: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"blank", " \t", ""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:11:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"cntrl", "\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:11:12: warning: initializing 'const unsigned char *' with an expression of type 'char [33]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"cntrl", "\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:12:41: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
\25\26\27\30\31\32\33\34\35\36\37\177", ""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:13:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"digit", "0123456789", ""},
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:13:12: warning: initializing 'const unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"digit", "0123456789", ""},
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:13:26: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"digit", "0123456789", ""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:14:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"graph", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:14:12: warning: initializing 'const unsigned char *' with an expression of type 'char [95]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"graph", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:16:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:17:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"lower", "abcdefghijklmnopqrstuvwxyz",
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:17:12: warning: initializing 'const unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"lower", "abcdefghijklmnopqrstuvwxyz",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:18:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:19:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"print", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:19:12: warning: initializing 'const unsigned char *' with an expression of type 'char [96]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"print", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:21:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:22:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"punct", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:22:12: warning: initializing 'const unsigned char *' with an expression of type 'char [33]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"punct", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:23:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:24:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"space", "\t\n\v\f\r ", ""},
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:24:12: warning: initializing 'const unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"space", "\t\n\v\f\r ", ""},
^~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:24:27: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"space", "\t\n\v\f\r ", ""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:25:3: warning: initializing 'const unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"upper", "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:25:12: warning: initializing 'const unsigned char *' with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"upper", "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:26:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:27:3: warning: initializing 'const unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"xdigit", "0123456789ABCDEFabcdef",
^~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:27:13: warning: initializing 'const unsigned char *' with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign]
{"xdigit", "0123456789ABCDEFabcdef",
^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:28:6: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
""},
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/cclass.h:29:14: warning: initializing 'const unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
{NULL, 0, ""}
^~
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:589:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) {
^~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:594:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) {
^~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:736:15: warning: passing 'const unsigned char *const' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
^~~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:736:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
^~
/usr/include/string.h:84:40: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:747:47: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
for (u = cp->multis; *u != '\0'; u += strlen(u) + 1)
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:809:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
^~
/usr/include/string.h:84:40: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:1160:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cs->smultis += strlen(cp) + 1;
^~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:1170:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(void) strcpy(cs->multis + oldend - 1, cp);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/regcomp.c:1170:41: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(void) strcpy(cs->multis + oldend - 1, cp);
^~
/usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
46 warnings generated.
In file included from /var/tmp/php-build/source/5.3.19/ext/ereg/regex/regexec.c:46:
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/engine.c:91:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
stop = start + strlen(start);
^~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
In file included from /var/tmp/php-build/source/5.3.19/ext/ereg/regex/regexec.c:95:
/var/tmp/php-build/source/5.3.19/ext/ereg/regex/engine.c:91:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
stop = start + strlen(start);
^~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/libxml/libxml.c:281:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
uri = xmlParseURI((xmlChar *)filename);
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/uri.h:61:29: note: passing argument to parameter 'str' here
xmlParseURI (const char *str);
^
/var/tmp/php-build/source/5.3.19/ext/libxml/libxml.c:282:49: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (uri && (uri->scheme == NULL || (xmlStrncmp(uri->scheme, "file", 4) == 0))) {
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:67:58: note: passing argument to parameter 'str1' here
xmlStrncmp (const xmlChar *str1,
^
/var/tmp/php-build/source/5.3.19/ext/libxml/libxml.c:282:62: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (uri && (uri->scheme == NULL || (xmlStrncmp(uri->scheme, "file", 4) == 0))) {
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:68:57: note: passing argument to parameter 'str2' here
const xmlChar *str2,
^
/var/tmp/php-build/source/5.3.19/ext/libxml/libxml.c:455:34: warning: passing 'const char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
error_copy.message = xmlStrdup(msg);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/libxml/libxml.c:455:22: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
error_copy.message = xmlStrdup(msg);
^ ~~~~~~~~~~~~~~
5 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:329:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = SSLv23_client_method();
^ ~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:342:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = SSLv3_client_method();
^ ~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:346:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = TLSv1_client_method();
^ ~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:350:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = SSLv23_server_method();
^ ~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:354:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = SSLv3_server_method();
^ ~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/openssl/xp_ssl.c:367:11: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
method = TLSv1_server_method();
^ ~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:514:22: warning: passing 'char *' to parameter of type 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = compress2(s2, &l2, data, data_len, level);
^~
/usr/include/zlib.h:1123:42: note: passing argument to parameter 'dest' here
ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:514:31: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = compress2(s2, &l2, data, data_len, level);
^~~~
/usr/include/zlib.h:1124:48: note: passing argument to parameter 'source' here
const Bytef *source, uLong sourceLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:516:21: warning: passing 'char *' to parameter of type 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = compress(s2, &l2, data, data_len);
^~
/usr/include/zlib.h:1109:41: note: passing argument to parameter 'dest' here
ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:516:30: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = compress(s2, &l2, data, data_len);
^~~~
/usr/include/zlib.h:1110:47: note: passing argument to parameter 'source' here
const Bytef *source, uLong sourceLen));
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:561:23: warning: passing 'char *' to parameter of type 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = uncompress(s2, &length, data, data_len);
^~
/usr/include/zlib.h:1146:43: note: passing argument to parameter 'dest' here
ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:561:36: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = uncompress(s2, &length, data, data_len);
^~~~
/usr/include/zlib.h:1147:49: note: passing argument to parameter 'source' here
const Bytef *source, uLong sourceLen));
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:610:18: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
stream.next_out = s2;
^ ~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:896:18: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
stream.next_out = &(s2[GZIP_HEADER_LENGTH]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:1028:72: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_deflate_string(string, string_len, &Z_STRVAL_P(return_value), &Z_STRLEN_P(return_value), do_start, do_end TSRMLS_CC) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib.c:784:86: note: passing argument to parameter 'new_length' here
static int php_deflate_string(const char *str, uint str_length, char **newstr, uint *new_length, zend_bool do_start, zend_bool do_end TSRMLS_DC)
^
9 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:106:24: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_in = data->inbuf;
^ ~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:111:23: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_in = data->inbuf;
^ ~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:122:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf;
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:144:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf;
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:225:23: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_in = data->inbuf;
^ ~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:237:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf;
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:255:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf;
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:307:35: warning: assigning to 'char *' from 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:307:21: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:314:37: warning: assigning to 'char *' from 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/zlib/zlib_filter.c:314:22: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/curl/interface.c:2072:15: warning: implicit conversion from enumeration type 'CURLFORMcode' to different enumeration type 'CURLcode' [-Wenum-conversion]
error = curl_formadd(&first, &last,
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/curl/interface.c:2086:15: warning: implicit conversion from enumeration type 'CURLFORMcode' to different enumeration type 'CURLcode' [-Wenum-conversion]
error = curl_formadd(&first, &last,
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/attr.c:82:45: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nodep = xmlNewProp(NULL, (xmlChar *) name, value);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:787:22: note: passing argument to parameter 'value' here
const xmlChar *value);
^
/var/tmp/php-build/source/5.3.19/ext/dom/attr.c:160:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(*retval, content, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/attr.c:195:43: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeSetContentLen((xmlNodePtr) attrp, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1057:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:920:35: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(docp, NULL, name, value);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:920:41: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(docp, NULL, name, value);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:825:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1133:31: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewReference(docp, name);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:877:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1214:30: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
^~~~~~~~~~~~~~~
ext/dom/php_dom.h:109:44: note: passing argument to parameter 'uri' here
xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1214:59: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
^~~~~~~~~~~~~~~~~
ext/dom/php_dom.h:109:71: note: passing argument to parameter 'prefix' here
xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1250:39: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nodep = xmlNewDocNode (docp, NULL, localname, value);
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1250:50: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nodep = xmlNewDocNode (docp, NULL, localname, value);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:825:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1252:51: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:988:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1314:46: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nodep = (xmlNodePtr) xmlNewDocProp(docp, localname, NULL);
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:780:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1316:51: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nsptr = xmlSearchNsByHref (nodep->doc, root, uri);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:988:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1467:19: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
docp = xmlNewDoc(version);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:775:30: note: passing argument to parameter 'version' here
xmlNewDoc (const xmlChar *version);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1475:46: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
docp->encoding = (const xmlChar*)xmlStrdup(encoding);
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1505:30: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
escsource = xmlURIEscapeStr(source, ":");
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/uri.h:74:43: note: passing argument to parameter 'str' here
xmlURIEscapeStr (const xmlChar *str,
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1505:38: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
escsource = xmlURIEscapeStr(source, ":");
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/uri.h:75:22: note: passing argument to parameter 'list' here
const xmlChar *list);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1506:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
xmlParseURIReference(uri, escsource);
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/uri.h:67:19: note: passing argument to parameter 'str' here
const char *str);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1647:25: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret->URL = xmlStrdup(ctxt->directory);
^~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1833:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRING(mem, 1);
^~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:1848:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(mem, size, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/document.c:2175:26: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
source_len = xmlStrlen(source);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:85:58: note: passing argument to parameter 'str' here
xmlStrlen (const xmlChar *str);
^
19 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/processinginstruction.c:138:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(*retval, content, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/processinginstruction.c:168:30: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1057:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/documentfragment.c:143:64: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, data, &lst);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/parser.h:940:22: note: passing argument to parameter 'string' here
const xmlChar *string,
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:111:8: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pch1 = publicid;
^ ~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:113:8: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pch2 = systemid;
^ ~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:117:25: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
localname = xmlStrdup(uri->opaque);
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:125:25: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
localname = xmlStrdup(name);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:184:65: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:768:22: note: passing argument to parameter 'href' here
const xmlChar *href,
^
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:184:70: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:769:22: note: passing argument to parameter 'prefix' here
const xmlChar *prefix);
^
/var/tmp/php-build/source/5.3.19/ext/dom/domimplementation.c:219:39: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nodep = xmlNewDocNode (docp, nsptr, localname, NULL);
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
7 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/element.c:203:16: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
localname = xmlSplitQName2((xmlChar *)name, (xmlChar **) &prefix);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:219:30: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
qname = xmlStrcat(qname, ":");
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:88:57: note: passing argument to parameter 'add' here
const xmlChar *add);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:221:9: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = qname;
^ ~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:229:23: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
qname = xmlStrdup("xmlns");
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:230:30: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
qname = xmlStrcat(qname, ":");
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:88:57: note: passing argument to parameter 'add' here
const xmlChar *add);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:232:9: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = qname;
^ ~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:308:8: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = xmlNodeGetContent(nodep);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:311:8: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = xmlNodeGetContent(nodep->children);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:363:32: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1057:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:809:49: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(!strcmp (prefix, "xml") && strcmp(strURI, XML_XML_NAMESPACE)) ||
^~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:140:5: note: expanded from macro 'XML_XML_NAMESPACE'
(const xmlChar *) "http://www.w3.org/XML/1998/namespace"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:77:39: note: passing argument to parameter here
int strcmp(const char *, const char *);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:811:23: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strcmp (strURI, DOM_XMLNS_NAMESPACE)) ||
^~~~~~~~~~~~~~~~~~~
ext/dom/xml_common.h:61:5: note: expanded from macro 'DOM_XMLNS_NAMESPACE'
(const xmlChar *) "http://www.w3.org/2000/xmlns/"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:77:39: note: passing argument to parameter here
int strcmp(const char *, const char *);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:812:53: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(nodep->type == XML_ATTRIBUTE_NODE && !strcmp (nodep->name, "xmlns"))) {
^~~~~~~~~~~
/usr/include/string.h:77:25: note: passing argument to parameter here
int strcmp(const char *, const char *);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:929:6: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = xmlNodeGetContent(nodep);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1630:76: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (lookupp != NULL && (nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, uri))) {
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:988:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1665:41: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (nsptr && xmlStrEqual(nsptr->href, uri)) {
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:79:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1699:41: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
nsptr = xmlSearchNs(nodep->doc, nodep, prefix);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:984:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1791:39: warning: passing 'char [33]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xpathobjp = xmlXPathEvalExpression("(.//. | .//@* | .//namespace::*)", ctxp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpath.h:522:46: note: passing argument to parameter 'str' here
xmlXPathEvalExpression (const xmlChar *str,
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1831:16: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
&prefix, &prefix_key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) {
^~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1832:32: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlXPathRegisterNs(ctxp, prefix, Z_STRVAL_PP(tmpns));
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:426:23: note: passing argument to parameter 'prefix' here
const xmlChar *prefix,
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1832:40: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlXPathRegisterNs(ctxp, prefix, Z_STRVAL_PP(tmpns));
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:422:30: note: expanded from macro 'Z_STRVAL_PP'
#define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:427:23: note: passing argument to parameter 'ns_uri' here
const xmlChar *ns_uri);
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1839:38: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xpathobjp = xmlXPathEvalExpression(xquery, ctxp);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpath.h:522:46: note: passing argument to parameter 'str' here
xmlXPathEvalExpression (const xmlChar *str,
^
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1862:39: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
inclusive_ns_prefixes[nscount++] = Z_STRVAL_PP(tmpns);
^ ~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/dom/node.c:1953:8: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
value = xmlGetNodePath(nodep);
^ ~~~~~~~~~~~~~~~~~~~~~
22 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:94:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(*retval, content, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:124:30: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1057:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:210:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRING(substring, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:246:23: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlTextConcat(nodep, arg, arg_len);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:966:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:290:26: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeAddContent(node, arg);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1062:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.3.19/ext/dom/characterdata.c:402:35: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
substring = xmlStrcat(substring, arg);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:88:57: note: passing argument to parameter 'add' here
const xmlChar *add);
^
6 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/documenttype.c:209:4: warning: initializing 'const char *' with an expression of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRINGL(*retval, xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff), 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/entity.c:119:11: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
content = xmlNodeGetContent((xmlNodePtr) nodep);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/nodelist.c:87:60: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, -1);
^~~~~~~~~~
ext/dom/php_dom.h:113:70: note: passing argument to parameter 'ns' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/nodelist.c:87:72: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, -1);
^~~~~~~~~~~~~
ext/dom/php_dom.h:113:80: note: passing argument to parameter 'local' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/nodelist.c:158:62: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index);
^~~~~~~~~~
ext/dom/php_dom.h:113:70: note: passing argument to parameter 'ns' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/nodelist.c:158:74: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index);
^~~~~~~~~~~~~
ext/dom/php_dom.h:113:80: note: passing argument to parameter 'local' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/text.c:130:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(*retval, wholetext, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/entityreference.c:73:31: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewReference(NULL, name);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:877:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:197:2: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(&handler, obj->stringval, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:241:40: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
valuePush(ctxt, xmlXPathNewString( Z_STRVAL_P(retval)));
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:488:38: note: passing argument to parameter 'val' here
xmlXPathNewString (const xmlChar *val);
^
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:446:37: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xpathobjp = xmlXPathEvalExpression(expr, ctxp);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpath.h:522:46: note: passing argument to parameter 'str' here
xmlXPathEvalExpression (const xmlChar *str,
^
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:490:34: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
curns->prefix = xmlStrdup((char *) node->children);
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:493:41: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(docp, NULL, (char *) node->children, node->name);
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:495:41: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(docp, NULL, "xmlns", node->name);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/xpath.c:520:4: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRING(xpathobjp->stringval, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
7 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/dom_iterators.c:186:14: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
*str_key = estrndup(curnode->name, namelen);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_alloc.h:78:43: note: expanded from macro 'estrndup'
#define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_alloc.h:66:38: note: passing argument to parameter 's' here
ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
^
/var/tmp/php-build/source/5.3.19/ext/dom/dom_iterators.c:239:62: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(basenode, objmap->ns, objmap->local, &previndex, iter->index);
^~~~~~~~~~
ext/dom/php_dom.h:113:70: note: passing argument to parameter 'ns' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/dom_iterators.c:239:74: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(basenode, objmap->ns, objmap->local, &previndex, iter->index);
^~~~~~~~~~~~~
ext/dom/php_dom.h:113:80: note: passing argument to parameter 'local' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/dom_iterators.c:319:59: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &curindex, 0);
^~~~~~~~~~
ext/dom/php_dom.h:113:70: note: passing argument to parameter 'ns' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
/var/tmp/php-build/source/5.3.19/ext/dom/dom_iterators.c:319:71: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &curindex, 0);
^~~~~~~~~~~~~
ext/dom/php_dom.h:113:80: note: passing argument to parameter 'local' here
xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
^
5 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:152:55: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, named);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/hash.h:171:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:154:55: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
notep = (xmlNotation *)xmlHashLookup(objmap->ht, named);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/hash.h:171:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:163:46: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = (xmlNodePtr)xmlHasProp(nodep, named);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1025:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:284:55: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, named);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/hash.h:171:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:286:55: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
notep = (xmlNotation *)xmlHashLookup(objmap->ht, named);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/hash.h:171:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:295:48: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = (xmlNodePtr)xmlHasNsProp(nodep, named, uri);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1028:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/dom/namednodemap.c:295:55: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
itemnode = (xmlNodePtr)xmlHasNsProp(nodep, named, uri);
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1029:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
7 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/filter/sanitizing_filters.c:260:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
buf = php_escape_html_entities_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), &len, 1, quotes, SG(default_charset), 0 TSRMLS_CC);
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.h:43:57: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset, zend_bool double_encode TSRMLS_DC);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/filter/logical_filters.c:387:64: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
^
/var/tmp/php-build/source/5.3.19/main/php_config.h:2510:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/gd/gd.c:1524:6: warning: implicit declaration of function 'overflow2' is invalid in C99 [-Wimplicit-function-declaration]
if (overflow2(font->nchars, font->h)) {
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/gd/libgd/gd.c:1347:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
if (abs(dx) > abs(dy)) {
^
/var/tmp/php-build/source/5.3.19/ext/gd/libgd/gd.c:1347:6: note: use function 'labs' instead
if (abs(dx) > abs(dy)) {
^~~
labs
/var/tmp/php-build/source/5.3.19/ext/gd/libgd/gd.c:1347:16: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
if (abs(dx) > abs(dy)) {
^
/var/tmp/php-build/source/5.3.19/ext/gd/libgd/gd.c:1347:16: note: use function 'labs' instead
if (abs(dx) > abs(dy)) {
^~~
labs
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/iconv/iconv.c:675:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
err = _php_iconv_strlen(&total_len, str, nbytes, enc);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/iconv/iconv.c:574:56: note: passing argument to parameter 'pretval' here
static php_iconv_err_t _php_iconv_strlen(unsigned int *pretval, const char *str, size_t nbytes, const char *enc)
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/json/json.c:301:36: warning: invalid conversion specifier 'k' [-Wformat-invalid-specifier]
int l = spprintf(&tmp, 0, "%.*k", (int) EG(precision), d);
~~~^
/var/tmp/php-build/source/5.3.19/ext/json/json.c:301:40: warning: data argument not used by format string [-Wformat-extra-args]
int l = spprintf(&tmp, 0, "%.*k", (int) EG(precision), d);
~~~~~~ ^
/var/tmp/php-build/source/5.3.19/ext/json/json.c:460:32: warning: invalid conversion specifier 'k' [-Wformat-invalid-specifier]
len = spprintf(&d, 0, "%.*k", (int) EG(precision), dbl);
~~~^
/var/tmp/php-build/source/5.3.19/ext/json/json.c:460:36: warning: data argument not used by format string [-Wformat-extra-args]
len = spprintf(&d, 0, "%.*k", (int) EG(precision), dbl);
~~~~~~ ^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:465:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:465:28: note: place parentheses around the '&&' expression to silence this warning
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
^
( )
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:696:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:696:28: note: place parentheses around the '&&' expression to silence this warning
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
^
( )
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:844:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:844:28: note: place parentheses around the '&&' expression to silence this warning
if (s <= 0 || s >= 0x8080 && s < 0x10000) {
^
( )
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c:221:4: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
p = psrc;
^ ~~~~
/var/tmp/php-build/source/5.3.19/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c:238:4: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
p = psrc;
^ ~~~~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/mbstring/mb_gpc.c:330:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
string.val = val_list[n];
^ ~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/mbstring/mb_gpc.c:333:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
val = resval.val;
^ ~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/mcrypt/mcrypt.c:693:2: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(data_s, data_size, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/mcrypt/mcrypt_filter.c:210:37: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mcrypt_module = mcrypt_module_open(cipher, algo_dir, mode, mode_dir);
^~~~~~
/usr/local/include/mutils/mcrypt.h:38:34: note: passing argument to parameter 'algorithm' here
MCRYPT mcrypt_module_open(char *algorithm,
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/mysqli/mysqli_api.c:1055:35: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
add_property_string(value, "db", (field->db ? field->db : ""), 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:429:117: note: expanded from macro 'add_property_string'
#define add_property_string(__arg, __key, __str, __duplicate) add_property_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate TSRMLS_CC)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:420:85: note: passing argument to parameter 'str' here
ZEND_API int add_property_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/mysqli/mysqli_api.c:1220:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (fieldnr < 0 || fieldnr >= mysql_num_fields(result)) {
~~~~~~~ ^ ~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo.c:280:12: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *orig_val = data_source + valstart;
^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_dbh.c:407:85: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
&& HASH_KEY_IS_LONG == zend_hash_get_current_key(Z_ARRVAL_P(options), &str_key, &long_key, 0)) {
^~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:201:52: note: expanded from macro 'zend_hash_get_current_key'
zend_hash_get_current_key_ex(ht, str_index, NULL, num_index, duplicate, NULL)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_dbh.c:991:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
Z_STRVAL_P(return_value) = dbh->methods->last_id(dbh, name, &Z_STRLEN_P(return_value) TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_stmt.c:323:34: warning: invalid conversion specifier 'H' [-Wformat-invalid-specifier]
int len = spprintf(&p, 0, "%.*H", (int) EG(precision), Z_DVAL_P(param->parameter));
~~~^
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_stmt.c:323:38: warning: data argument not used by format string [-Wformat-extra-args]
int len = spprintf(&p, 0, "%.*H", (int) EG(precision), Z_DVAL_P(param->parameter));
~~~~~~ ^
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_stmt.c:469:19: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (num_index < 0) {
~~~~~~~~~ ^ ~
/var/tmp/php-build/source/5.3.19/ext/pdo/pdo_stmt.c:1149:53: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
} else if (ce->unserialize(&return_value, ce, Z_TYPE_P(val) == IS_STRING ? Z_STRVAL_P(val) : "", Z_TYPE_P(val) == IS_STRING ? Z_STRLEN_P(val) : 0, NULL TSRMLS_CC) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:435:26: note: expanded from macro 'Z_TYPE_P'
#define Z_TYPE_P(zval_p) Z_TYPE(*zval_p)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:434:23: note: expanded from macro 'Z_TYPE'
#define Z_TYPE(zval) (zval).type
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/simplexml/simplexml.c:804:120: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->children->content, "0")) ) {
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:65:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
/var/tmp/php-build/source/5.3.19/ext/simplexml/simplexml.c:832:103: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(!node->children->content || !node->children->content[0] || !xmlStrcmp(node->children->content, "0")))) ) {
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:65:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
/var/tmp/php-build/source/5.3.19/ext/simplexml/simplexml.c:1377:78: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
xmlDocDumpMemoryEnc((xmlDocPtr) sxe->document->ptr, &strval, &strval_len, ((xmlDocPtr) sxe->document->ptr)->encoding);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1159:19: note: passing argument to parameter 'txt_encoding' here
const char *txt_encoding);
^
/var/tmp/php-build/source/5.3.19/ext/simplexml/simplexml.c:1388:74: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeDumpOutput(outbuf, (xmlDocPtr) sxe->document->ptr, node, 0, 0, ((xmlDocPtr) sxe->document->ptr)->encoding);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:1212:19: note: passing argument to parameter 'encoding' here
const char *encoding);
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/soap/soap.c:3552:14: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strcmp(params->name, function->functionName) == 0) {
^~~~~~~~~~~~
/usr/include/string.h:77:25: note: passing argument to parameter here
int strcmp(const char *, const char *);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/soap/php_encoding.c:3038:82: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60 ));
^
/var/tmp/php-build/source/5.3.19/ext/soap/php_encoding.c:3038:82: note: use function 'labs' instead
snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60 ));
^~~
labs
/var/tmp/php-build/source/5.3.19/ext/soap/php_encoding.c:3038:109: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60 ));
^
/var/tmp/php-build/source/5.3.19/ext/soap/php_encoding.c:3038:109: note: use function 'labs' instead
snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60 ));
^~~
labs
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/spl/php_spl.c:756:35: warning: format specifies type 'unsigned int' but the argument has type 'intptr_t' (aka 'long') [-Wformat]
spprintf(&hex, 32, "%016x%016x", hash_handle, hash_handlers);
~~~~~ ^~~~~~~~~~~
%016lx
/var/tmp/php-build/source/5.3.19/ext/spl/php_spl.c:756:48: warning: format specifies type 'unsigned int' but the argument has type 'intptr_t' (aka 'long') [-Wformat]
spprintf(&hex, 32, "%016x%016x", hash_handle, hash_handlers);
~~~~~ ^~~~~~~~~~~~~
%016lx
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:115:37: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
*vallen = sqlite_decode_binary(rowdata[0], *val);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:32:54: note: passing argument to parameter 'in' here
extern int sqlite_decode_binary(const unsigned char *in, unsigned char *out);
^
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:115:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
*vallen = sqlite_decode_binary(rowdata[0], *val);
^~~~
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:32:73: note: passing argument to parameter 'out' here
extern int sqlite_decode_binary(const unsigned char *in, unsigned char *out);
^
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:150:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
binlen = sqlite_encode_binary((const unsigned char*)val, vallen, binary);
^~~~~~
/var/tmp/php-build/source/5.3.19/ext/sqlite/sess_sqlite.c:31:80: note: passing argument to parameter 'out' here
extern int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out);
^
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:636:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (des_setkey((u_char *) keybuf, data))
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:379:24: note: passing argument to parameter 'key' here
des_setkey(const char *key, struct php_crypt_extended_data *data)
^
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:665:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (des_cipher((u_char *) keybuf, (u_char *) keybuf,
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:582:24: note: passing argument to parameter 'in' here
des_cipher(const char *in, char *out, uint32_t salt, int count,
^
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:665:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (des_cipher((u_char *) keybuf, (u_char *) keybuf,
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:582:34: note: passing argument to parameter 'out' here
des_cipher(const char *in, char *out, uint32_t salt, int count,
^
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:675:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (des_setkey((u_char *) keybuf, data))
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/crypt_freesec.c:379:24: note: passing argument to parameter 'key' here
des_setkey(const char *key, struct php_crypt_extended_data *data)
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/array.c:2630:17: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
pad_size_abs = abs(pad_size);
^
/var/tmp/php-build/source/5.3.19/ext/standard/array.c:2630:17: note: use function 'labs' instead
pad_size_abs = abs(pad_size);
^~~
labs
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/standard/dns.c:403:51: warning: passing 'u_char [8192]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans));
^~~
ext/standard/php_dns.h:28:48: note: expanded from macro 'php_dns_search'
((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
^
/usr/include/dns.h:134:106: note: passing argument to parameter 'buf' here
extern int32_t dns_search(dns_handle_t dns, const char *name, uint32_t dnsclass, uint32_t dnstype, char *buf, uint32_t len, struct sockaddr *from, uint32_t *fromlen);
^
/var/tmp/php-build/source/5.3.19/ext/standard/dns.c:511:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_next_index_stringl(entries, cp + ll + 1, n, 1);
^~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:401:60: note: passing argument to parameter 'str' here
ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate);
^
/var/tmp/php-build/source/5.3.19/ext/standard/dns.c:517:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(*subarray, "txt", tp, dlen - 1, 0);
^~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:123: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:368:83: note: passing argument to parameter 'str' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
^
/var/tmp/php-build/source/5.3.19/ext/standard/dns.c:820:62: warning: passing 'u_char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
n = php_dns_search(handle, hostname, C_IN, type_to_fetch, answer.qb2, sizeof answer);
^~~~~~~~~~
ext/standard/php_dns.h:28:48: note: expanded from macro 'php_dns_search'
((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
^
/usr/include/dns.h:134:106: note: passing argument to parameter 'buf' here
extern int32_t dns_search(dns_handle_t dns, const char *name, uint32_t dnsclass, uint32_t dnstype, char *buf, uint32_t len, struct sockaddr *from, uint32_t *fromlen);
^
/var/tmp/php-build/source/5.3.19/ext/standard/dns.c:937:55: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, (u_char *)&ans, sizeof(ans));
^~~~~~~~~~~~~~
ext/standard/php_dns.h:28:48: note: expanded from macro 'php_dns_search'
((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
^
/usr/include/dns.h:134:106: note: passing argument to parameter 'buf' here
extern int32_t dns_search(dns_handle_t dns, const char *name, uint32_t dnsclass, uint32_t dnstype, char *buf, uint32_t len, struct sockaddr *from, uint32_t *fromlen);
^
5 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:930:8: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
ret = estrndup(old, oldlen);
^~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_alloc.h:78:43: note: expanded from macro 'estrndup'
#define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_alloc.h:66:38: note: passing argument to parameter 's' here
ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:949:30: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
entity_length = slprintf(entity, sizeof(entity), "&%s;", entity_map[j].table[k - entity_map[j].basechar]);
^~~~~~
/var/tmp/php-build/source/5.3.19/main/snprintf.h:81:34: note: passing argument to parameter 'buf' here
PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:988:26: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_memnstr(ret, entity, entity_length, ret+retlen)) {
^~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:227:36: note: passing argument to parameter 'needle' here
zend_memnstr(char *haystack, char *needle, int needle_len, char *end)
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:989:45: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
replaced = php_str_to_str(ret, retlen, entity, entity_length, replacement, replacement_len, &retlen);
^~~~~~
ext/standard/php_string.h:133:63: note: passing argument to parameter 'needle' here
PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:989:68: warning: passing 'unsigned char [15]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
replaced = php_str_to_str(ret, retlen, entity, entity_length, replacement, replacement_len, &retlen);
^~~~~~~~~~~
ext/standard/php_string.h:134:25: note: passing argument to parameter 'str' here
int needle_len, char *str, int str_len, int *_new_length);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1006:98: warning: passing 'unsigned char [15]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
replaced = php_str_to_str(ret, retlen, basic_entities[j].entity, basic_entities[j].entitylen, replacement, 1, &retlen);
^~~~~~~~~~~
ext/standard/php_string.h:134:25: note: passing argument to parameter 'str' here
int needle_len, char *str, int str_len, int *_new_length);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1036:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q += php_utf32_utf8(q, code);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:875:38: note: passing argument to parameter 'buf' here
size_t php_utf32_utf8(unsigned char *buf, unsigned k)
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1183:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
int l = strlen(rep);
^~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1190:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(replaced + len, rep, maxlen);
^~~
/usr/include/secure/_string.h:105:34: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1205:12: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
char *s = old + i;
^ ~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1290:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
replaced = php_escape_html_entities_ex(str, str_len, &len, all, quote_style, hint_charset, double_encode TSRMLS_CC);
^~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1125:57: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset, zend_bool double_encode TSRMLS_DC)
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1399:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
replaced = php_unescape_html_entities(str, str_len, &len, 1, quote_style, hint_charset TSRMLS_CC);
^~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:921:56: note: passing argument to parameter 'old' here
PHPAPI char *php_unescape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC)
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1490:37: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(return_value, ind, basic_entities[j].entity,
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:113: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/html.c:1490:37: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(return_value, ind, basic_entities[j].entity,
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:99: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:368:58: note: passing argument to parameter 'key' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
^
14 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:108:6: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:131:6: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:153:6: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:210:6: warning: passing 'unsigned char [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, a, sizeof(a)) != sizeof(a))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:213:17: warning: passing 'char *' to parameter of type 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (uncompress(b, &len, a, sizeof(a)) != Z_OK) {
^
/usr/include/zlib.h:1146:43: note: passing argument to parameter 'dest' here
ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:231:24: warning: passing 'char *' to parameter of type 'Bytef *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = uncompress(buf, &szlength, bufz, slength);
^~~
/usr/include/zlib.h:1146:43: note: passing argument to parameter 'dest' here
ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:231:40: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = uncompress(buf, &szlength, bufz, slength);
^~~~
/usr/include/zlib.h:1147:49: note: passing argument to parameter 'source' here
const Bytef *source, uLong sourceLen));
^
/usr/include/zconf.h:240:23: note: expanded from macro 'OF'
# define OF(args) args
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:249:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
bits = php_swf_get_bits (b, 0, 5);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:177:59: note: passing argument to parameter 'buffer' here
static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int count)
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:250:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
result->width = (php_swf_get_bits (b, 5 + bits, bits) -
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:177:59: note: passing argument to parameter 'buffer' here
static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int count)
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:251:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
php_swf_get_bits (b, 5, bits)) / 20;
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:177:59: note: passing argument to parameter 'buffer' here
static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int count)
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:252:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) -
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:177:59: note: passing argument to parameter 'buffer' here
static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int count)
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:253:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
php_swf_get_bits (b, 5 + (2 * bits), bits)) / 20;
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:177:59: note: passing argument to parameter 'buffer' here
static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int count)
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:275:6: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, a, sizeof(a)) != sizeof(a))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:308:6: warning: passing 'unsigned char [9]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if((php_stream_read(stream, dim, sizeof(dim))) < sizeof(dim))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:365:6: warning: passing 'unsigned char [2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if((php_stream_read(stream, a, sizeof(a))) <= 0) return 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:451:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, buffer, (long) length) <= 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:456:11: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/snprintf.h:83:34: note: passing argument to parameter here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:458:58: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (zend_hash_find(Z_ARRVAL_P(info), markername, strlen(markername)+1, (void **) &tmp) == FAILURE) {
^~~~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:458:39: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (zend_hash_find(Z_ARRVAL_P(info), markername, strlen(markername)+1, (void **) &tmp) == FAILURE) {
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:163:62: note: passing argument to parameter 'arKey' here
ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:460:27: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(info, markername, buffer, length, 1);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:113: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:460:27: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(info, markername, buffer, length, 1);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:99: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:368:58: note: passing argument to parameter 'key' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:460:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_assoc_stringl(info, markername, buffer, length, 1);
^~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:377:123: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:368:83: note: passing argument to parameter 'str' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:564:7: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((php_stream_read(stream, a, sizeof(a))) != sizeof(a)) return 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:645:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (result->channels < 0 || result->channels > 256) {
~~~~~~~~~~~~~~~~ ^ ~
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:829:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dir_entry = ifd_data+2+i*12;
^ ~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:887:6: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, a, 8) != 8) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:890:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strncmp(a+4, "ILBM", 4) && strncmp(a+4, "PBM ", 4)) {
^~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:890:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strncmp(a+4, "ILBM", 4) && strncmp(a+4, "PBM ", 4)) {
^~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:896:7: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, a, 8) != 8) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:908:20: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (size < 9 || php_stream_read(stream, a, 9) != 9) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1086:6: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, dim, 2) != 2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1098:7: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1181:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".gif" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1181:25: note: use array indexing to silence this warning
RETURN_STRING(".gif" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1183:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".jpeg" + !inc_dot, 1);
~~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1183:26: note: use array indexing to silence this warning
RETURN_STRING(".jpeg" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1185:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".png" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1185:25: note: use array indexing to silence this warning
RETURN_STRING(".png" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1188:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".swf" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1188:25: note: use array indexing to silence this warning
RETURN_STRING(".swf" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1190:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".psd" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1190:25: note: use array indexing to silence this warning
RETURN_STRING(".psd" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1193:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".bmp" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1193:25: note: use array indexing to silence this warning
RETURN_STRING(".bmp" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1196:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".tiff" + !inc_dot, 1);
~~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1196:26: note: use array indexing to silence this warning
RETURN_STRING(".tiff" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1198:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".iff" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1198:25: note: use array indexing to silence this warning
RETURN_STRING(".iff" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1200:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".jpc" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1200:25: note: use array indexing to silence this warning
RETURN_STRING(".jpc" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1202:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".jp2" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1202:25: note: use array indexing to silence this warning
RETURN_STRING(".jp2" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1204:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".jpx" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1204:25: note: use array indexing to silence this warning
RETURN_STRING(".jpx" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1206:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".jb2" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1206:25: note: use array indexing to silence this warning
RETURN_STRING(".jb2" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1208:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".xbm" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1208:25: note: use array indexing to silence this warning
RETURN_STRING(".xbm" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1210:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
RETURN_STRING(".ico" + !inc_dot, 1);
~~~~~~~^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.3.19/ext/standard/image.c:1210:25: note: use array indexing to silence this warning
RETURN_STRING(".ico" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
46 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:81:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
PUTC(c);
^~~~~~~
/var/tmp/php-build/source/5.3.19/main/php.h:391:38: note: expanded from macro 'PUTC'
#define PUTC(c) (php_body_write(&(c), 1 TSRMLS_CC), (c))
^~~~
/var/tmp/php-build/source/5.3.19/main/php_output.h:34:40: note: passing argument to parameter 'str' here
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:295:3: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(spoolbuf, poi - spoolbuf, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:346:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if ((len < 0) || (len > str_len) || (inx + len) > str_len) {
~~~ ^ ~
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:350:12: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum);
^~~
/var/tmp/php-build/source/5.3.19/main/snprintf.h:83:34: note: passing argument to parameter here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:356:60: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (zend_hash_find(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void **) &element) == FAILURE) {
^~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:356:48: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (zend_hash_find(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void **) &element) == FAILURE) {
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:163:62: note: passing argument to parameter 'arKey' here
ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:360:59: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_hash_update(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void *) &values, sizeof(zval*), (void **) &element);
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:109:39: note: expanded from macro 'zend_hash_update'
_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:360:47: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_hash_update(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void *) &values, sizeof(zval*), (void **) &element);
^~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:109:32: note: expanded from macro 'zend_hash_update'
_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:107:66: note: passing argument to parameter 'arKey' here
ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/iptc.c:363:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
add_next_index_stringl(*element, buffer+inx, len, 1);
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:401:60: note: passing argument to parameter 'str' here
ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate);
^
9 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/math.c:206:8: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
if (!zend_finite(tmp_value) || zend_isnan(tmp_value)) {
^
/var/tmp/php-build/source/5.3.19/main/php_config.h:2510:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
^
/var/tmp/php-build/source/5.3.19/ext/standard/math.c:567:14: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
RETURN_BOOL(zend_finite(dval));
^
/var/tmp/php-build/source/5.3.19/main/php_config.h:2510:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:597:43: note: expanded from macro 'RETURN_BOOL'
#define RETURN_BOOL(b) { RETVAL_BOOL(b); return; }
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:585:52: note: expanded from macro 'RETVAL_BOOL'
#define RETVAL_BOOL(b) ZVAL_BOOL(return_value, b)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:527:19: note: expanded from macro 'ZVAL_BOOL'
Z_LVAL_P(z) = ((b) != 0); \
^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
^
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/md5.c:65:3: warning: initializing 'const char *' with an expression of type 'unsigned char [16]' converts between pointers to integer types with different sign [-Wpointer-sign]
RETURN_STRINGL(digest, 16, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:602:43: note: expanded from macro 'RETURN_STRINGL'
#define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/standard/md5.c:99:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/md5.c:112:3: warning: initializing 'const char *' with an expression of type 'unsigned char [16]' converts between pointers to integer types with different sign [-Wpointer-sign]
RETURN_STRINGL(digest, 16, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:602:43: note: expanded from macro 'RETURN_STRINGL'
#define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:354:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
Look_Ahead_Letter(3) == 'D')) {
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:122:49: note: expanded from macro 'Look_Ahead_Letter'
#define Look_Ahead_Letter(n) (toupper(Lookahead(word+w_idx, n)))
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:127:29: note: passing argument to parameter 'word' here
static char Lookahead(char *word, int how_far)
^
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:404:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
} else if ((!traditional) && (Next_Letter == 'C' && Look_Ahead_Letter(2) == 'H' && Look_Ahead_Letter(3) == 'W')) {
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:122:49: note: expanded from macro 'Look_Ahead_Letter'
#define Look_Ahead_Letter(n) (toupper(Lookahead(word+w_idx, n)))
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:127:29: note: passing argument to parameter 'word' here
static char Lookahead(char *word, int how_far)
^
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:404:87: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
} else if ((!traditional) && (Next_Letter == 'C' && Look_Ahead_Letter(2) == 'H' && Look_Ahead_Letter(3) == 'W')) {
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:122:49: note: expanded from macro 'Look_Ahead_Letter'
#define Look_Ahead_Letter(n) (toupper(Lookahead(word+w_idx, n)))
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/metaphone.c:127:29: note: passing argument to parameter 'word' here
static char Lookahead(char *word, int how_far)
^
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/var.c:444:38: warning: invalid conversion specifier 'H' [-Wformat-invalid-specifier]
tmp_len = spprintf(&tmp_str, 0,"%.*H", (int) EG(precision), Z_DVAL_PP(struc));
~~~^
/var/tmp/php-build/source/5.3.19/ext/standard/var.c:444:42: warning: data argument not used by format string [-Wformat-extra-args]
tmp_len = spprintf(&tmp_str, 0,"%.*H", (int) EG(precision), Z_DVAL_PP(struc));
~~~~~~ ^
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/ftp_fopen_wrapper.c:249:3: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s")
^ ~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/ftp_fopen_wrapper.c:235:17: note: expanded from macro 'PHP_FTP_CNTRL_CHK'
unsigned char *s = val, *e = s + val_len; \
^
/var/tmp/php-build/source/5.3.19/ext/standard/ftp_fopen_wrapper.c:266:4: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
PHP_FTP_CNTRL_CHK(resource->pass, tmp_len, "Invalid password %s")
^ ~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/ftp_fopen_wrapper.c:235:17: note: expanded from macro 'PHP_FTP_CNTRL_CHK'
unsigned char *s = val, *e = s + val_len; \
^
/var/tmp/php-build/source/5.3.19/ext/standard/ftp_fopen_wrapper.c:647:17: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
while (tmp_len >= 0 &&
~~~~~~~ ^ ~
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/var_unserializer.c:979:15: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (!strncmp(start + 2, "NAN", 3)) {
^~~~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/standard/var_unserializer.c:981:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
} else if (!strncmp(start + 2, "INF", 3)) {
^~~~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
/var/tmp/php-build/source/5.3.19/ext/standard/var_unserializer.c:983:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
} else if (!strncmp(start + 2, "-INF", 4)) {
^~~~~~~~~
/usr/include/string.h:84:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
3 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/sha1.c:50:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
PHP_SHA1Update(&context, arg, arg_len);
^~~
ext/standard/sha1.h:34:65: note: passing argument to parameter here
PHPAPI void PHP_SHA1Update(PHP_SHA1_CTX *, const unsigned char *, unsigned int);
^
/var/tmp/php-build/source/5.3.19/ext/standard/sha1.c:53:3: warning: initializing 'const char *' with an expression of type 'unsigned char [20]' converts between pointers to integer types with different sign [-Wpointer-sign]
RETURN_STRINGL(digest, 20, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:602:43: note: expanded from macro 'RETURN_STRINGL'
#define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/standard/sha1.c:89:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:289:73: note: expanded from macro 'php_stream_read'
#define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:288:58: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/ext/standard/sha1.c:102:3: warning: initializing 'const char *' with an expression of type 'unsigned char [20]' converts between pointers to integer types with different sign [-Wpointer-sign]
RETURN_STRINGL(digest, 20, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:602:43: note: expanded from macro 'RETURN_STRINGL'
#define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/user_filters.c:561:74: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
(key_flags = zend_hash_get_current_key_ex(filters_hash, &filter_name, &filter_name_len, &num_key, 0, NULL)) != HASH_KEY_NON_EXISTANT;
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/standard/filters.c:1310:44: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((err = php_conv_get_ulong_prop_ex(ht, &l, field_name, field_name_len)) == PHP_CONV_ERR_SUCCESS) {
^~
/var/tmp/php-build/source/5.3.19/ext/standard/filters.c:1239:86: note: passing argument to parameter 'pretval' here
static php_conv_err_t php_conv_get_ulong_prop_ex(const HashTable *ht, unsigned long *pretval, char *field_name, size_t field_name_len)
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/standard/streamsfuncs.c:568:21: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
&stream_xport, &stream_xport_len,
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
/var/tmp/php-build/source/5.3.19/ext/standard/streamsfuncs.c:596:90: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
(key_flags = zend_hash_get_current_key_ex(url_stream_wrappers_hash, &stream_protocol, &stream_protocol_len, &num_key, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
/var/tmp/php-build/source/5.3.19/ext/standard/streamsfuncs.c:912:86: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(Z_ARRVAL_P(options), &wkey, &wkey_len, &num_key, 0, &pos)
^~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
/var/tmp/php-build/source/5.3.19/ext/standard/streamsfuncs.c:918:86: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(Z_ARRVAL_PP(wval), &okey, &okey_len, &num_key, 0, &opos)) {
^~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/standard/http.c:57:54: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
(key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
^~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:276:4: warning: initializing 'XML_Char *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
{ "ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:277:4: warning: initializing 'XML_Char *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
{ "US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:278:4: warning: initializing 'XML_Char *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
{ "UTF-8", NULL, NULL },
^~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:292:32: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
xml_globals->default_encoding = "UTF-8";
^ ~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:599:18: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(name, enc->name) == 0) {
^~~~
/usr/include/strings.h:78:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:599:24: warning: passing 'XML_Char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(name, enc->name) == 0) {
^~~~~~~~~
/usr/include/strings.h:78:43: note: passing argument to parameter here
int strcasecmp(const char *, const char *);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:860:27: warning: passing 'const char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
newstr = xml_utf8_decode(tag, strlen(tag), &out_len, parser->target_encoding);
^~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:764:46: note: passing argument to parameter 's' here
PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:883:38: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
tag_name = _xml_decode_tag(parser, name);
^~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:855:62: note: passing argument to parameter 'tag' here
static char *_xml_decode_tag(xml_parser *parser, const char *tag)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:892:35: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
att = _xml_decode_tag(parser, attributes[0]);
^~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:855:62: note: passing argument to parameter 'tag' here
static char *_xml_decode_tag(xml_parser *parser, const char *tag)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:893:49: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
val = xml_utf8_decode(attributes[1], strlen(attributes[1]), &val_len, parser->target_encoding);
^~~~~~~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:929:35: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
att = _xml_decode_tag(parser, attributes[0]);
^~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:855:62: note: passing argument to parameter 'tag' here
static char *_xml_decode_tag(xml_parser *parser, const char *tag)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:930:49: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
val = xml_utf8_decode(attributes[1], strlen(attributes[1]), &val_len, parser->target_encoding);
^~~~~~~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:963:38: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
tag_name = _xml_decode_tag(parser, name);
^~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:855:62: note: passing argument to parameter 'tag' here
static char *_xml_decode_tag(xml_parser *parser, const char *tag)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1280:13: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
encoding = "ISO-8859-1";
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1282:13: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
encoding = "UTF-8";
^ ~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1284:13: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
encoding = "US-ASCII";
^ ~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1299:62: warning: passing 'char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
&php_xml_mem_hdlrs, ns_param);
^~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/expat_compat.h:123:108: note: passing argument to parameter here
PHPAPI XML_Parser XML_ParserCreate_MM(const XML_Char *, const XML_Memory_Handling_Suite *, const XML_Char *);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1544:34: warning: passing 'char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = XML_Parse(parser->parser, data, data_len, isFinal);
^~~~
/var/tmp/php-build/source/5.3.19/ext/xml/expat_compat.h:135:51: note: passing argument to parameter here
PHPAPI int XML_Parse(XML_Parser, const XML_Char *, int data_len, int is_final);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1589:34: warning: passing 'char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = XML_Parse(parser->parser, data, data_len, 1);
^~~~
/var/tmp/php-build/source/5.3.19/ext/xml/expat_compat.h:135:51: note: passing argument to parameter here
PHPAPI int XML_Parse(XML_Parser, const XML_Char *, int data_len, int is_final);
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1733:27: warning: passing 'char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
enc = xml_get_encoding(Z_STRVAL_PP(val));
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:422:30: note: expanded from macro 'Z_STRVAL_PP'
#define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:594:55: note: passing argument to parameter 'name' here
static xml_encoding *xml_get_encoding(const XML_Char *name)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1768:4: warning: initializing 'const char *' with an expression of type 'XML_Char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETURN_STRING(parser->target_encoding, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:601:40: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:589:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1792:48: warning: passing 'char [11]' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
encoded = xml_utf8_encode(arg, arg_len, &len, "ISO-8859-1");
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:609:83: note: passing argument to parameter 'encoding' here
PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1792:10: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
encoded = xml_utf8_encode(arg, arg_len, &len, "ISO-8859-1");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1796:2: warning: initializing 'const char *' with an expression of type 'XML_Char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(encoded, len, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1812:28: warning: passing 'char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
decoded = xml_utf8_decode(arg, arg_len, &len, "ISO-8859-1");
^~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:764:46: note: passing argument to parameter 's' here
PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1812:48: warning: passing 'char [11]' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
decoded = xml_utf8_decode(arg, arg_len, &len, "ISO-8859-1");
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:764:87: note: passing argument to parameter 'encoding' here
PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding)
^
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1812:10: warning: assigning to 'XML_Char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
decoded = xml_utf8_decode(arg, arg_len, &len, "ISO-8859-1");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/xml.c:1816:2: warning: initializing 'const char *' with an expression of type 'XML_Char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(decoded, len, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
28 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:371:47: warning: passing 'char [1]' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
parser->h_external_entity_ref(parser, names, "", sys_id, pub_id);
^~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:605:40: warning: passing 'const XML_Char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
error = xmlParseChunk(parser->parser, data, data_len, is_final);
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/parser.h:1022:19: note: passing argument to parameter 'chunk' here
const char *chunk,
^
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:622:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
"No error",
^~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:623:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
"No memory",
^~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:624:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid document start",
^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:625:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Empty document",
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:626:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Not well-formed (invalid token)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:627:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid document end",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:628:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid hexadecimal character reference",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:629:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [36]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid decimal character reference",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:630:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid character reference",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:631:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid character",
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:632:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_CHARREF_AT_EOF",
^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:633:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_CHARREF_IN_PROLOG",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:634:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_CHARREF_IN_EPILOG",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:635:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_CHARREF_IN_DTD",
^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:636:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITYREF_AT_EOF",
^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:637:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITYREF_IN_PROLOG",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:638:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITYREF_IN_EPILOG",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:639:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITYREF_IN_DTD",
^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:640:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference at end of document",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:641:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference in prolog",
^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:642:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference in epilog",
^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:643:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [61]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference: forbidden within markup decl in internal subset",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:644:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITYREF_NO_NAME",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:645:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [25]' converts between pointers to integer types with different sign [-Wpointer-sign]
"EntityRef: expecting ';'",
^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:646:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference: no name",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:647:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReference: expecting ';'",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:648:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Undeclared entity error",
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:649:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Undeclared entity warning",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:650:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Unparsed Entity",
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:651:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITY_IS_EXTERNAL",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:652:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITY_IS_PARAMETER",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:653:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Unknown encoding",
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:654:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Unsupported encoding",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:655:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [36]' converts between pointers to integer types with different sign [-Wpointer-sign]
"String not started expecting ' or \"",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:656:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [35]' converts between pointers to integer types with different sign [-Wpointer-sign]
"String not closed expecting \" or '",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:657:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Namespace declaration error",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:658:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign]
"EntityValue: \" or ' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:659:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign]
"EntityValue: \" or ' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:660:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"< in attribute",
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:661:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Attribute not started",
^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:662:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Attribute not finished",
^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:663:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Attribute without value",
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:664:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Attribute redefined",
^~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:665:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign]
"SystemLiteral \" or ' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:666:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign]
"SystemLiteral \" or ' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:668:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Comment not finished",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:669:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [35]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Processing Instruction not started",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:670:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [36]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Processing Instruction not finished",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:671:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign]
"NOTATION: Name expected here",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:672:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [43]' converts between pointers to integer types with different sign [-Wpointer-sign]
"'>' required to close NOTATION declaration",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:673:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [42]' converts between pointers to integer types with different sign [-Wpointer-sign]
"'(' required to start ATTLIST enumeration",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:674:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [42]' converts between pointers to integer types with different sign [-Wpointer-sign]
"'(' required to start ATTLIST enumeration",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:675:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign]
"MixedContentDecl : '|' or ')*' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:676:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_MIXED_NOT_FINISHED",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:677:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"ELEMENT in DTD not started",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:678:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"ELEMENT in DTD not finished",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:679:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML declaration not started",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:680:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML declaration not finished",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:681:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_CONDSEC_NOT_STARTED",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:682:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [35]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML conditional section not closed",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:683:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Content error in the external subset",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:684:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"DOCTYPE not finished",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:685:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Sequence ']]>' not allowed in content",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:686:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
"CDATA not finished",
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:687:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Reserved XML Name",
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:688:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Space required",
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:689:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_SEPARATOR_REQUIRED",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:690:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign]
"NmToken expected in ATTLIST enumeration",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:691:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_NAME_REQUIRED",
^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:692:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign]
"MixedContentDecl : '#PCDATA' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:693:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign]
"SYSTEM or PUBLIC, the URI is missing",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:694:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PUBLIC, the Public Identifier is missing",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:695:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
"< required",
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:696:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
"> required",
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:697:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"</ required",
^~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:698:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
"= required",
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:699:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Mismatched tag",
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:700:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Tag not finished",
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:701:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign]
"standalone accepts only 'yes' or 'no'",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:702:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid XML encoding name",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:703:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [46]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Comment must not contain '--' (double-hyphen)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:704:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid encoding",
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:705:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [46]' converts between pointers to integer types with different sign [-Wpointer-sign]
"external parsed entities cannot be standalone",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:706:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML conditional section '[' expected",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:707:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Entity value required",
^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:708:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign]
"chunk is not well balanced",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:709:2: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [48]' converts between pointers to integer types with different sign [-Wpointer-sign]
"extra content at the end of well balanced chunk",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:710:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITY_CHAR_ERROR",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:711:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [42]' converts between pointers to integer types with different sign [-Wpointer-sign]
"PEReferences forbidden in internal subset",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:712:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [34]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Detected an entity reference loop",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:713:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_ENTITY_BOUNDARY",
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:714:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Invalid URI",
^~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:715:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Fragment not allowed",
^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:716:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_WAR_CATALOG_PI",
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:717:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_ERR_NO_DTD",
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:718:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [55]' converts between pointers to integer types with different sign [-Wpointer-sign]
"conditional section INCLUDE or IGNORE keyword expected", /* 95 */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:719:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [35]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Version in XML Declaration missing", /* 96 */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:720:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_WAR_UNKNOWN_VERSION", /* 97 */
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:721:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_WAR_LANG_VALUE", /* 98 */
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:722:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_WAR_NS_URI", /* 99 */
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:723:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
"XML_WAR_NS_URI_RELATIVE", /* 100 */
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:724:5: warning: initializing 'const XML_Char *const' (aka 'const unsigned char *const') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign]
"Missing encoding in text declaration" /* 101 */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:731:10: warning: returning 'char [8]' from a function with result type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return "Unknown";
^~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/compat.c:766:9: warning: returning 'char [4]' from a function with result type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return "1.0";
^~~~~
106 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/xmlrpc-epi-php.c:1339:9: warning: implicit conversion from enumeration type 'enum _XMLRPC_VALUE_TYPE' to different enumeration type 'XMLRPC_VECTOR_TYPE' (aka 'enum _XMLRPC_VECTOR_TYPE') [-Wenum-conversion]
return xmlrpc_none;
~~~~~~ ^~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xml_element.c:337:13: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
bufcopy = buf;
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xml_element.c:352:9: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
bufcopy=buf;
^~~~
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xml_element.c:719:28: warning: passing 'const char *' to parameter of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if(XML_Parse(parser, in_buf, len, 1) == 0) {
^~~~~~
/var/tmp/php-build/source/5.3.19/ext/xml/expat_compat.h:135:51: note: passing argument to parameter here
PHPAPI int XML_Parse(XML_Parser, const XML_Char *, int data_len, int is_final);
^
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xml_element.c:725:23: warning: initializing 'const char *' with an expression of type 'const XML_Char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
const char * error_str = XML_ErrorString(err_code);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xmlrpc.c:2244:49: warning: implicit conversion from enumeration type 'enum _XMLRPC_VALUE_TYPE' to different enumeration type 'XMLRPC_VECTOR_TYPE' (aka 'enum _XMLRPC_VECTOR_TYPE') [-Wenum-conversion]
return(value && value->v) ? value->v->type : xmlrpc_none;
~~~~~~ ^~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xmlrpc/libxmlrpc/xmlrpc.c:2288:9: warning: implicit conversion from enumeration type 'enum _XMLRPC_VALUE_TYPE' to different enumeration type 'XMLRPC_VALUE_TYPE_EASY' (aka 'enum _XMLRPC_VALUE_TYPE_EASY') [-Wenum-conversion]
return xmlrpc_none;
~~~~~~ ^~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:114:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(value, str_len, "'%s'", string);
^~~~~
/var/tmp/php-build/source/5.3.19/main/snprintf.h:83:34: note: passing argument to parameter here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:117:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(value, str_len, "\"%s\"", string);
^~~~~
/var/tmp/php-build/source/5.3.19/main/snprintf.h:83:34: note: passing argument to parameter here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:233:5: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(args[i], obj->stringval, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:243:10: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = xmlXPathCastToString(obj);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:263:36: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
curns->prefix = xmlStrdup((char *) node->children);
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:41:58: note: passing argument to parameter 'cur' here
xmlStrdup (const xmlChar *cur);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:266:48: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name);
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:268:48: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:281:9: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = xmlXPathCastToString(obj);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:306:2: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ZVAL_STRING(&handler, obj->stringval, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:545:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:321:37: warning: passing 'char [1]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
valuePush(ctxt, xmlXPathNewString(""));
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:488:38: note: passing argument to parameter 'val' here
xmlXPathNewString (const xmlChar *val);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:347:39: warning: passing 'char [1]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
valuePush(ctxt, xmlXPathNewString(""));
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:488:38: note: passing argument to parameter 'val' here
xmlXPathNewString (const xmlChar *val);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:350:40: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
valuePush(ctxt, xmlXPathNewString( Z_STRVAL_P(retval)));
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:407:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xpathInternals.h:488:38: note: passing argument to parameter 'val' here
xmlXPathNewString (const xmlChar *val);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:441:69: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, "key") && xmlStrEqual(nodep->ns->href, XSLT_NAMESPACE)) {
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2/libxml/xmlstring.h:79:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:731:4: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
RETVAL_STRINGL(doc_txt_ptr, doc_txt_len, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:590:42: note: expanded from macro 'RETVAL_STRINGL'
#define RETVAL_STRINGL(s, l, duplicate) ZVAL_STRINGL(return_value, s, l, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_API.h:552:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.3.19/ext/xsl/xsltprocessor.c:764:75: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, NULL) != HASH_KEY_IS_STRING) {
^~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
^
15 warnings generated.
/var/tmp/php-build/source/5.3.19/ext/zip/lib/zip_source_filep.c:68:31: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (file == NULL || start < 0 || len < -1) {
~~~~~ ^ ~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/zip/lib/zip_source_zip.c:66:45: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (srcza == NULL || len < -1 || srcidx < 0 || srcidx >= srcza->nentry) {
~~~~~~ ^ ~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/mysqlnd/mysqlnd_statistics.c:214:43: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
sprintf((char *)&tmp, MYSQLND_LLU_SPEC, stats->values[i]);
^~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/mysqlnd/mysqlnd_ps_codec.c:90:55: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval);
^~~~
1 warning generated.
/var/tmp/php-build/source/5.3.19/main/main.c:686:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
char *replace = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
^~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.h:42:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/main/main.c:744:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
char *replace = php_escape_html_entities(origin, origin_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
^~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.h:42:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/main/main.c:1052:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
char *buf = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
^~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/html.h:42:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/main/main.c:1245:49: warning: implicit conversion from enumeration type 'php_stream_mmap_access_t' to different enumeration type 'php_stream_mmap_operation_t' [-Wenum-conversion]
&& (p = php_stream_mmap_range(stream, 0, len, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped_len)) != NULL) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main/streams/php_stream_mmap.h:71:127: note: expanded from macro 'php_stream_mmap_range'
#define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
^
/var/tmp/php-build/source/5.3.19/main/main.c:2397:28: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
user = php_base64_decode(auth + 6, strlen(auth) - 6, NULL);
^~~~~~~~
/var/tmp/php-build/source/5.3.19/ext/standard/base64.h:29:69: note: passing argument to parameter here
PHPAPI extern unsigned char *php_base64_decode(const unsigned char *, int, int *);
^
/var/tmp/php-build/source/5.3.19/main/main.c:2397:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
user = php_base64_decode(auth + 6, strlen(auth) - 6, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
/var/tmp/php-build/source/5.3.19/main/php_logos.c:88:2: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
PHPWRITE(logo_image->data, logo_image->size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main/php.h:385:48: note: expanded from macro 'PHPWRITE'
#define PHPWRITE(str, str_len) php_body_write((str), (str_len) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_output.h:34:40: note: passing argument to parameter 'str' here
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:626:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
justread = stream->ops->read(stream, stream->readbuf + stream->writepos,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:724:6: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_stream_write(stream, &buf, 1) > 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:293:72: note: expanded from macro 'php_stream_write'
#define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count) TSRMLS_CC)
^~~~~
/var/tmp/php-build/source/5.3.19/main/php_streams.h:291:65: note: passing argument to parameter 'buf' here
PHPAPI size_t _php_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC);
^
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:779:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
readptr = stream->readbuf + stream->readpos;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:851:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
readptr = stream->readbuf + stream->readpos;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:1330:83: warning: implicit conversion from enumeration type 'php_stream_mmap_access_t' to different enumeration type 'php_stream_mmap_operation_t' [-Wenum-conversion]
p = php_stream_mmap_range(stream, php_stream_tell(stream), PHP_STREAM_MMAP_ALL, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/streams/php_stream_mmap.h:71:127: note: expanded from macro 'php_stream_mmap_range'
#define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
^
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:1458:64: warning: implicit conversion from enumeration type 'php_stream_mmap_access_t' to different enumeration type 'php_stream_mmap_operation_t' [-Wenum-conversion]
p = php_stream_mmap_range(src, php_stream_tell(src), maxlen, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/main/streams/php_stream_mmap.h:71:127: note: expanded from macro 'php_stream_mmap_range'
#define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
^
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:1760:37: warning: while loop has empty body [-Wempty-body]
while (*(++*path_for_open)=='/');
^
/var/tmp/php-build/source/5.3.19/main/streams/streams.c:1760:37: note: put the semicolon on a separate line to silence this warning
7 warnings generated.
/var/tmp/php-build/source/5.3.19/main/streams/mmap.c:31:15: warning: implicit conversion from enumeration type 'php_stream_mmap_operation_t' to different enumeration type 'php_stream_mmap_access_t' [-Wenum-conversion]
range.mode = mode;
~ ^~~~
1 warning generated.
Zend/zend_language_scanner.l:301:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
SCNG(yy_start) = buf - offset;
^ ~~~~~~~~~~~~
Zend/zend_language_scanner.l:1605:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (CG(short_tags) || !strncasecmp(YYCURSOR + 1, "php", 3)) { /* Assume [ \t\n\r] follows "php" */
^~~~~~~~~~~~
Zend/zend_language_scanner.l:52:19: note: expanded from macro 'YYCURSOR'
#define YYCURSOR SCNG(yy_cursor)
^
Zend/zend_language_scanner.l:86:14: note: expanded from macro 'SCNG'
#define SCNG LANG_SCNG
^
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^
/usr/include/strings.h:79:30: note: passing argument to parameter here
int strncasecmp(const char *, const char *, size_t);
^
2 warnings generated.
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:123:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_html_puts(LANG_SCNG(yy_text), LANG_SCNG(yy_leng) TSRMLS_CC); /* no color needed */
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:57:42: note: passing argument to parameter 's' here
ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:146:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_html_puts(LANG_SCNG(yy_text), LANG_SCNG(yy_leng) TSRMLS_CC);
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:57:42: note: passing argument to parameter 's' here
ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC)
^
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:195:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:199:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_highlight.c:207:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
/var/tmp/php-build/source/5.3.19/Zend/zend_operators.c:2005:34: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
} else if (dval1 == dval2 && !zend_finite(dval1)) {
^
Zend/../main/php_config.h:2510:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
^
1 warning generated.
/var/tmp/php-build/source/5.3.19/Zend/zend_indent.c:67:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_indent.c:121:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_indent.c:127:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/Zend/zend_indent.c:130:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
^~~~~~~~~~~~~~~~~~
Zend/zend_globals_macros.h:56:23: note: expanded from macro 'LANG_SCNG'
# define LANG_SCNG(v) (language_scanner_globals.v)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
/var/tmp/php-build/source/5.3.19/Zend/zend_objects.c:96:19: warning: assigning to 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') from 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Z_OBJ_HT_P(obj) = obj_bucket->bucket.obj.handlers;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
In file included from /var/tmp/php-build/source/5.3.19/Zend/zend_execute.c:1294:
Zend/zend_vm_execute.h:2830:42: warning: data argument not used by format string [-Wformat-extra-args]
Z_STRVAL(opline->op2.u.constant), Z_STRVAL(opline->op2.u.constant));
^
Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^
In file included from /var/tmp/php-build/source/5.3.19/Zend/zend_execute.c:1294:
Zend/zend_vm_execute.h:10658:42: warning: data argument not used by format string [-Wformat-extra-args]
Z_STRVAL(opline->op2.u.constant), Z_STRVAL(opline->op2.u.constant));
^
Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^
In file included from /var/tmp/php-build/source/5.3.19/Zend/zend_execute.c:1294:
Zend/zend_vm_execute.h:17887:42: warning: data argument not used by format string [-Wformat-extra-args]
Z_STRVAL(opline->op2.u.constant), Z_STRVAL(opline->op2.u.constant));
^
Zend/zend_operators.h:392:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^
In file included from /var/tmp/php-build/source/5.3.19/Zend/zend_execute.c:1294:
Zend/zend_vm_execute.h:30177:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
4 warnings generated.
/var/tmp/php-build/source/5.3.19/sapi/apache2handler/sapi_apache2.c:279:70: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/sapi/apache2handler/sapi_apache2.c:284:92: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
^~~~~~~~~~~~
/var/tmp/php-build/source/5.3.19/sapi/apache2handler/sapi_apache2.c:675:37: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
apr_psprintf(ctx->r->pool, "%u", zend_memory_peak_usage(1 TSRMLS_CC)));
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%zu
3 warnings generated.
/var/tmp/php-build/source/5.3.19/sapi/apache2handler/php_functions.c:391:21: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
if ((tmp1.len - 1) >= 0) {
~~~~~~~~~~~~~~ ^ ~
1 warning generated.
/var/tmp/php-build/source/5.3.19/ext/readline/readline.c:480:18: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
matches[1] = '\0';
^~~~
1 warning generated.
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
/usr/local/Cellar/httpd22/2.2.29/build/instdso.sh SH_LIBTOOL='/usr/local/Cellar/apr/1.5.1/build-1/libtool' libs/libphp5.so /usr/local/Cellar/httpd22/2.2.29/libexec
cp: /usr/local/Cellar/httpd22/2.2.29/libexec/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment