Bug #68642 [NEW]: warning: "MAXCOMLEN" redefined

From: Date: Tue, 23 Dec 2014 21:02:16 +0000
Subject: Bug #68642 [NEW]: warning: "MAXCOMLEN" redefined
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189167@lists.php.net to get a copy of this message
From: php at wesha dot name Operating system: FreeBSD 8.1 PHP version: 5.6.4 Package: Zip Related Bug Type: Bug Bug description:warning: "MAXCOMLEN" redefined 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 bug report at https://bugs.php.net/bug.php?id=68642&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68642&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68642&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68642&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68642&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68642&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68642&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68642&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68642&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68642&r=support Expected behavior: https://bugs.php.net/fix.php?id=68642&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68642&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68642&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68642&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68642&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68642&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68642&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68642&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68642&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68642&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68642&r=mysqlcfg

« previous php.bugs (#189167) next »