Skip to content

Instantly share code, notes, and snippets.

@Asuforce
Created January 13, 2016 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Asuforce/39b3acb757921c88938b to your computer and use it in GitHub Desktop.
Save Asuforce/39b3acb757921c88938b to your computer and use it in GitHub Desktop.
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 2.3, min: 204, excluded: 3.0).
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: 3.0).
/var/tmp/php-build/source/5.6.17/ext/opcache/ZendAccelerator.c:397:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CG(interned_empty_string) = accel_new_interned_string("", sizeof(""), 0 TSRMLS_CC);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /var/tmp/php-build/source/5.6.17/modules/opcache.a(shared_alloc_shm.o) has no symbols
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2254: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.6.17/ext/date/php_date.c:2254:6: note: use function 'llabs' instead
abs(utc_offset / 60),
^~~
llabs
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2255: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.6.17/ext/date/php_date.c:2255:6: note: use function 'llabs' instead
abs((utc_offset % 60)));
^~~
llabs
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2354:4: 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(tzobj->tzi.utc_offset / 60),
^
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2354:4: note: use function 'llabs' instead
abs(tzobj->tzi.utc_offset / 60),
^~~
llabs
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2355:4: 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((tzobj->tzi.utc_offset % 60)));
^
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:2355:4: note: use function 'llabs' instead
abs((tzobj->tzi.utc_offset % 60)));
^~~
llabs
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:3828: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.6.17/ext/date/php_date.c:3828:5: note: use function 'llabs' instead
abs(utc_offset / 60),
^~~
llabs
/var/tmp/php-build/source/5.6.17/ext/date/php_date.c:3829: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.6.17/ext/date/php_date.c:3829:5: note: use function 'llabs' instead
abs((utc_offset % 60)));
^~~
llabs
6 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/date/lib/interval.c:73: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.6.17/ext/date/lib/interval.c:73: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.6.17/ext/ereg/regex/regcomp.c:14:
/var/tmp/php-build/source/5.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/ext/ereg/regex/regcomp.c:597: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.6.17/ext/ereg/regex/regcomp.c:602: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.6.17/ext/ereg/regex/regcomp.c:744: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.6.17/ext/ereg/regex/regcomp.c:744: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.6.17/ext/ereg/regex/regcomp.c:755: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.6.17/ext/ereg/regex/regcomp.c:817: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.6.17/ext/ereg/regex/regcomp.c:1168: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.6.17/ext/ereg/regex/regcomp.c:1178: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.6.17/ext/ereg/regex/regcomp.c:1178: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.6.17/ext/ereg/regex/regexec.c:46:
/var/tmp/php-build/source/5.6.17/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.6.17/ext/ereg/regex/regexec.c:95:
/var/tmp/php-build/source/5.6.17/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.6.17/ext/libxml/libxml.c:493: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.11.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.6.17/ext/libxml/libxml.c:493: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);
^ ~~~~~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/openssl/xp_ssl.c:1839:36: warning: address of 'sslsock->s.timeout' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (began_blocked && &sslsock->s.timeout) {
~~ ~~~~~~~~~~~^~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/zlib/zlib.c:1035:2: warning: incompatible pointer types initializing 'void (*)(void *)' with an expression of type 'void (zend_zlib_globals *)' [-Wincompatible-pointer-types]
ZEND_MODULE_GLOBALS_CTOR_N(zlib),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:122:45: note: expanded from macro 'ZEND_MODULE_GLOBALS_CTOR_N'
#define ZEND_MODULE_GLOBALS_CTOR_N(module) zm_globals_ctor_##module
^~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:222:1: note: expanded from here
zm_globals_ctor_zlib
^~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/zlib/zlib_filter.c:105: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.6.17/ext/zlib/zlib_filter.c:110: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.6.17/ext/zlib/zlib_filter.c:120: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.6.17/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.6.17/ext/zlib/zlib_filter.c:223: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.6.17/ext/zlib/zlib_filter.c:234: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.6.17/ext/zlib/zlib_filter.c:253: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.6.17/ext/zlib/zlib_filter.c:306: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.6.17/ext/zlib/zlib_filter.c:306: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.6.17/ext/zlib/zlib_filter.c:313: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.6.17/ext/zlib/zlib_filter.c:313: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.6.17/ext/curl/interface.c:2637:16: 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.6.17/ext/curl/interface.c:2666:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ((type = php_memnstr(postval, ";type=", sizeof(";type=") - 1, postval + Z_STRLEN_PP(current)))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/curl/interface.c:2669:21: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ((filename = php_memnstr(postval, ";filename=", sizeof(";filename=") - 1, postval + Z_STRLEN_PP(current)))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/curl/interface.c:2676: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.6.17/ext/curl/interface.c:2690:15: warning: implicit conversion from enumeration type 'CURLFORMcode' to different enumeration type 'CURLcode' [-Wenum-conversion]
error = curl_formadd(&first, &last,
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
/var/tmp/php-build/source/5.6.17/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.11.sdk/usr/include/libxml2/libxml/tree.h:791:22: note: passing argument to parameter 'value' here
const xmlChar *value);
^
/var/tmp/php-build/source/5.6.17/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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/dom/attr.c:188: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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.sdk/usr/include/libxml2/libxml/tree.h:1064:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
3 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:861: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:861: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.11.sdk/usr/include/libxml2/libxml/tree.h:829:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1074: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.11.sdk/usr/include/libxml2/libxml/tree.h:881:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1190: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1190: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.11.sdk/usr/include/libxml2/libxml/tree.h:829:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1192: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.11.sdk/usr/include/libxml2/libxml/tree.h:992:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1254: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.11.sdk/usr/include/libxml2/libxml/tree.h:784:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1256: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.11.sdk/usr/include/libxml2/libxml/tree.h:992:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1407: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.11.sdk/usr/include/libxml2/libxml/tree.h:779:30: note: passing argument to parameter 'version' here
xmlNewDoc (const xmlChar *version);
^
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1415: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.11.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.6.17/ext/dom/document.c:1445: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.11.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.6.17/ext/dom/document.c:1445: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.11.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.6.17/ext/dom/document.c:1446: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.11.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.6.17/ext/dom/document.c:1597: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.11.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.6.17/ext/dom/document.c:1783: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.6.17/Zend/zend_API.h:623:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:1798: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/dom/document.c:2146: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.11.sdk/usr/include/libxml2/libxml/xmlstring.h:85:58: note: passing argument to parameter 'str' here
xmlStrlen (const xmlChar *str);
^
17 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.sdk/usr/include/libxml2/libxml/tree.h:1064:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
2 warnings generated.
/var/tmp/php-build/source/5.6.17/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.11.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.6.17/ext/dom/domimplementation.c:110: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.6.17/ext/dom/domimplementation.c:112: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.6.17/ext/dom/domimplementation.c:116: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.11.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.6.17/ext/dom/domimplementation.c:124: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.11.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.6.17/ext/dom/domimplementation.c:183: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.11.sdk/usr/include/libxml2/libxml/tree.h:772:22: note: passing argument to parameter 'href' here
const xmlChar *href,
^
/var/tmp/php-build/source/5.6.17/ext/dom/domimplementation.c:183: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.11.sdk/usr/include/libxml2/libxml/tree.h:773:22: note: passing argument to parameter 'prefix' here
const xmlChar *prefix);
^
/var/tmp/php-build/source/5.6.17/ext/dom/domimplementation.c:218: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
7 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/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.11.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.6.17/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.6.17/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.11.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.6.17/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.11.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.6.17/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.6.17/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.6.17/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.6.17/ext/dom/node.c:356: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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.sdk/usr/include/libxml2/libxml/tree.h:1064:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.6.17/ext/dom/node.c:795: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.11.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.6.17/ext/dom/node.c:797: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.6.17/ext/dom/node.c:798: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.6.17/ext/dom/node.c:915: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.6.17/ext/dom/node.c:942:27: 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(nodep, Z_STRVAL_P(newval));
^~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.sdk/usr/include/libxml2/libxml/tree.h:1069:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.6.17/ext/dom/node.c:1632: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.11.sdk/usr/include/libxml2/libxml/tree.h:992:22: note: passing argument to parameter 'href' here
const xmlChar *href);
^
/var/tmp/php-build/source/5.6.17/ext/dom/node.c:1667: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.11.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.6.17/ext/dom/node.c:1701: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.11.sdk/usr/include/libxml2/libxml/tree.h:988:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
/var/tmp/php-build/source/5.6.17/ext/dom/node.c:1793: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.11.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.6.17/ext/dom/node.c:1834: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.11.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.6.17/ext/dom/node.c:1834: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.6.17/Zend/zend_operators.h:476:30: note: expanded from macro 'Z_STRVAL_PP'
#define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.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.6.17/ext/dom/node.c:1841: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.11.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.6.17/ext/dom/node.c:1864: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.6.17/ext/dom/node.c:1955: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.6.17/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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/dom/characterdata.c:117: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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.sdk/usr/include/libxml2/libxml/tree.h:1064:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.6.17/ext/dom/characterdata.c:203: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.6.17/Zend/zend_API.h:623:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/dom/characterdata.c:239: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.11.sdk/usr/include/libxml2/libxml/tree.h:970:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
/var/tmp/php-build/source/5.6.17/ext/dom/characterdata.c:283: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.11.sdk/usr/include/libxml2/libxml/tree.h:1069:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
/var/tmp/php-build/source/5.6.17/ext/dom/characterdata.c:395: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.11.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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/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.11.sdk/usr/include/libxml2/libxml/tree.h:881:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.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.6.17/ext/dom/xpath.c:447: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.11.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.6.17/ext/dom/xpath.c:491: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.11.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.6.17/ext/dom/xpath.c:494: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/dom/xpath.c:496: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/dom/xpath.c:521: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.6.17/Zend/zend_API.h:623:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
7 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/dom/dom_iterators.c:226: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.6.17/ext/dom/dom_iterators.c:226: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.6.17/ext/dom/dom_iterators.c:306: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.6.17/ext/dom/dom_iterators.c:306: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);
^
4 warnings generated.
/var/tmp/php-build/source/5.6.17/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.11.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.6.17/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.11.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.6.17/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.11.sdk/usr/include/libxml2/libxml/tree.h:1032:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
/var/tmp/php-build/source/5.6.17/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.11.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.6.17/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.11.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.6.17/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.11.sdk/usr/include/libxml2/libxml/tree.h:1035:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/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.11.sdk/usr/include/libxml2/libxml/tree.h:1036:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
7 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/fileinfo/libmagic/funcs.c:440:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
file_replace(struct magic_set *ms, const char *pat, const char *rep)
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/filter/sanitizing_filters.c:261: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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.h:58:57: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC);
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/filter/logical_filters.c:395: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.6.17/main/php_config.h:2584:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:757: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.6.17/ext/gd/libgd/gd.c:1351: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.6.17/ext/gd/libgd/gd.c:1351:6: note: use function 'labs' instead
if (abs(dx) > abs(dy)) {
^~~
labs
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd.c:1351: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.6.17/ext/gd/libgd/gd.c:1351:16: note: use function 'labs' instead
if (abs(dx) > abs(dy)) {
^~~
labs
2 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:1636:43: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (src == NULL || src->interpolation_id < 0 || src->interpolation_id > GD_METHOD_COUNT) {
~~~~~~~~~~~~~~~~~~~~~ ^ ~
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:2377:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
end_x = bbox.width + (int) fabs(bbox.x);
^
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:2377:30: note: use function 'abs' instead
end_x = bbox.width + (int) fabs(bbox.x);
^~~~
abs
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:2378:30: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
end_y = bbox.height + (int) fabs(bbox.y);
^
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:2378:30: note: use function 'abs' instead
end_y = bbox.height + (int) fabs(bbox.y);
^~~~
abs
/var/tmp/php-build/source/5.6.17/ext/gd/libgd/gd_interpolation.c:2480:23: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (im == NULL || id < 0 || id > GD_METHOD_COUNT) {
~~ ^ ~
4 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/iconv/iconv.c:838: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.6.17/ext/iconv/iconv.c:737: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.6.17/ext/mbstring/libmbfl/filters/mbfilter_big5.c:189:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (w <= 0 &&
~~~~~~~^~
/var/tmp/php-build/source/5.6.17/ext/mbstring/libmbfl/filters/mbfilter_big5.c:189:16: note: place parentheses around the '&&' expression to silence this warning
if (w <= 0 &&
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c:51:2: warning: incompatible pointer types initializing 'const char *(*)[]' with an expression of type 'const char *[2]' [-Wincompatible-pointer-types]
mbfl_encoding_2022jp_kddi_aliases,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c:675:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mbstring/libmbfl/filters/mbfilter_utf8.c:104:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c:210:4: warning: implicit declaration of function 'mbfl_filt_put_invalid_char' is invalid in C99 [-Wimplicit-function-declaration]
mbfl_filt_put_invalid_char(c, filter);
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mbstring/mbstring.c:724:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
while ((p2 = php_memnstr(p1, ",", 1, endp)) != NULL) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/mbstring/mbstring.c:737:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
p2 = p = php_memnstr(p1, ",", 1, endp);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/ext/mysqli/mysqli_api.c:1381:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (fieldnr < 0 || fieldnr >= mysql_num_fields(result)) {
~~~~~~~ ^ ~
1 warning generated.
/var/tmp/php-build/source/5.6.17/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.6.17/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.6.17/ext/pdo/pdo_stmt.c:469:19: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (num_index < 0) {
~~~~~~~~~ ^ ~
3 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/phar/phar.c:2260:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
*arch = filename;
^ ~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/readline/readline.c:512: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.
/var/tmp/php-build/source/5.6.17/ext/reflection/php_reflection.c:448:11: warning: address of 'ce->constants_table' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&ce->constants_table) {
~~ ~~~~^~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/reflection/php_reflection.c:473:11: warning: address of 'ce->properties_info' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&ce->properties_info) {
~~ ~~~~^~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/reflection/php_reflection.c:512:11: warning: address of 'ce->function_table' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&ce->function_table) {
~~ ~~~~^~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/reflection/php_reflection.c:555:11: warning: address of 'ce->properties_info' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&ce->properties_info) {
~~ ~~~~^~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/reflection/php_reflection.c:611:11: warning: address of 'ce->function_table' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&ce->function_table) {
~~ ~~~~^~~~~~~~~~~~~~
5 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/session/session.c:867:41: warning: incompatible pointer types passing 'const char **' to parameter of type 'const unsigned char **' [-Wincompatible-pointer-types]
if (php_var_unserialize(&session_vars, &val, endptr, &var_hash TSRMLS_CC)) {
^~~~
/var/tmp/php-build/source/5.6.17/ext/standard/php_var.h:53:67: note: passing argument to parameter 'p' here
PHPAPI int php_var_unserialize(zval **rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
^
/var/tmp/php-build/source/5.6.17/ext/session/session.c:867:47: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (php_var_unserialize(&session_vars, &val, endptr, &var_hash TSRMLS_CC)) {
^~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/php_var.h:53:91: note: passing argument to parameter 'max' here
PHPAPI int php_var_unserialize(zval **rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
^
2 warnings generated.
/var/tmp/php-build/source/5.6.17/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.11.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.6.17/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.11.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.6.17/ext/simplexml/simplexml.c:1414: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.11.sdk/usr/include/libxml2/libxml/tree.h:1166:19: note: passing argument to parameter 'txt_encoding' here
const char *txt_encoding);
^
/var/tmp/php-build/source/5.6.17/ext/simplexml/simplexml.c:1425: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.11.sdk/usr/include/libxml2/libxml/tree.h:1219:19: note: passing argument to parameter 'encoding' here
const char *encoding);
^
4 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/soap/php_encoding.c:3012: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.6.17/ext/soap/php_encoding.c:3012: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.6.17/ext/soap/php_encoding.c:3012: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.6.17/ext/soap/php_encoding.c:3012: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.6.17/ext/spl/php_spl.c:753:76: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_hash_get_current_key_ex(SPL_G(autoload_functions), &key, &len, &dummy, 0, &function_pos);
^~~~~~
/var/tmp/php-build/source/5.6.17/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);
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/ext/standard/array.c:2574: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.6.17/ext/standard/array.c:2574:17: note: use function 'labs' instead
pad_size_abs = abs(pad_size);
^~~
labs
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/standard/dns.c:414: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.6.17/ext/standard/dns.c:551:39: 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 + l1 + 1, n, 1);
^~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:418: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.6.17/ext/standard/dns.c:559: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, l2, 0);
^~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:394: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.6.17/Zend/zend_API.h:385: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.6.17/ext/standard/dns.c:907: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.6.17/ext/standard/dns.c:1041: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.6.17/ext/standard/file.c:767:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if (!(p = php_stream_locate_eol(stream, target_buf, target_len TSRMLS_CC))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1027:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q += write_octet_sequence(q, charset, code);
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:876:58: note: passing argument to parameter 'buf' here
static inline size_t write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) {
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1029:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q += write_octet_sequence(q, charset, code2);
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:876:58: note: passing argument to parameter 'buf' here
static inline size_t write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) {
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1130:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
traverse_for_entities(old, oldlen, ret, &retlen, all, flags, inverse_map, charset);
^~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:937:14: note: passing argument to parameter 'old' here
const char *old,
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1191:18: warning: assigning to 'const unsigned char *' from 'const char *const' converts between pointers to integer types with different sign [-Wpointer-sign]
*entity = s->normal_entry.entity;
^ ~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1219:14: warning: assigning to 'const unsigned char *' from 'const char *const' converts between pointers to integer types with different sign [-Wpointer-sign]
*entity = table[k].data.ent.entity;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1405:18: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
const char *start = &old[cursor],
^ ~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1461: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, &new_len, all, (int) flags, hint_charset, double_encode TSRMLS_CC);
^~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1226:57: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC)
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1511: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, &new_len, 0 /*!all*/, quote_style, NULL TSRMLS_CC);
^~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1098:56: note: passing argument to parameter 'old' here
PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC)
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1537: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, &new_len, 1 /*all*/, quote_style, hint_charset TSRMLS_CC);
^~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1098:56: note: passing argument to parameter 'old' here
PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC)
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1566:36: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
written_k1 = write_octet_sequence(key, charset, orig_cp);
^~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:876:58: note: passing argument to parameter 'buf' here
static inline size_t write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) {
^
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:1601:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
written_k2 = write_octet_sequence(&key[written_k1], charset, spe_cp);
^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/html.c:876:58: note: passing argument to parameter 'buf' here
static inline size_t write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) {
^
11 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:111: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:134: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:156: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:214: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:217: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.6.17/ext/standard/image.c:235: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.6.17/ext/standard/image.c:235: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.6.17/ext/standard/image.c:253: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.6.17/ext/standard/image.c:181: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.6.17/ext/standard/image.c:254: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.6.17/ext/standard/image.c:181: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.6.17/ext/standard/image.c:255: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.6.17/ext/standard/image.c:181: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.6.17/ext/standard/image.c:256: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.6.17/ext/standard/image.c:181: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.6.17/ext/standard/image.c:257: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.6.17/ext/standard/image.c:181: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.6.17/ext/standard/image.c:279: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:312: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:369: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))) < sizeof(a)) return 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:455: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:460: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.6.17/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.6.17/ext/standard/image.c:462: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.6.17/ext/standard/image.c:462: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.6.17/Zend/zend_hash.h:164: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.6.17/ext/standard/image.c:464: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.6.17/Zend/zend_API.h:394: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.6.17/ext/standard/image.c:464: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.6.17/Zend/zend_API.h:394: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.6.17/Zend/zend_API.h:385: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.6.17/ext/standard/image.c:464: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.6.17/Zend/zend_API.h:394: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.6.17/Zend/zend_API.h:385: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.6.17/ext/standard/image.c:568: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:649:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (result->channels == 0 && php_stream_eof(stream) || result->channels > 256) {
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:649:28: note: place parentheses around the '&&' expression to silence this warning
if (result->channels == 0 && php_stream_eof(stream) || result->channels > 256) {
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:833: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.6.17/ext/standard/image.c:891: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:894: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.6.17/ext/standard/image.c:894: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.6.17/ext/standard/image.c:900: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:912: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:1097: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:1109: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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/ext/standard/image.c:1192: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1192:25: note: use array indexing to silence this warning
RETURN_STRING(".gif" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1194: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1194:26: note: use array indexing to silence this warning
RETURN_STRING(".jpeg" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1196: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1196:25: note: use array indexing to silence this warning
RETURN_STRING(".png" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1199: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1199:25: note: use array indexing to silence this warning
RETURN_STRING(".swf" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1201: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1201:25: note: use array indexing to silence this warning
RETURN_STRING(".psd" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1204: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1204:25: note: use array indexing to silence this warning
RETURN_STRING(".bmp" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1207: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1207:26: note: use array indexing to silence this warning
RETURN_STRING(".tiff" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1209: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1209:25: note: use array indexing to silence this warning
RETURN_STRING(".iff" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1211: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1211:25: note: use array indexing to silence this warning
RETURN_STRING(".jpc" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1213: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1213:25: note: use array indexing to silence this warning
RETURN_STRING(".jp2" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1215: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1215:25: note: use array indexing to silence this warning
RETURN_STRING(".jpx" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1217: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1217:25: note: use array indexing to silence this warning
RETURN_STRING(".jb2" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1219: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1219:25: note: use array indexing to silence this warning
RETURN_STRING(".xbm" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1221: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.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
/var/tmp/php-build/source/5.6.17/ext/standard/image.c:1221:25: note: use array indexing to silence this warning
RETURN_STRING(".ico" + !inc_dot, 1);
^
& [
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:635:54: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:65: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:20: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^
46 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/main/php_output.h:168:40: note: expanded from macro 'PUTC'
#define PUTC(c) (php_output_write(&(c), 1 TSRMLS_CC), (c))
^~~~
/var/tmp/php-build/source/5.6.17/main/php_output.h:213:41: note: passing argument to parameter 'str' here
PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC);
^
/var/tmp/php-build/source/5.6.17/ext/standard/iptc.c:289: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/standard/iptc.c:348: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.6.17/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.6.17/ext/standard/iptc.c:354: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.6.17/ext/standard/iptc.c:354: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.6.17/Zend/zend_hash.h:164: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.6.17/ext/standard/iptc.c:358: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.6.17/Zend/zend_hash.h:110: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.6.17/ext/standard/iptc.c:358: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.6.17/Zend/zend_hash.h:110: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.6.17/Zend/zend_hash.h:108: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.6.17/ext/standard/iptc.c:361: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.6.17/Zend/zend_API.h:418:60: note: passing argument to parameter 'str' here
ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate);
^
8 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/main/php_config.h:2584:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:757: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.6.17/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.6.17/main/php_config.h:2584:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:631:43: note: expanded from macro 'RETURN_BOOL'
#define RETURN_BOOL(b) { RETVAL_BOOL(b); return; }
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:619:52: note: expanded from macro 'RETVAL_BOOL'
#define RETVAL_BOOL(b) ZVAL_BOOL(return_value, b)
^
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:557:21: note: expanded from macro 'ZVAL_BOOL'
Z_LVAL_P(__z) = ((b) != 0); \
^
/usr/include/math.h:757: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.6.17/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.6.17/Zend/zend_API.h:636: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/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.6.17/Zend/zend_API.h:636: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
3 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/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.6.17/ext/standard/string.c:1028:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1036:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
} while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1055:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1074:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
} while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1639:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return php_memnstr(s, t, t_len, s + s_len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/main/php.h:331:21: note: expanded from macro 'php_memnstr'
#define php_memnstr zend_memnstr
^
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1791:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack, Z_STRVAL_P(needle), Z_STRLEN_P(needle), haystack + haystack_len);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1798:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack, needle_char, 1, haystack + haystack_len);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1843:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack + offset,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1853:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack + offset,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1903:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack_dup + offset, needle_dup, Z_STRLEN_P(needle), haystack_dup + haystack_len);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:1911:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
found = php_memnstr(haystack_dup + offset,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:3694:26: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
for (p = new_str; (r = php_memnstr(p, needle, needle_len, end)); p = r + needle_len) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:3706:31: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
for (p = haystack_dup; (r = php_memnstr(p, needle_dup, needle_len, end)); p = r + needle_len) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:3739:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
while ((o = php_memnstr(o, n, needle_len, endp))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:3765:27: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
for (p = haystack; (r = php_memnstr(p, needle, needle_len, end)); p = r + needle_len) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:3782:31: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
for (p = haystack_dup; (r = php_memnstr(p, needle_dup, needle_len, end)); p = r + needle_len) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/standard/string.c:5223:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
while ((p = php_memnstr(p, needle, needle_len, endp))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/standard/var.c:439:38: warning: invalid conversion specifier 'H' [-Wformat-invalid-specifier]
tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc));
~~~^
/var/tmp/php-build/source/5.6.17/ext/standard/var.c:439:42: warning: data argument not used by format string [-Wformat-extra-args]
tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc));
~~~~~~ ^
/var/tmp/php-build/source/5.6.17/main/php_globals.h:32:16: note: expanded from macro 'PG'
# define PG(v) (core_globals.v)
^
2 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/standard/url_scanner_ex.c:269:16: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *e, *p = zend_memnstr(ctx->val.c, "://", sizeof("://") - 1, ctx->val.c + ctx->val.len);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/standard/ftp_fopen_wrapper.c:250: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.6.17/ext/standard/ftp_fopen_wrapper.c:236:17: note: expanded from macro 'PHP_FTP_CNTRL_CHK'
unsigned char *s = val, *e = s + val_len; \
^
/var/tmp/php-build/source/5.6.17/ext/standard/ftp_fopen_wrapper.c:267: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.6.17/ext/standard/ftp_fopen_wrapper.c:236:17: note: expanded from macro 'PHP_FTP_CNTRL_CHK'
unsigned char *s = val, *e = s + val_len; \
^
2 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/standard/http_fopen_wrapper.c:766:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
} else if (!(response_code >= 300 && response_code < 304 || 307 == response_code || 308 == response_code)) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~
/var/tmp/php-build/source/5.6.17/ext/standard/http_fopen_wrapper.c:766:39: note: place parentheses around the '&&' expression to silence this warning
} else if (!(response_code >= 300 && response_code < 304 || 307 == response_code || 308 == response_code)) {
^
( )
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/standard/var_unserializer.c:1091: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.6.17/ext/standard/var_unserializer.c:1093: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.6.17/ext/standard/var_unserializer.c:1095: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.6.17/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.6.17/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.6.17/Zend/zend_API.h:636: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/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.6.17/main/php_streams.h:294: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.6.17/main/php_streams.h:293: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.6.17/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.6.17/Zend/zend_API.h:636: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
4 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/standard/filters.c:1349: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.6.17/ext/standard/filters.c:1278: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.6.17/ext/standard/http.c:76:75: warning: passing 'uint *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_unmangle_property_name_ex(key, key_len, &tmp, (const char**)&key, &key_len);
^~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_compile.h:700:155: note: passing argument to parameter 'prop_len' here
ZEND_API int zend_unmangle_property_name_ex(const char *mangled_property, int mangled_property_len, const char **class_name, const char **prop_name, int *prop_len);
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/xml/xml.c:293: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.6.17/ext/xml/xml.c:600: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.6.17/ext/xml/xml.c:600: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.6.17/ext/xml/xml.c:760: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.6.17/ext/xml/xml.c:664: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.6.17/ext/xml/xml.c:783: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.6.17/ext/xml/xml.c:755: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.6.17/ext/xml/xml.c:792: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.6.17/ext/xml/xml.c:755: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.6.17/ext/xml/xml.c:793: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.6.17/ext/xml/xml.c:830:36: 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.6.17/ext/xml/xml.c:755: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.6.17/ext/xml/xml.c:831:50: 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.6.17/ext/xml/xml.c:868: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.6.17/ext/xml/xml.c:755: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.6.17/ext/xml/xml.c:1190: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.6.17/ext/xml/xml.c:1192: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.6.17/ext/xml/xml.c:1194: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.6.17/ext/xml/xml.c:1209: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.6.17/ext/xml/expat_compat.h:126: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.6.17/ext/xml/xml.c:1454: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.6.17/ext/xml/expat_compat.h:138: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.6.17/ext/xml/xml.c:1499: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.6.17/ext/xml/expat_compat.h:138: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.6.17/ext/xml/xml.c:1643: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.6.17/Zend/zend_operators.h:476:30: note: expanded from macro 'Z_STRVAL_PP'
#define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
^~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444:26: note: expanded from macro 'Z_STRVAL'
#define Z_STRVAL(zval) (zval).value.str.val
^~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/xml/xml.c:595:55: note: passing argument to parameter 'name' here
static xml_encoding *xml_get_encoding(const XML_Char *name)
^
/var/tmp/php-build/source/5.6.17/ext/xml/xml.c:1678: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.6.17/Zend/zend_API.h:635:40: note: expanded from macro 'RETURN_STRING'
#define RETURN_STRING(s, duplicate) { RETVAL_STRING(s, duplicate); return; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:623:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/xml/xml.c:1702: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.6.17/ext/xml/xml.c:610: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.6.17/ext/xml/xml.c:1702: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.6.17/ext/xml/xml.c:1706: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/xml/xml.c:1722: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.6.17/ext/xml/xml.c:664: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.6.17/ext/xml/xml.c:1722: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.6.17/ext/xml/xml.c:664: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.6.17/ext/xml/xml.c:1722: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.6.17/ext/xml/xml.c:1726: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
25 warnings generated.
/var/tmp/php-build/source/5.6.17/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.6.17/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.11.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.6.17/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.6.17/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";
^~~~~
4 warnings generated.
/var/tmp/php-build/source/5.6.17/ext/xmlrpc/xmlrpc-epi-php.c:1348: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.6.17/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.6.17/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.6.17/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.6.17/ext/xml/expat_compat.h:138: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.6.17/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.6.17/ext/xmlrpc/libxmlrpc/xmlrpc.c:2251: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.6.17/ext/xmlrpc/libxmlrpc/xmlrpc.c:2295: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.6.17/ext/xsl/xsltprocessor.c:123: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.6.17/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.6.17/ext/xsl/xsltprocessor.c:126: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.6.17/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.6.17/ext/xsl/xsltprocessor.c:244: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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:254: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.6.17/ext/xsl/xsltprocessor.c:274: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.11.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.6.17/ext/xsl/xsltprocessor.c:277: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:279: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.11.sdk/usr/include/libxml2/libxml/tree.h:828:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:295: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.6.17/ext/xsl/xsltprocessor.c:312: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.11.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.6.17/ext/xsl/xsltprocessor.c:323: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.6.17/Zend/zend_API.h:578:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:334: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.11.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.6.17/ext/xsl/xsltprocessor.c:338: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.11.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.6.17/ext/xsl/xsltprocessor.c:344: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.11.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.6.17/ext/xsl/xsltprocessor.c:365: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.11.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.6.17/ext/xsl/xsltprocessor.c:368: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.6.17/Zend/zend_operators.h:460:29: note: expanded from macro 'Z_STRVAL_P'
#define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
^~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.h:444: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.11.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.6.17/ext/xsl/xsltprocessor.c:459: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.11.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.6.17/ext/xsl/xsltprocessor.c:676:18: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
curclass_name = curce->name;
^ ~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:761: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.6.17/Zend/zend_API.h:624: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.6.17/Zend/zend_API.h:586:15: note: expanded from macro 'ZVAL_STRINGL'
const char *__s=(s); int __l=l; \
^ ~~~
/var/tmp/php-build/source/5.6.17/ext/xsl/xsltprocessor.c:794: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.6.17/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);
^
19 warnings generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_add.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_add_dir.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_add_entry.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_close.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_delete.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_dir_add.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_dirent.c:43:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_discard.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_entry.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_err_str.c:6:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error_clear.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error_get.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error_get_sys_type.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error_strerror.c:41:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_error_to_str.c:41:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_extra_field.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_extra_field_api.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fclose.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fdopen.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_add.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_error_clear.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_error_get.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_get_comment.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_get_offset.c:43:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_rename.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_replace.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_set_comment.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_strerror.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_filerange_crc.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fopen.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_get_external_attributes.c:34:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_file_set_external_attributes.c:34:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fopen_encrypted.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fopen_index.c:40:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fopen_index_encrypted.c:40:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_fread.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_archive_comment.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_archive_flag.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_compression_implementation.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_encryption_implementation.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_file_comment.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_name.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_num_entries.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_get_num_files.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_memdup.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_name_locate.c:41:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_new.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_open.c:43:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_rename.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_replace.c:37:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_archive_comment.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_archive_flag.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_default_password.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_file_comment.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_file_compression.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_set_name.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_buffer.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_close.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_crc.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_deflate.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_error.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_file.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_filep.c:42:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_free.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_function.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_layered.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_open.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_pkware.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_pop.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_read.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_stat.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_window.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_zip.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_source_zip_new.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_stat.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_stat_index.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_stat_init.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_strerror.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_string.c:39:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_unchange.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_unchange_all.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_unchange_archive.c:38:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_unchange_data.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
In file included from /var/tmp/php-build/source/5.6.17/ext/zip/lib/zip_utf-8.c:36:
/var/tmp/php-build/source/5.6.17/ext/zip/lib/zipint.h:145:9: warning: 'MAXCOMLEN' macro redefined [-Wmacro-redefined]
#define MAXCOMLEN 65536
^
/usr/include/sys/param.h:95:9: note: previous definition is here
#define MAXCOMLEN 16 /* max command name remembered */
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/zip/lib/mkstemp.c:76:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
pid = getpid();
^
1 warning generated.
/var/tmp/php-build/source/5.6.17/ext/mysqlnd/mysqlnd_statistics.c:209: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.6.17/ext/mysqlnd/mysqlnd_ps_codec.c:91: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.6.17/main/main.c:790: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.6.17/ext/standard/html.h:57:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.6.17/main/main.c:848: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.6.17/ext/standard/html.h:57:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.6.17/main/main.c:1158: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.6.17/ext/standard/html.h:57:54: note: passing argument to parameter 'old' here
PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
^
/var/tmp/php-build/source/5.6.17/main/main.c:1425: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.6.17/main/main.c:2678: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.6.17/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.6.17/main/main.c:2678: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.6.17/main/snprintf.c:1246:14: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
strx_printv(&cc, buf, len, format, ap);
^~~
/var/tmp/php-build/source/5.6.17/main/snprintf.c:1209:30: note: passing argument to parameter 'ccp' here
static void strx_printv(int *ccp, char *buf, size_t len, const char *format, va_list ap) /* {{{ */
^
/var/tmp/php-build/source/5.6.17/main/snprintf.c:1260:14: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
strx_printv(&cc, buf, len, format, ap);
^~~
/var/tmp/php-build/source/5.6.17/main/snprintf.c:1209:30: note: passing argument to parameter 'ccp' here
static void strx_printv(int *ccp, char *buf, size_t len, const char *format, va_list ap) /* {{{ */
^
2 warnings generated.
/var/tmp/php-build/source/5.6.17/main/getopt.c:103:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/main/streams/streams.c:692: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.6.17/main/streams/streams.c:794: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.6.17/main/php_streams.h:298: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.6.17/main/php_streams.h:296: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.6.17/main/streams/streams.c:849:11: warning: assigning to 'const 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.6.17/main/streams/streams.c:921: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.6.17/main/streams/streams.c:1400: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.6.17/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.6.17/main/streams/streams.c:1533: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.6.17/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.6.17/main/streams/streams.c:1834:37: warning: while loop has empty body [-Wempty-body]
while (*(++*path_for_open)=='/');
^
/var/tmp/php-build/source/5.6.17/main/streams/streams.c:1834:37: note: put the semicolon on a separate line to silence this warning
7 warnings generated.
/var/tmp/php-build/source/5.6.17/main/streams/xp_socket.c:306:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
0 > ret && err != EWOULDBLOCK && err != EAGAIN) { /* there was an unrecoverable error */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/var/tmp/php-build/source/5.6.17/main/streams/xp_socket.c:306:37: note: place parentheses around the '&&' expression to silence this warning
0 > ret && err != EWOULDBLOCK && err != EAGAIN) { /* there was an unrecoverable error */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/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_ini_scanner.l:509:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sc = YYCURSOR;
^
Zend/zend_ini_scanner.l:530:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
YYCURSOR = sc;
^ ~~
2 warnings generated.
/var/tmp/php-build/source/5.6.17/Zend/zend_operators.c:2343: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:2584:24: note: expanded from macro 'zend_finite'
#define zend_finite(a) finite(a)
^
/usr/include/math.h:757: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.6.17/Zend/zend_string.c:65:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CG(interned_empty_string) = zend_new_interned_string_int("", sizeof(""), 0 TSRMLS_CC);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/var/tmp/php-build/source/5.6.17/sapi/cli/php_cli_server.c:541:25: warning: address of '(sapi_globals.sapi_headers).headers' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (!&SG(sapi_headers).headers) {
~ ~~~~~~~~~~~~~~~~~^~~~~~~
1 warning generated.
Undefined symbols for architecture x86_64:
"_PKCS5_PBKDF2_HMAC", referenced from:
_zif_openssl_pbkdf2 in openssl.o
"_TLSv1_1_client_method", referenced from:
_php_openssl_setup_crypto in xp_ssl.o
"_TLSv1_1_server_method", referenced from:
_php_openssl_setup_crypto in xp_ssl.o
"_TLSv1_2_client_method", referenced from:
_php_openssl_setup_crypto in xp_ssl.o
"_TLSv1_2_server_method", referenced from:
_php_openssl_setup_crypto in xp_ssl.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/cli/php] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment