#18643 [Ana->Csd]: libmysql/my_tempnam.c gives compiler warnings
| From: | georg@php.net | Date: | Fri, 23 Aug 2002 15:58:45 +0000 |
| Subject: | #18643 [Ana->Csd]: libmysql/my_tempnam.c gives compiler warnings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17670@lists.php.net to get a copy of this message | ||
ID: 18643
Updated by: georg@php.net
Reported By: nohn@php.net
-Status: Analyzed
+Status: Closed
Bug Type: Compile Warning
Operating System: Compaq Tru64
PHP Version: 4CVS-2002-08-14
Assigned To: georg
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-08-14 18:02:05] kalowsky@php.net
After chating with georg about this it seems that this bug has been
fixed in the MySQL end of things, and we are just awaiting an update
from thier end (Zak?).
------------------------------------------------------------------------
[2002-08-14 14:34:32] nohn@php.net
http://nohn.net/lalafarm/200208140900-error.log
------------------------------------------------------------------------
[2002-08-13 22:27:25] kalowsky@php.net
Sebastian is this still true with georg's recent work?
------------------------------------------------------------------------
[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