Advertisement
Guest User

php-build error

a guest
Jan 16th, 2014
272
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.4 (found: none).
  2. configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
  3. configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.4 (found: none).
  4. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
  5. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c: In function ‘php_openssl_setup_crypto’:
  6. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:329:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  7. method = SSLv23_client_method();
  8. ^
  9. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:342:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  10. method = SSLv3_client_method();
  11. ^
  12. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:346:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  13. method = TLSv1_client_method();
  14. ^
  15. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:350:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  16. method = SSLv23_server_method();
  17. ^
  18. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:354:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  19. method = SSLv3_server_method();
  20. ^
  21. /tmp/php-build/source/5.3.28/ext/openssl/xp_ssl.c:367:11: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  22. method = TLSv1_server_method();
  23. ^
  24. /tmp/php-build/source/5.3.28/ext/dom/document.c: In function ‘zif_dom_document_import_node’:
  25. /tmp/php-build/source/5.3.28/ext/dom/document.c:1214:5: warning: passing argument 2 of ‘dom_get_ns’ discards ‘const’ qualifier from pointer target type [enabled by default]
  26. nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
  27. ^
  28. In file included from /tmp/php-build/source/5.3.28/ext/dom/document.c:28:0:
  29. /tmp/php-build/source/5.3.28/ext/dom/php_dom.h:109:10: note: expected ‘char *’ but argument is of type ‘const xmlChar *’
  30. xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
  31. ^
  32. /tmp/php-build/source/5.3.28/ext/dom/document.c:1214:5: warning: passing argument 4 of ‘dom_get_ns’ discards ‘const’ qualifier from pointer target type [enabled by default]
  33. nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
  34. ^
  35. In file included from /tmp/php-build/source/5.3.28/ext/dom/document.c:28:0:
  36. /tmp/php-build/source/5.3.28/ext/dom/php_dom.h:109:10: note: expected ‘char *’ but argument is of type ‘const xmlChar *’
  37. xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
  38. ^
  39. /tmp/php-build/source/5.3.28/ext/fileinfo/libmagic/apprentice.c: In function ‘apprentice_load’:
  40. /tmp/php-build/source/5.3.28/ext/fileinfo/libmagic/apprentice.c:781:4: warning: passing argument 1 of ‘_php_stream_opendir’ discards ‘const’ qualifier from pointer target type [enabled by default]
  41. dir = php_stream_opendir(fn, REPORT_ERRORS, NULL);
  42. ^
  43. In file included from /tmp/php-build/source/5.3.28/main/php.h:400:0,
  44. from /tmp/php-build/source/5.3.28/ext/fileinfo/libmagic/apprentice.c:32:
  45. /tmp/php-build/source/5.3.28/main/php_streams.h:339:20: note: expected ‘char *’ but argument is of type ‘const char *’
  46. PHPAPI php_stream *_php_stream_opendir(char *path, int options, php_stream_context *context STREAMS_DC TSRMLS_DC);
  47. ^
  48. /tmp/php-build/source/5.3.28/ext/json/json.c: In function ‘json_escape_string’:
  49. /tmp/php-build/source/5.3.28/ext/json/json.c:301:6: warning: unknown conversion type character ‘k’ in format [-Wformat=]
  50. int l = spprintf(&tmp, 0, "%.*k", (int) EG(precision), d);
  51. ^
  52. /tmp/php-build/source/5.3.28/ext/json/json.c:301:6: warning: too many arguments for format [-Wformat-extra-args]
  53. /tmp/php-build/source/5.3.28/ext/json/json.c: In function ‘php_json_encode’:
  54. /tmp/php-build/source/5.3.28/ext/json/json.c:460:6: warning: unknown conversion type character ‘k’ in format [-Wformat=]
  55. len = spprintf(&d, 0, "%.*k", (int) EG(precision), dbl);
  56. ^
  57. /tmp/php-build/source/5.3.28/ext/json/json.c:460:6: warning: too many arguments for format [-Wformat-extra-args]
  58. /tmp/php-build/source/5.3.28/ext/mcrypt/mcrypt_filter.c: In function ‘php_mcrypt_filter_create’:
  59. /tmp/php-build/source/5.3.28/ext/mcrypt/mcrypt_filter.c:210:2: warning: passing argument 1 of ‘mcrypt_module_open’ discards ‘const’ qualifier from pointer target type [enabled by default]
  60. mcrypt_module = mcrypt_module_open(cipher, algo_dir, mode, mode_dir);
  61. ^
  62. In file included from /usr/include/mcrypt.h:4:0,
  63. from /tmp/php-build/source/5.3.28/ext/mcrypt/mcrypt_filter.c:25:
  64. /usr/include/mutils/mcrypt.h:38:9: note: expected ‘char *’ but argument is of type ‘const char *’
  65. MCRYPT mcrypt_module_open(char *algorithm,
  66. ^
  67. /tmp/php-build/source/5.3.28/ext/mysqli/mysqli_api.c: In function ‘php_add_field_properties’:
  68. /tmp/php-build/source/5.3.28/ext/mysqli/mysqli_api.c:1055:2: warning: passing argument 4 of ‘add_property_string_ex’ discards ‘const’ qualifier from pointer target type [enabled by default]
  69. add_property_string(value, "db", (field->db ? field->db : ""), 1);
  70. ^
  71. In file included from /tmp/php-build/source/5.3.28/main/php.h:38:0,
  72. from /tmp/php-build/source/5.3.28/ext/mysqli/mysqli_api.c:29:
  73. /tmp/php-build/source/5.3.28/Zend/zend_API.h:420:14: note: expected ‘char *’ but argument is of type ‘const char * const’
  74. ZEND_API int add_property_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate TSRMLS_DC);
  75. ^
  76. /tmp/php-build/source/5.3.28/ext/pdo/pdo.c: In function ‘php_pdo_parse_data_source’:
  77. /tmp/php-build/source/5.3.28/ext/pdo/pdo.c:280:23: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
  78. char *orig_val = data_source + valstart;
  79. ^
  80. /tmp/php-build/source/5.3.28/ext/pdo/pdo_stmt.c: In function ‘really_register_bound_param’:
  81. /tmp/php-build/source/5.3.28/ext/pdo/pdo_stmt.c:323:4: warning: conversion lacks type at end of format [-Wformat=]
  82. int len = spprintf(&p, 0, "%.*H", (int) EG(precision), Z_DVAL_P(param->parameter));
  83. ^
  84. /tmp/php-build/source/5.3.28/ext/pdo/pdo_stmt.c:323:4: warning: too many arguments for format [-Wformat-extra-args]
  85. /tmp/php-build/source/5.3.28/ext/session/mod_files.c: In function ‘ps_write_files’:
  86. /tmp/php-build/source/5.3.28/ext/session/mod_files.c:402:12: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
  87. ftruncate(data->fd, 0);
  88. ^
  89. /tmp/php-build/source/5.3.28/ext/soap/soap.c: In function ‘serialize_response_call’:
  90. /tmp/php-build/source/5.3.28/ext/soap/soap.c:4147:5: warning: passing argument 3 of ‘php_escape_html_entities’ from incompatible pointer type [enabled by default]
  91. char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
  92. ^
  93. In file included from /tmp/php-build/source/5.3.28/ext/standard/php_standard.h:30:0,
  94. from /tmp/php-build/source/5.3.28/ext/soap/php_soap.h:28,
  95. from /tmp/php-build/source/5.3.28/ext/soap/soap.c:25:
  96. /tmp/php-build/source/5.3.28/ext/standard/html.h:42:14: note: expected ‘int *’ but argument is of type ‘size_t *’
  97. PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
  98. ^
  99. /tmp/php-build/source/5.3.28/ext/soap/soap.c:4172:5: warning: passing argument 3 of ‘php_escape_html_entities’ from incompatible pointer type [enabled by default]
  100. char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
  101. ^
  102. In file included from /tmp/php-build/source/5.3.28/ext/standard/php_standard.h:30:0,
  103. from /tmp/php-build/source/5.3.28/ext/soap/php_soap.h:28,
  104. from /tmp/php-build/source/5.3.28/ext/soap/soap.c:25:
  105. /tmp/php-build/source/5.3.28/ext/standard/html.h:42:14: note: expected ‘int *’ but argument is of type ‘size_t *’
  106. PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
  107. ^
  108. /tmp/php-build/source/5.3.28/ext/soap/php_sdl.c: In function ‘add_sdl_to_cache’:
  109. /tmp/php-build/source/5.3.28/ext/soap/php_sdl.c:2376:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  110. write(f, buf.c, buf.len);
  111. ^
  112. /tmp/php-build/source/5.3.28/ext/spl/php_spl.c: In function ‘php_spl_object_hash’:
  113. /tmp/php-build/source/5.3.28/ext/spl/php_spl.c:756:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘intptr_t’ [-Wformat=]
  114. spprintf(&hex, 32, "%016x%016x", hash_handle, hash_handlers);
  115. ^
  116. /tmp/php-build/source/5.3.28/ext/spl/php_spl.c:756:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘intptr_t’ [-Wformat=]
  117. /tmp/php-build/source/5.3.28/ext/sqlite/libsqlite/src/func.c: In function ‘minmaxFunc’:
  118. /tmp/php-build/source/5.3.28/ext/sqlite/libsqlite/src/func.c:38:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  119. mask = (int)sqlite_user_data(context);
  120. ^
  121. /tmp/php-build/source/5.3.28/ext/sqlite/libsqlite/src/func.c: In function ‘minmaxStep’:
  122. /tmp/php-build/source/5.3.28/ext/sqlite/libsqlite/src/func.c:526:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  123. mask = (int)sqlite_user_data(context);
  124. ^
  125. /tmp/php-build/source/5.3.28/ext/standard/exec.c: In function ‘zif_proc_nice’:
  126. /tmp/php-build/source/5.3.28/ext/standard/exec.c:523:6: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
  127. nice(pri);
  128. ^
  129. In file included from /tmp/php-build/source/5.3.28/ext/standard/file.c:74:0:
  130. /tmp/php-build/source/5.3.28/ext/standard/file.c: In function ‘php_fgetcsv’:
  131. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  132. # define php_mblen(ptr, len) mblen(ptr, len)
  133. ^
  134. /tmp/php-build/source/5.3.28/ext/standard/file.c:2175:2: note: in expansion of macro ‘php_mblen’
  135. php_mblen(NULL, 0);
  136. ^
  137. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  138. # define php_mblen(ptr, len) mblen(ptr, len)
  139. ^
  140. /tmp/php-build/source/5.3.28/ext/standard/file.c:2289:7: note: in expansion of macro ‘php_mblen’
  141. php_mblen(NULL, 0);
  142. ^
  143. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  144. # define php_mblen(ptr, len) mblen(ptr, len)
  145. ^
  146. /tmp/php-build/source/5.3.28/ext/standard/file.c:2357:7: note: in expansion of macro ‘php_mblen’
  147. php_mblen(NULL, 0);
  148. ^
  149. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  150. # define php_mblen(ptr, len) mblen(ptr, len)
  151. ^
  152. /tmp/php-build/source/5.3.28/ext/standard/file.c:2388:7: note: in expansion of macro ‘php_mblen’
  153. php_mblen(NULL, 0);
  154. ^
  155. /tmp/php-build/source/5.3.28/ext/standard/file.c: In function ‘php_fgetcsv_lookup_trailing_spaces’:
  156. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  157. # define php_mblen(ptr, len) mblen(ptr, len)
  158. ^
  159. /tmp/php-build/source/5.3.28/ext/standard/file.c:1921:5: note: in expansion of macro ‘php_mblen’
  160. php_mblen(NULL, 0);
  161. ^
  162. In file included from /tmp/php-build/source/5.3.28/ext/standard/string.c:28:0:
  163. /tmp/php-build/source/5.3.28/ext/standard/string.c: In function ‘php_basename’:
  164. /tmp/php-build/source/5.3.28/ext/standard/php_string.h:157:36: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
  165. # define php_mblen(ptr, len) mblen(ptr, len)
  166. ^
  167. /tmp/php-build/source/5.3.28/ext/standard/string.c:1357:5: note: in expansion of macro ‘php_mblen’
  168. php_mblen(NULL, 0);
  169. ^
  170. /tmp/php-build/source/5.3.28/ext/standard/var.c: In function ‘php_var_export_ex’:
  171. /tmp/php-build/source/5.3.28/ext/standard/var.c:444:3: warning: conversion lacks type at end of format [-Wformat=]
  172. tmp_len = spprintf(&tmp_str, 0,"%.*H", (int) EG(precision), Z_DVAL_PP(struc));
  173. ^
  174. /tmp/php-build/source/5.3.28/ext/standard/var.c:444:3: warning: too many arguments for format [-Wformat-extra-args]
  175. /tmp/php-build/source/5.3.28/ext/standard/proc_open.c: In function ‘zif_proc_open’:
  176. /tmp/php-build/source/5.3.28/ext/standard/proc_open.c:921:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  177. chdir(cwd);
  178. ^
  179. /tmp/php-build/source/5.3.28/ext/zip/lib/zip_source_pkware.c: In function ‘zip_source_pkware’:
  180. /tmp/php-build/source/5.3.28/ext/zip/lib/zip_source_pkware.c:84:6: warning: assignment from incompatible pointer type [enabled by default]
  181. crc = get_crc_table();
  182. ^
  183. /tmp/php-build/source/5.3.28/main/main.c: In function ‘php_log_err’:
  184. /tmp/php-build/source/5.3.28/main/main.c:616:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  185. write(fd, tmp, len);
  186. ^
  187. In file included from /tmp/php-build/source/5.3.28/main/php.h:406:0,
  188. from /tmp/php-build/source/5.3.28/main/main.c:28:
  189. /tmp/php-build/source/5.3.28/main/main.c: In function ‘php_execute_script’:
  190. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:290:39: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  191. #define VCWD_GETCWD(buff, size) getcwd(buff, size)
  192. ^
  193. /tmp/php-build/source/5.3.28/main/main.c:2268:4: note: in expansion of macro ‘VCWD_GETCWD’
  194. VCWD_GETCWD(old_cwd, OLD_CWD_SIZE-1);
  195. ^
  196. In file included from /tmp/php-build/source/5.3.28/main/php.h:406:0,
  197. from /tmp/php-build/source/5.3.28/main/main.c:28:
  198. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:302:31: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  199. #define VCWD_CHDIR(path) chdir(path)
  200. ^
  201. /tmp/php-build/source/5.3.28/main/main.c:2327:3: note: in expansion of macro ‘VCWD_CHDIR’
  202. VCWD_CHDIR(old_cwd);
  203. ^
  204. In file included from /tmp/php-build/source/5.3.28/main/php.h:406:0,
  205. from /tmp/php-build/source/5.3.28/main/main.c:28:
  206. /tmp/php-build/source/5.3.28/main/main.c: In function ‘php_execute_simple_script’:
  207. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:290:39: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  208. #define VCWD_GETCWD(buff, size) getcwd(buff, size)
  209. ^
  210. /tmp/php-build/source/5.3.28/main/main.c:2357:4: note: in expansion of macro ‘VCWD_GETCWD’
  211. VCWD_GETCWD(old_cwd, OLD_CWD_SIZE-1);
  212. ^
  213. In file included from /tmp/php-build/source/5.3.28/main/php.h:406:0,
  214. from /tmp/php-build/source/5.3.28/main/main.c:28:
  215. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:302:31: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  216. #define VCWD_CHDIR(path) chdir(path)
  217. ^
  218. /tmp/php-build/source/5.3.28/main/main.c:2364:3: note: in expansion of macro ‘VCWD_CHDIR’
  219. VCWD_CHDIR(old_cwd);
  220. ^
  221. In file included from /tmp/php-build/source/5.3.28/main/php.h:406:0,
  222. from /tmp/php-build/source/5.3.28/main/safe_mode.c:21:
  223. /tmp/php-build/source/5.3.28/main/safe_mode.c: In function ‘php_checkuid_ex’:
  224. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:290:39: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  225. #define VCWD_GETCWD(buff, size) getcwd(buff, size)
  226. ^
  227. /tmp/php-build/source/5.3.28/main/safe_mode.c:145:4: note: in expansion of macro ‘VCWD_GETCWD’
  228. VCWD_GETCWD(path, sizeof(path));
  229. ^
  230. In file included from Zend/zend_language_scanner.l:47:0:
  231. Zend/zend_language_scanner.l: In function ‘lex_scan’:
  232. /tmp/php-build/source/5.3.28/TSRM/tsrm_virtual_cwd.h:290:39: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  233. #define VCWD_GETCWD(buff, size) getcwd(buff, size)
  234. ^
  235. Zend/zend_language_scanner.l:1489:3: note: in expansion of macro ‘VCWD_GETCWD’
  236. VCWD_GETCWD(dirname, MAXPATHLEN);
  237. ^
  238. /tmp/php-build/source/5.3.28/Zend/zend_ini_parser.c: In function ‘ini_parse’:
  239. /tmp/php-build/source/5.3.28/Zend/zend_ini_parser.c:2003:9: warning: passing argument 1 of ‘ini_error’ discards ‘const’ qualifier from pointer target type [enabled by default]
  240. yyerror (yymsgp);
  241. ^
  242. /tmp/php-build/source/5.3.28/Zend/zend_ini_parser.c:232:13: note: expected ‘char *’ but argument is of type ‘const char *’
  243. static void ini_error(char *msg)
  244. ^
  245. Zend/zend_ini_scanner.l:34:0: warning: "YYDEBUG" redefined [enabled by default]
  246. # define YYDEBUG(s, c)
  247. ^
  248. In file included from Zend/zend_ini_scanner.l:28:0:
  249. Zend/zend_ini_parser.h:37:0: note: this is the location of the previous definition
  250. # define YYDEBUG 0
  251. ^
  252. /tmp/php-build/source/5.3.28/Zend/zend_objects.c: In function ‘zend_objects_destroy_object’:
  253. /tmp/php-build/source/5.3.28/Zend/zend_objects.c:96:19: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  254. Z_OBJ_HT_P(obj) = obj_bucket->bucket.obj.handlers;
  255. ^
  256. /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c: In function ‘zend_get_property_guard’:
  257. /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c:301:3: warning: passing argument 3 of ‘zend_unmangle_property_name’ from incompatible pointer type [enabled by default]
  258. zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_name);
  259. ^
  260. In file included from /tmp/php-build/source/5.3.28/Zend/zend_modules.h:26:0,
  261. from /tmp/php-build/source/5.3.28/Zend/zend_globals.h:36,
  262. from /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c:23:
  263. /tmp/php-build/source/5.3.28/Zend/zend_compile.h:576:14: note: expected ‘char **’ but argument is of type ‘const char **’
  264. ZEND_API int zend_unmangle_property_name(char *mangled_property, int mangled_property_len, char **prop_name, char **class_name);
  265. ^
  266. /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c:301:3: warning: passing argument 4 of ‘zend_unmangle_property_name’ from incompatible pointer type [enabled by default]
  267. zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_name);
  268. ^
  269. In file included from /tmp/php-build/source/5.3.28/Zend/zend_modules.h:26:0,
  270. from /tmp/php-build/source/5.3.28/Zend/zend_globals.h:36,
  271. from /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c:23:
  272. /tmp/php-build/source/5.3.28/Zend/zend_compile.h:576:14: note: expected ‘char **’ but argument is of type ‘const char **’
  273. ZEND_API int zend_unmangle_property_name(char *mangled_property, int mangled_property_len, char **prop_name, char **class_name);
  274. ^
  275. /tmp/php-build/source/5.3.28/Zend/zend_object_handlers.c:304:14: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  276. info.name = prop_name;
  277. ^
  278. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_log.c: In function ‘fpm_log_write’:
  279. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_log.c:463:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  280. write(fpm_log_fd, buffer, len + 1);
  281. ^
  282. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_main.c: In function ‘main’:
  283. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_main.c:1828:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  284. write(fpm_globals.send_config_pipe[1], &writeval, sizeof(writeval));
  285. ^
  286. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_main.c:1837:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  287. write(fpm_globals.send_config_pipe[1], &writeval, sizeof(writeval));
  288. ^
  289. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_signals.c: In function ‘sig_handler’:
  290. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_signals.c:177:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  291. write(sp[1], &s, sizeof(s));
  292. ^
  293. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_unix.c: In function ‘fpm_unix_init_child’:
  294. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_unix.c:186:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  295. chdir("/");
  296. ^
  297. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c: In function ‘zlog_ex’:
  298. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c:191:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  299. write(zlog_fd > -1 ? zlog_fd : STDERR_FILENO, buf, len);
  300. ^
  301. /tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c:195:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  302. write(STDERR_FILENO, buf, len);
  303. ^
  304. PEAR package PHP_Archive: API Version: 1.0.0 (stable).
  305. PEAR package PHP_Archive: /home/luiz/pear/share/pear.
  306. PEAR package PHP_Archive: /home/luiz/pear/share/pear/PHP/Archive.php.
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement