php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at wesha dot name
New email:
PHP Version: OS:

 

 [2014-12-23 21:02 UTC] 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 */
-------------------------------


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-28 18:54 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2014-12-28 18:54 UTC] kalle@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 14:01:29 2024 UTC