Bug #68642 [Opn->Csd]: warning: "MAXCOMLEN" redefined
| From: | kalle@php.net | Date: | Sun, 28 Dec 2014 18:54:46 +0000 |
| Subject: | Bug #68642 [Opn->Csd]: warning: "MAXCOMLEN" redefined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189251@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68642&edit=1
ID: 68642
Updated by: kalle@php.net
Reported by: php at wesha dot name
Summary: warning: "MAXCOMLEN" redefined
-Status: Open
+Status: Closed
Type: Bug
Package: Zip Related
Operating System: FreeBSD 8.1
PHP Version: 5.6.4
-Assigned To:
+Assigned To: kalle
Block user comment: N
Private report: N
New Comment:
To me this looks like it comes from libzip, not actually PHP and I think you are better off
reporting such upstream even as much as I hate sending you elsewhere and not having a warning free
build, but this seems to be where this origins from.
Previous Comments:
------------------------------------------------------------------------
[2014-12-23 21:02:15] php at wesha dot name
Description:
------------
/root/_build/php/php-5.6.4/ext/zip/lib/zipint.h:145:1: warning: "MAXCOMLEN" redefined
In file included from /root/_build/php/php-5.6.4/main/php.h:210,
from /root/_build/php/php-5.6.4/ext/zip/lib/zip.h:39,
from /root/_build/php/php-5.6.4/ext/zip/lib/zipint.h:52,
from /root/_build/php/php-5.6.4/ext/zip/lib/zip_string.c:39:
/usr/include/sys/param.h:76:1: warning: this is the location of the previous definition
/root/_build/php/php-5.6.4/ext/zip/lib/zipint.h:
-------------------------------
#define MAXCOMLEN 65536
-------------------------------
/usr/include/sys/param.h:
-------------------------------
/*
* Machine-independent constants (some used in following include files).
* Redefined constants are from POSIX 1003.1 limits file.
*
* MAXCOMLEN should be >= sizeof(ac_comm) (see <acct.h>)
* MAXLOGNAME should be == UT_NAMESIZE+1 (see <utmp.h>)
*/
#include <sys/syslimits.h>
#define MAXCOMLEN 19 /* max command name remembered */
-------------------------------
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68642&edit=1