Bug #49 [Com]: Conflicting defines for strndup
| From: | lildurk49 at gmail dot com | Date: | Wed, 01 Sep 2021 17:52:15 +0000 |
| Subject: | Bug #49 [Com]: Conflicting defines for strndup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236225@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=49&edit=1
ID: 49
Comment by: lildurk49 at gmail dot com
Reported by: thomas at fivemile dot org
Summary: Conflicting defines for strndup
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Redhat Linux 4.2 Alpha-AXP Versi
PHP Version: 3.0b4
Block user comment: N
Private report: N
New Comment:
Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults
aged 19 and older. Weâre an exclusively online retailer and wholesaler for recreational
cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe
our work is meaningful and we take pride in our mandate to promote the socially responsible use of
legal cannabis. https://lildurk.com/
Previous Comments:
------------------------------------------------------------------------
[2021-02-24 21:09:00] langemeijer@php.net
Automatic comment on behalf of casper.langemeijer@procurios.nl
Revision: http://git.php.net/?p=pecl/networking/ssh2.git;a=commit;h=6af6094d5977efb7d2a2af727f8bde91cf359026
Log: Merge pull request #49: Fix #75523: stream_set_timeout(): No support for ssh2 stream timeout
------------------------------------------------------------------------
[2020-02-28 10:40:05] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=349259
Log: var_export: Mention 7.3.0 change for stdClass
Patch by hikari-no-yume.
Closes php/doc-en#49.
------------------------------------------------------------------------
[1998-02-10 16:24:17] andi
Fixed in the latest CVS tree!
------------------------------------------------------------------------
[1998-02-10 13:04:12] thomas at fivemile dot org
[root@stargate php-3.0b4]# make
gcc -O2 -I. -I/root/apache_1.2.5/src -I/usr/local/Hughes/include -g -Wall -c
language-parser.tab.c -o language-parser.tab.o
In file included from parser.h:120,
from language-parser.y:49:
/usr/include/string.h:96: conflicting types for `strndup'
alloc.h:52: previous declaration of `strndup'
make: *** [language-parser.tab.o] Error 1
[root@stargate php-3.0b4]#
the declaration in /usr/include/string.h is as follows:
extern char *strndup __P ((__const char *__string, size_t __n));
i configured PHP with
./configure --with-system-regex --with-apache=/root/apache_1.2.5 --with-msql=/usr/local/Hughes
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=49&edit=1