#18643 [Opn->Fbk]: libmysql/my_tempnam.c gives compiler warnings
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 02:27:25 +0000 |
| Subject: | #18643 [Opn->Fbk]: libmysql/my_tempnam.c gives compiler warnings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16678@lists.php.net to get a copy of this message | ||
ID: 18643
Updated by: kalowsky@php.net
Reported By: nohn@php.net
-Status: Open
+Status: Feedback
Bug Type: Compile Warning
Operating System: Compaq Tru64
PHP Version: 4CVS-2002-07-30
New Comment:
Sebastian is this still true with georg's recent work?
Previous Comments:
------------------------------------------------------------------------
[2002-07-30 08:42:22] nohn@php.net
cc: Warning:
/usr/users/nohn/php4-200207292100/ext/mysql/libmysql/my_tempnam.c,
line 99: In this statement, the referenced type of the pointer value
"(const cha
r ...)temp_env" is "pointer to const signed char", which is not
compatible with
"pointer to signed char". (ptrmismatch)
environ=(const char**)temp_env; /* May give warning */
----^
cc: Warning:
/usr/users/nohn/php4-200207292100/ext/mysql/libmysql/my_tempnam.c,
line 105: In this statement, the referenced type of the pointer value
"(const char ...)old_env" is "pointer to const signed char", which is
not compatible with
"pointer to signed char". (ptrmismatch)
environ=(const char**)old_env; /* May give warning */
--^
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18643&edit=1