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 6 months ago. Updated 4 months ago.

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

100%

Estimated time:
Found in version:
12.4.1
Fixed in version:
12.4.2
Platforms:

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;
Actions #1

Updated by O'Neil Delpratt 6 months ago

  • Status changed from New to Resolved

Patched committed to the repository

Actions #2

Updated by O'Neil Delpratt 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 12.4.2

Fix applied in SaxonC 12.4.2 maintenance release

Please register to edit this issue

Also available in: Atom PDF