php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #772 functions/basic_functions.c fails to compile with IRIX 6.5 MIPSPro 7.2.1
Submitted: 1998-09-23 10:28 UTC Modified: 1998-10-03 20:53 UTC
From: cschneid at relog dot ch Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.4 OS: IRIX 6.5
Private report: No CVE-ID: None
 [1998-09-23 10:28 UTC] cschneid at relog dot ch
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;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-03 20:53 UTC] zeev
Fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 11:01:33 2024 UTC