|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘setDllname’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:46:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
|
|
memset(&dllname[0], 0, sizeof(dllname));
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:47:38: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
|
|
memset(&resources_dir[0], 0, sizeof(resources_dir));
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘findConstructor’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:285:13: warning: unused variable ‘obj’ [-Wunused-variable]
|
|
jobject obj;
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘checkForException’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:383:10: warning: unused variable ‘saxonExcClass’ [-Wunused-variable]
|
|
jclass saxonExcClass = (*(environ.env))->FindClass(environ.env, "java/lang/Throwable");
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:362:65: warning: unused parameter ‘callingClass’ [-Wunused-parameter]
|
|
const char * checkForException(sxnc_environment environ, jclass callingClass, jobject callingObject){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘getParameter’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:429:75: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
|
|
jobject getParameter(sxnc_parameter *parameters, int parLen, const char* namespacei, const char * name){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘getProperty’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:442:72: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
|
|
char* getProperty(sxnc_property * properties, int propLen, const char* namespacei, const char * name){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘setParameter’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:455:89: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
|
|
void setParameter(sxnc_parameter **parameters, int * parLen, int * parCap, const char * namespacei, const char * name, jobject value){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘clearSettings’:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.c:512:6: warning: unused variable ‘i’ [-Wunused-variable]
|
|
int i =0;
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘evaluate’:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:219:67: warning: unused parameter ‘proc’ [-Wunused-parameter]
|
|
sxnc_value * evaluate(sxnc_environment environ, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘effectiveBooleanValue’:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:282:72: warning: unused parameter ‘proc’ [-Wunused-parameter]
|
|
bool effectiveBooleanValue(sxnc_environment environ, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘size’:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:347:27: warning: unused parameter ‘environ’ [-Wunused-parameter]
|
|
int size(sxnc_environment environ, sxnc_value val){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:347:47: warning: unused parameter ‘val’ [-Wunused-parameter]
|
|
int size(sxnc_environment environ, sxnc_value val){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘isAtomicvalue’:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:384:31: warning: unused parameter ‘value’ [-Wunused-parameter]
|
|
bool isAtomicvalue(sxnc_value value){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘getFloatValue’:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c:435:72: warning: unused parameter ‘failureVal’ [-Wunused-parameter]
|
|
float getFloatValue(sxnc_environment environ, sxnc_value value, float failureVal){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonCProcessor.h:4:0,
|
|
from /opt/saxon/Saxon.C.API/SaxonCXPath.h:4,
|
|
from /opt/saxon/Saxon.C.API/SaxonCXPath.c:1:
|
|
/opt/saxon/Saxon.C.API/SaxonCXPath.c: At top level:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp: In destructor ‘virtual XdmValue::~XdmValue()’:
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< values.size(); i++){
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘XdmValue* XdmValue::addUnderlyingValue(jobject)’:
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp:57:5: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘virtual _jobject* XdmValue::getUnderlyingValue(SaxonProcessor*)’:
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp:74:11: warning: statement has no effect [-Wunused-value]
|
|
jValues;
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘virtual XdmItem* XdmValue::itemAt(int)’:
|
|
/opt/saxon/Saxon.C.API/XdmValue.cpp:110:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(n >= 0 && n< values.size()) {
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.h:13,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmItem.cpp: In copy constructor ‘XdmItem::XdmItem(const XdmItem&)’:
|
|
/opt/saxon/Saxon.C.API/XdmItem.cpp:9:5: warning: base class ‘class XdmValue’ should be explicitly initialized in the copy constructor [-Wextra]
|
|
XdmItem::XdmItem(const XdmItem &other){
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmItem.cpp: At global scope:
|
|
/opt/saxon/Saxon.C.API/XdmItem.cpp:46:9: warning: unused parameter ‘proc’ [-Wunused-parameter]
|
|
jobject XdmItem::getUnderlyingValue(SaxonProcessor * proc){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.h:13,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:0:
|
|
/opt/saxon/Saxon.C.API/XdmNode.h: In constructor ‘XdmNode::XdmNode(jobject)’:
|
|
/opt/saxon/Saxon.C.API/XdmNode.h:104:16: warning: ‘XdmNode::nodeKind’ will be initialized after [-Wreorder]
|
|
XDM_NODE_KIND nodeKind;
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmNode.h:97:15: warning: ‘const char* XdmNode::baseURI’ [-Wreorder]
|
|
const char * baseURI;
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmNode.cpp:5:1: warning: when initialized here [-Wreorder]
|
|
XdmNode::XdmNode(jobject obj): XdmItem(obj), nodeKind(UNKNOWN), baseURI(NULL), nodeName(NULL), children(NULL), parent(NULL), attrValues(NULL){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:0:
|
|
/opt/saxon/Saxon.C.API/XdmNode.h: In constructor ‘XdmNode::XdmNode(XdmNode*, jobject, XDM_NODE_KIND)’:
|
|
/opt/saxon/Saxon.C.API/XdmNode.h:104:16: warning: ‘XdmNode::nodeKind’ will be initialized after [-Wreorder]
|
|
XDM_NODE_KIND nodeKind;
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmNode.h:97:15: warning: ‘const char* XdmNode::baseURI’ [-Wreorder]
|
|
const char * baseURI;
|
|
^
|
|
/opt/saxon/Saxon.C.API/XdmNode.cpp:10:1: warning: when initialized here [-Wreorder]
|
|
XdmNode::XdmNode(XdmNode * p, jobject obj, XDM_NODE_KIND kind): XdmItem(obj), nodeKind(kind), baseURI(NULL), nodeName(NULL), children(NULL), parent(p), attrValues(NULL){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.h:13,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XdmValue.h:13,
|
|
from /opt/saxon/Saxon.C.API/XdmItem.h:11,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
|
|
from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:0:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:0:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.cpp: In member function ‘void SaxonProcessor::setResourcesDirectory(const char*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.cpp:342:37: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
|
|
memset(&resources_dir[0], 0, sizeof(resources_dir));
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XsltProcessor.h:12:0,
|
|
from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XsltProcessor.h:12:0,
|
|
from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XsltProcessor.h:12,
|
|
from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13,
|
|
from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XPathProcessor.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/XPathProcessor.h:13:0,
|
|
from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/XPathProcessor.h:13,
|
|
from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SchemaValidator.h:12:0,
|
|
from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SchemaValidator.h:12:0,
|
|
from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
/opt/saxon/Saxon.C.API/SchemaValidator.cpp: In member function ‘XdmNode* SchemaValidator::validateToNode(const char*)’:
|
|
/opt/saxon/Saxon.C.API/SchemaValidator.cpp:428:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from /opt/saxon/Saxon.C.API/SchemaValidator.h:12,
|
|
from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|
|
In file included from testXSLT.cpp:3:0:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for(int i =0; i< exceptions.size();i++) {
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if(i <= exceptions.size()){
|
|
^
|
|
In file included from testXSLT.cpp:3:0:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
|
|
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from testXSLT.cpp:7:0:
|
|
cppExtensionFunction.cpp: In function ‘_jobject* cppNativeCall(JNIEnv*, jobject, jstring, jobjectArray, jobjectArray)’:
|
|
cppExtensionFunction.cpp:53:15: warning: variable ‘stri’ set but not used [-Wunused-but-set-variable]
|
|
const char *stri = NULL;
|
|
^
|
|
cppExtensionFunction.cpp:54:10: warning: variable ‘dnumber’ set but not used [-Wunused-but-set-variable]
|
|
double dnumber = 0;
|
|
^
|
|
cppExtensionFunction.cpp:55:8: warning: variable ‘lnumber’ set but not used [-Wunused-but-set-variable]
|
|
long lnumber = 0;
|
|
^
|
|
cppExtensionFunction.cpp:56:8: warning: variable ‘bvalue’ set but not used [-Wunused-but-set-variable]
|
|
bool bvalue = false;
|
|
^
|
|
cppExtensionFunction.cpp:57:9: warning: variable ‘fnumber’ set but not used [-Wunused-but-set-variable]
|
|
float fnumber = 0;
|
|
^
|
|
cppExtensionFunction.cpp:61:13: warning: unused variable ‘node’ [-Wunused-variable]
|
|
XdmNode * node = NULL;
|
|
^
|
|
In file included from testXSLT.cpp:7:0:
|
|
cppExtensionFunction.cpp: At global scope:
|
|
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘env’ [-Wunused-parameter]
|
|
jobject JNICALL cppNativeCall
|
|
^
|
|
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘object’ [-Wunused-parameter]
|
|
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘funcName’ [-Wunused-parameter]
|
|
In file included from testXSLT.cpp:7:0:
|
|
cppExtensionFunction.cpp:114:8: warning: unused parameter ‘param1’ [-Wunused-parameter]
|
|
string nativeExtensionMethod(char * param1, int number){
|
|
^
|
|
cppExtensionFunction.cpp:114:8: warning: unused parameter ‘number’ [-Wunused-parameter]
|
|
testXSLT.cpp:22:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
|
|
};
|
|
^
|
|
testXSLT.cpp:22:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
|
|
testXSLT.cpp:28:6: warning: unused parameter ‘processor’ [-Wunused-parameter]
|
|
void testTransformToString1(SaxonProcessor * processor, XsltProcessor * trans){
|
|
^
|
|
testXSLT.cpp: In function ‘int exists(const char*)’:
|
|
testXSLT.cpp:429:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
if (file = fopen(fname, "r"))
|
|
^
|
|
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
|
|
from testXSLT.cpp:3:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
|
|
static char tempDllname[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
|
|
static char tempResources_dir[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
|
|
static char * dllname;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
|
|
static char *resources_dir;/*[] =
|
|
^
|
|
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
|
|
static int jvmCreated =0;
|
|
^
|