|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68642 warning: "MAXCOMLEN" redefined
Submitted: 2014-12-23 21:02 UTC Modified: 2014-12-28 18:54 UTC
From: php at wesha dot name Assigned: kalle (profile)
Status: Closed Package: Zip Related
PHP Version: 5.6.4 OS: FreeBSD 8.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php at wesha dot name
New email:
PHP Version: OS:


 [2014-12-23 21:02 UTC] php at wesha dot name
/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

#define MAXCOMLEN        65536

 * 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 */


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-28 18:54 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2014-12-28 18:54 UTC]
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.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 19:03:44 2022 UTC