Project

Profile

Help

Bug #4477

Extension function code should be removed Saxon-HE/C

Added by O'Neil Delpratt 5 months 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:

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]));

Please register to edit this issue

Also available in: Atom PDF