#18643 [NEW]: libmysql/my_tempnam.c gives compiler warnings
| From: | nohn@php.net | Date: | Tue, 30 Jul 2002 12:42:23 +0000 |
| Subject: | #18643 [NEW]: libmysql/my_tempnam.c gives compiler warnings | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15564@lists.php.net to get a copy of this message | ||
From: nohn@php.net
Operating system: Compaq Tru64
PHP version: 4CVS-2002-07-30
PHP Bug Type: Compile Warning
Bug description: libmysql/my_tempnam.c gives compiler warnings
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 bug report at http://bugs.php.net/?id=18643&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18643&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18643&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18643&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18643&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18643&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18643&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18643&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18643&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18643&r=globals