Project

Profile

Help

Bug #6288

closed

SaxonC PHP extension fails to build - error: 'argument' was not declared in this scope; did you mean 'arguments'?

Added by O'Neil Delpratt about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
High
Category:
PHP Build
Start date:
2023-12-15
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.4.1
Fixed in version:
12.4.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

A user in the bug issue comment https://saxonica.plan.io/issues/6197#note-12 reported that the PHP extension in the SaxonC 12.4.1 fails with compile errors.

See failures here:

/builddir/build/BUILD/php-saxon-12.4.1/php8_XsltExecutable.cpp:341:16: error: 'argument' was not declared in this scope; did you mean 'arguments'?
  341 |         delete argument[i];
      |                ^~~~~~~~
      |                arguments
/builddir/build/BUILD/php-saxon-12.4.1/php8_XsltExecutable.cpp:343:17: error: type 'int' argument given to 'delete', expected pointer
  343 |       delete [] argument_length;
      |                 ^~~~~~~~~~~~~~~
/builddir/build/BUILD/php-saxon-12.4.1/php8_XsltExecutable.cpp:363:16: error: 'argument' was not declared in this scope; did you mean 'arguments'?
  363 |         delete argument[i];
      |                ^~~~~~~~
      |                arguments
/builddir/build/BUILD/php-saxon-12.4.1/php8_XsltExecutable.cpp:365:17: error: type 'int' argument given to 'delete', expected pointer
  365 |       delete [] argument_length;

Please register to edit this issue

Also available in: Atom PDF