Bug #75481 [NEW]: posix.c:956:13: warning: In the GNU C Library, "makedev" is defined
| From: | spam2 at rhsoft dot net | Date: | Fri, 03 Nov 2017 12:13:37 +0000 |
| Subject: | Bug #75481 [NEW]: posix.c:956:13: warning: In the GNU C Library, "makedev" is defined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-212427@lists.php.net to get a copy of this message | ||
From: spam2 at rhsoft dot net
Operating system:
PHP version: 7.1Git-2017-11-03 (Git)
Package: Compile Warning
Bug Type: Bug
Bug description:posix.c:956:13: warning: In the GNU C Library, "makedev" is defined
Description:
------------
/home/builduser/rpmbuild/BUILD/php-7.1.11/ext/posix/posix.c: In function
'zif_posix_mknod':
/home/builduser/rpmbuild/BUILD/php-7.1.11/ext/posix/posix.c:956:13:
warning: In the GNU C Library, "makedev" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "makedev", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"makedev", you should undefine it after including <sys/types.h>.
php_dev = makedev(major, minor);
^~~~~~~~~~~~~~~~~~~~~~~
--
Edit bug report at https://bugs.php.net/bug.php?id=75481&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75481&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75481&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75481&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75481&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75481&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75481&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75481&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75481&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75481&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75481&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75481&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75481&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75481&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75481&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75481&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75481&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75481&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75481&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75481&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75481&r=mysqlcfg