Date: 02/20/01
- Next message: dbcarolina <email protected>: "[PHP-DEV] Simple Fail-Safe E-Business Opportunity!"
- Previous message: Derick Rethans: "Re: [PHP-DEV] PHP 4.0 Bug #9363 Updated: Floating point error upon startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: amra <email protected>
Operating system: OS400
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: Redeclaration cannot specify a different storage class
When trying to compile sapi/cgi/getopt.c and sapi/cgi/cgi_main.c, I get the following errors:
---------- begin [getopt..c] ----------
ERROR :15 The redeclaration cannot specify a different storage class.
ERROR :16 The redeclaration cannot specify a different storage class.
---------- end [getopt.c] ----------
I got rid of above error by removing static from
static int ap_php_opterr = 1;
static int ap_php_optopt;
---------- begin [cgi_main.c] ----------
ERROR :204 The redeclaration cannot specify a different storage class.
---------- end [cgi_main.c] ----------
I got rid of above error by removing static from
static sapi_module_struct sapi_module = {
I believe the errors are due to the conflicting declarations in sapi/cgi/php_getopt.h:
extern int ap_php_opterr;
extern int ap_php_optopt;
and the conflictng declaration in main/SAPI.h:
extern sapi_module_struct sapi_module;
-- Edit Bug report at: http://bugs.php.net/?id=9364&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: dbcarolina <email protected>: "[PHP-DEV] Simple Fail-Safe E-Business Opportunity!"
- Previous message: Derick Rethans: "Re: [PHP-DEV] PHP 4.0 Bug #9363 Updated: Floating point error upon startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

