Compile failure with php_imap.c
| From: | jtaskine at hit dot fi | Date: | Mon, 19 Jun 2000 11:03:34 +0000 |
| Subject: | Compile failure with php_imap.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21715@lists.php.net to get a copy of this message | ||
I get this with latest CVS in Solaris 2.6 using Sun cc :
"php_imap.c", line 307: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char
: "/data3/home/sniper/testsite/php4/Zend/zend.h", line 331
argument : pointer to uchar
"php_imap.c", line 1360: warning: argument #2 is incompatible with prototype:
prototype: pointer to char
: "/data3/home/sniper/testsite/php4/Zend/zend_API.h", line 170
argument : pointer to uchar
"php_imap.c", line 1412: warning: argument #3 is incompatible with prototype:
prototype: pointer to char
: "/data3/home/sniper/testsite/php4/Zend/zend_API.h", line 188
argument : pointer to uchar
"php_imap.c", line 1465: warning: argument #2 is incompatible with prototype:
prototype: pointer to char
: "/data3/home/sniper/testsite/php4/Zend/zend_API.h", line 170
argument : pointer to uchar
"php_imap.c", line 1749: warning: argument #2 is incompatible with prototype:
prototype: pointer to char
: "/data3/home/sniper/testsite/php4/Zend/zend_API.h", line 170
argument : pointer to uchar
"php_imap.c", line 1800: warning: argument #3 is incompatible with prototype:
prototype: pointer to char
: "/data3/home/sniper/testsite/php4/Zend/zend_API.h", line 188
argument : pointer to uchar
"php_imap.c", line 2042: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
"php_imap.c", line 2203: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
"php_imap.c", line 2203: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/string.h", line 64
argument : pointer to uchar
"php_imap.c", line 2372: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
"php_imap.c", line 2495: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
(Those warnings were there also before when this worked just fine..)
"php_imap.c", line 2963: left operand must be modifiable lvalue: op "="
"php_imap.c", line 2989: cannot recover from previous errors
cc: acomp failed for php_imap.c
Line 2963:
address = '\0';
--Jani