#22684 [Opn->Fbk]: Unhappy with strtoll declaration in bundled libmysql

From: Date: Thu, 13 Mar 2003 23:20:12 +0000
Subject: #22684 [Opn->Fbk]: Unhappy with strtoll declaration in bundled libmysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35556@lists.php.net to get a copy of this message
ID: 22684 Updated by: sniper@php.net Reported By: michael dot mauch at gmx dot de -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Tru64 4.0g PHP Version: 4.3.2RC1 New Comment: Do you get the same error when you compile mysql? Previous Comments: ------------------------------------------------------------------------ [2003-03-13 15:24:21] michael dot mauch at gmx dot de 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 this bug report at http://bugs.php.net/?id=22684&edit=1

« previous php.bugs (#35556) next »