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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cschneid at relog dot ch
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-03 20:53 UTC] zeev
Fixed.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 02:00:01 2026 UTC