Re: Bug #772: functions/basic_functions.c fails to compile with IRIX 6.5 MIPSPro 7.2.1

From: Date: Wed, 23 Sep 1998 23:36:49 +0000
Subject: Re: Bug #772: functions/basic_functions.c fails to compile with IRIX 6.5 MIPSPro 7.2.1
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1449@lists.php.net to get a copy of this message
At 14:28 23/09/98 -0000, cschneid@relog.ch wrote: >From: cschneid@relog.ch >Operating system: IRIX 6.5 >PHP version: 3.0.4 >PHP Bug Type: Compile Failure >Bug description: functions/basic_functions.c fails to compile with IRIX 6.5 MIPSPro 7.2.1 > >Output from IRIX 6.5 MIPSpro Compilers: Version 7.2.1: > >"functions/basic_functions.c", line 871: error(1028): expression must have a > constant value > pval *args[2] = {&key1, &key2}; > ^ > >"functions/basic_functions.c", line 871: error(1028): expression must have a > constant value > pval *args[2] = {&key1, &key2}; > >Can be fixed by changing init to something like >args[0] = &key1; args[1] = &key2; Looks like a bug in the IRIX compiler to me. Zeev -- Zeev Suraski <zeev@php.net> For a PGP public key, finger bourbon@netvision.net.il -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1449) next »