Bug #64713 [Asn->Csd]: Compilation warnings in fileinfo
| From: | ab@php.net | Date: | Sat, 27 Apr 2013 12:11:49 +0000 |
| Subject: | Bug #64713 [Asn->Csd]: Compilation warnings in fileinfo | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178673@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64713&edit=1
ID: 64713
Updated by: ab@php.net
Reported by: sixd@php.net
Summary: Compilation warnings in fileinfo
-Status: Assigned
+Status: Closed
Type: Bug
Package: Filesystem function related
PHP Version: 5.5.0beta4
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Fixed in cdc1a63790dc0d91189f93489d6f3d68a57acd9c
Previous Comments:
------------------------------------------------------------------------
[2013-04-26 17:09:55] sixd@php.net
And with a git build, this warning occurs:
/home/cjones/php-5.5/ext/fileinfo/libmagic/apprentice.c: In function âapprentice_loadâ:
/home/cjones/php-5.5/ext/fileinfo/libmagic/apprentice.c:1172: warning: passing argument 1 of
â_php_stream_opendirâ discards qualifiers from pointer target type
/home/cjones/php-5.5/ext/fileinfo/libmagic/apprentice.c:1136: warning: unused variable
âmfnâ
------------------------------------------------------------------------
[2013-04-25 18:30:53] sixd@php.net
Description:
------------
The libmagic patch could be tidied up to remove these warnings:
/home/cjones/Desktop/php-5.5.0beta4/ext/fileinfo/libmagic/magic.c:83:14: warning:
âfree_mlistâ declared âstaticâ but never defined [-Wunused-function]
/home/cjones/Desktop/php-5.5.0beta4/ext/fileinfo/libmagic/magic.c:87:21: warning:
âget_default_magicâ declared âstaticâ but never defined [-Wunused-function]
and
/home/cjones/Desktop/php-5.5.0beta4/ext/fileinfo/libmagic/print.c: In function
âfile_fmttimeâ:
/home/cjones/Desktop/php-5.5.0beta4/ext/fileinfo/libmagic/print.c:82:3: warning:
implicit declaration of function âcdf_timestamp_to_timespecâ [-Wimplicit-
function-declaration]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64713&edit=1