php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73874 zend_execute_API.c, sapi_apache2.c, idn.c
Submitted: 2017-01-05 16:16 UTC Modified: 2020-04-16 10:52 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: spam2 at rhsoft dot net Assigned: nikic (profile)
Status: Closed Package: Compile Warning
PHP Version: 7.1.0 OS: Linux
Private report: No CVE-ID: None
 [2017-01-05 16:16 UTC] spam2 at rhsoft dot net
Description:
------------
maybe worth a look

/home/builduser/rpmbuild/BUILD/php-7.1.0/Zend/zend_execute_API.c:1204:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

/home/builduser/rpmbuild/BUILD/php-7.1.0/sapi/apache2handler/sapi_apache2.c:755:21: warning: passing argument 1 of 'ap_hook_child_init' from incompatible pointer type [-Wincompatible-pointer-types]

/home/builduser/rpmbuild/BUILD/php-7.1.0/ext/intl/idn/idn.c:229:4: warning: 'uidna_IDNToASCII_56' is deprecated [-Wdeprecated-declarations]

/home/builduser/rpmbuild/BUILD/php-7.1.0/ext/intl/idn/idn.c:231:4: warning: 'uidna_IDNToUnicode_56' is deprecated [-Wdeprecated-declarations]
______________________

PGO-Build with identical warnings for "make prof-gen" and "make prof-use"

'-m64 -O3 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fomit-frame-pointer -fstack-protector --param=ssp-buffer-size=8 -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -g0 -fipa-pta -fira-loop-pressure -fivopts -fmerge-all-constants -fsemantic-interposition -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-ivcanon -fvect-cost-model=unlimited -fwrapv -minline-all-stringops -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno -fno-strict-aliasing -Wno-stack-protector -fno-lto -fuse-ld=gold -fuse-linker-plugin -Wa,--noexecstack'



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-06 16:19 UTC] cmb@php.net
With regard to the deprecation notices, see
<http://news.php.net/php.internals/97164>.
 [2020-04-16 10:52 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2020-04-16 10:52 UTC] nikic@php.net
I believe those warnings have been fixed in the meantime, correct me if I'm wrong.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 26 17:01:34 2024 UTC