Bug #58834 [Opn->Csd]: Build error 'void value not ignored ...'
| From: | kalle@php.net | Date: | Mon, 15 Aug 2016 22:47:25 +0000 |
| Subject: | Bug #58834 [Opn->Csd]: Build error 'void value not ignored ...' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203299@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=58834&edit=1
ID: 58834
Updated by: kalle@php.net
Reported by: mathias dot tausig at a-cert dot at
Summary: Build error 'void value not ignored ...'
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Suse 9.0
PHP Version: 5.2.9
-Assigned To:
+Assigned To: kalle
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php-trunk-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Please try the bundled version of fileinfo with php and see it the issue have then been solved
Previous Comments:
------------------------------------------------------------------------
[2009-08-27 06:07:49] mathias dot tausig at a-cert dot at
Description:
------------
gcc-3.3.1
php-5.2.9 (manually built)
The build (after phpize, configure) fails. Since the same procedure worked on a different host, I am
suspecting that the oldish gcc version is responsible for this.
Here is the 'make' output
/bin/sh /tmp/Fileinfo-1.0.4/libtool --mode=compile gcc -I. -I/tmp/Fileinfo-1.0.4 -DPHP_ATOM_INC
-I/tmp/Fileinfo-1.0.4/include -I/tmp/Fileinfo-1.0.4/main -I/tmp/Fileinfo-1.0.4
-I/usr/local//include/php -I/usr/local//include/php/main -I/usr/local//include/php/TSRM
-I/usr/local//include/php/Zend -I/usr/local//include/php/ext -I/usr/local//include/php/ext/date/lib
-I/usr/local//include/php -DHAVE_CONFIG_H -g -O2 -c /tmp/Fileinfo-1.0.4/fileinfo.c -o fileinfo.lo
mkdir .libs
gcc -I. -I/tmp/Fileinfo-1.0.4 -DPHP_ATOM_INC -I/tmp/Fileinfo-1.0.4/include
-I/tmp/Fileinfo-1.0.4/main -I/tmp/Fileinfo-1.0.4 -I/usr/local//include/php
-I/usr/local//include/php/main -I/usr/local//include/php/TSRM -I/usr/local//include/php/Zend
-I/usr/local//include/php/ext -I/usr/local//include/php/ext/date/lib -I/usr/local//include/php
-DHAVE_CONFIG_H -g -O2 -c /tmp/Fileinfo-1.0.4/fileinfo.c -fPIC -DPIC -o .libs/fileinfo.o
/tmp/Fileinfo-1.0.4/fileinfo.c: In function `zif_finfo_set_flags':
/tmp/Fileinfo-1.0.4/fileinfo.c:339: error: void value not ignored as it ought to be
/tmp/Fileinfo-1.0.4/fileinfo.c: In function `_php_finfo_get_type':
/tmp/Fileinfo-1.0.4/fileinfo.c:369: error: void value not ignored as it ought to be
/tmp/Fileinfo-1.0.4/fileinfo.c:413: error: void value not ignored as it ought to be
make: *** [fileinfo.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=58834&edit=1