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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 - 21 = ?
Subscribe to this entry?

 
 [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: Wed Dec 11 03:01:28 2024 UTC