From: michael dot mauch at gmx dot de
Operating system: Tru64 4.0g
PHP version: 4.3.2RC1
PHP Bug Type: Compile Failure
Bug description: Unhappy with strtoll declaration in bundled libmysql
cc: Error:
/house/elmicha/local/src/php-4.3.2RC1/ext/mysql/libmysql/strto.c, line 68:
In this declaration, the type of "strtoll" is not compatible with the type
of a previous declaration of "strtoll" at line number 44 in file
/usr/include.dtk/stdlib.h. (notcompat)
function (const char *nptr,char **endptr,int base)
^
The declaration of strtoll() in stdlib.h is:
extern long long int strtoll(
const char * /*restrict*/ __nptr,
char ** /*restrict*/ __endptr,
int __base);
The declaration in strto.c is expanded to:
longlong strtoll (const char *nptr,char **endptr,int base)
% cc -V:
Compaq C V6.5-207 (dtk) on Digital UNIX V4.0G (Rev. 1530)
Compiler Driver V6.5-207 (dtk) (dtk) cc Driver
http://bugs.php.net/bug.php?id=18815 looks similar, but it's closed (and
on Linux).
--
Edit bug report at http://bugs.php.net/?id=22684&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22684&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22684&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22684&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22684&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22684&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22684&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22684&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22684&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22684&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22684&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22684&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22684&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22684&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22684&r=gnused