Project

Profile

Help

Bug #4477

open

Extension function code should be removed Saxon-HE/C

Added by O'Neil Delpratt about 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2020-03-10
Due date:
% Done:

0%

Estimated time:
Found in version:
1.2.1
Fixed in version:
Platforms:

Description

As a result of the following stackover flow question: saxon-c-centos8-compile

It is clear the Saxon-He/C code base should not have code for the extension function feature. Should only be available in Saxon-PE/C and Saxon-EE/C.

Also when the compile flag -Werror=sizeof-pointer-div is used we get the following error:

../../Saxon.C.API/SaxonProcessor.h:599:32: error: division ‘sizeof (JNINativeMethod*) / sizeof (JNINativeMethod)’ 
does not compute the number of array 
elements [-Werror=sizeof-pointer-div] gMethods, sizeof(gMethods) / sizeof(gMethods[0]));

No data to display

Please register to edit this issue

Also available in: Atom PDF