Project

Profile

Help

Bug #4063 » compile-output-errors.txt

O'Neil Delpratt, 2018-12-10 10:20

 
1
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘setDllname’:
2
/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]
3
   memset(&dllname[0], 0, sizeof(dllname));
4
                                ^
5
/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]
6
   memset(&resources_dir[0], 0, sizeof(resources_dir));
7
                                      ^
8
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘findConstructor’:
9
/opt/saxon/Saxon.C.API/SaxonCGlue.c:285:13: warning: unused variable ‘obj’ [-Wunused-variable]
10
     jobject obj;
11
             ^
12
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘checkForException’:
13
/opt/saxon/Saxon.C.API/SaxonCGlue.c:383:10: warning: unused variable ‘saxonExcClass’ [-Wunused-variable]
14
   jclass saxonExcClass = (*(environ.env))->FindClass(environ.env, "java/lang/Throwable");
15
          ^
16
/opt/saxon/Saxon.C.API/SaxonCGlue.c:362:65: warning: unused parameter ‘callingClass’ [-Wunused-parameter]
17
 const char * checkForException(sxnc_environment environ, jclass callingClass,  jobject callingObject){
18
                                                                 ^
19
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘getParameter’:
20
/opt/saxon/Saxon.C.API/SaxonCGlue.c:429:75: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
21
 jobject getParameter(sxnc_parameter *parameters,  int parLen, const char* namespacei, const char * name){
22
                                                                           ^
23
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘getProperty’:
24
/opt/saxon/Saxon.C.API/SaxonCGlue.c:442:72: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
25
 char* getProperty(sxnc_property * properties, int propLen, const char* namespacei, const char * name){
26
                                                                        ^
27
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘setParameter’:
28
/opt/saxon/Saxon.C.API/SaxonCGlue.c:455:89: warning: unused parameter ‘namespacei’ [-Wunused-parameter]
29
 void setParameter(sxnc_parameter **parameters, int * parLen, int * parCap, const char * namespacei, const char * name, jobject value){
30
                                                                                         ^
31
/opt/saxon/Saxon.C.API/SaxonCGlue.c: In function ‘clearSettings’:
32
/opt/saxon/Saxon.C.API/SaxonCGlue.c:512:6: warning: unused variable ‘i’ [-Wunused-variable]
33
  int i =0;
34
      ^
35
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘evaluate’:
36
/opt/saxon/Saxon.C.API/SaxonCXPath.c:219:67: warning: unused parameter ‘proc’ [-Wunused-parameter]
37
 sxnc_value * evaluate(sxnc_environment environ, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen){
38
                                                                   ^
39
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘effectiveBooleanValue’:
40
/opt/saxon/Saxon.C.API/SaxonCXPath.c:282:72: warning: unused parameter ‘proc’ [-Wunused-parameter]
41
 bool effectiveBooleanValue(sxnc_environment environ, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen){
42
                                                                        ^
43
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘size’:
44
/opt/saxon/Saxon.C.API/SaxonCXPath.c:347:27: warning: unused parameter ‘environ’ [-Wunused-parameter]
45
 int size(sxnc_environment environ, sxnc_value val){
46
                           ^
47
/opt/saxon/Saxon.C.API/SaxonCXPath.c:347:47: warning: unused parameter ‘val’ [-Wunused-parameter]
48
 int size(sxnc_environment environ, sxnc_value val){
49
                                               ^
50
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘isAtomicvalue’:
51
/opt/saxon/Saxon.C.API/SaxonCXPath.c:384:31: warning: unused parameter ‘value’ [-Wunused-parameter]
52
 bool isAtomicvalue(sxnc_value value){
53
                               ^
54
/opt/saxon/Saxon.C.API/SaxonCXPath.c: In function ‘getFloatValue’:
55
/opt/saxon/Saxon.C.API/SaxonCXPath.c:435:72: warning: unused parameter ‘failureVal’ [-Wunused-parameter]
56
 float getFloatValue(sxnc_environment environ, sxnc_value value,  float failureVal){
57
                                                                        ^
58
In file included from /opt/saxon/Saxon.C.API/SaxonCProcessor.h:4:0,
59
                 from /opt/saxon/Saxon.C.API/SaxonCXPath.h:4,
60
                 from /opt/saxon/Saxon.C.API/SaxonCXPath.c:1:
61
/opt/saxon/Saxon.C.API/SaxonCXPath.c: At top level:
62
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
63
 static char tempDllname[] =
64
             ^
65
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
66
 static char tempResources_dir[] = 
67
             ^
68
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
69
 static char * dllname;/*[] =
70
               ^
71
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
72
 static char *resources_dir;/*[] = 
73
              ^
74
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
75
 static int jvmCreated =0;
76
            ^
77
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
78
                 from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
79
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
80
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
81
   if(i <= exceptions.size()){
82
                           ^
83
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
84
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
85
   if(i <= exceptions.size()){
86
                           ^
87
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
88
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
89
   if(i <= exceptions.size()){
90
                           ^
91
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
92
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
93
   if(i <= exceptions.size()){
94
                           ^
95
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
96
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
97
   if(i <= exceptions.size()){
98
                           ^
99
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
100
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
101
    for(int i =0; i< exceptions.size();i++) {
102
                                     ^
103
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
104
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
105
   if(i <= exceptions.size()){
106
                           ^
107
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
108
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
109
   if(i <= exceptions.size()){
110
                           ^
111
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
112
                 from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
113
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
114
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
115
 }
116
 ^
117
/opt/saxon/Saxon.C.API/XdmValue.cpp: In destructor ‘virtual XdmValue::~XdmValue()’:
118
/opt/saxon/Saxon.C.API/XdmValue.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
119
   for(int i =0; i< values.size(); i++){
120
                                ^
121
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘XdmValue* XdmValue::addUnderlyingValue(jobject)’:
122
/opt/saxon/Saxon.C.API/XdmValue.cpp:57:5: warning: no return statement in function returning non-void [-Wreturn-type]
123
     }
124
     ^
125
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘virtual _jobject* XdmValue::getUnderlyingValue(SaxonProcessor*)’:
126
/opt/saxon/Saxon.C.API/XdmValue.cpp:74:11: warning: statement has no effect [-Wunused-value]
127
    jValues;
128
           ^
129
/opt/saxon/Saxon.C.API/XdmValue.cpp: In member function ‘virtual XdmItem* XdmValue::itemAt(int)’:
130
/opt/saxon/Saxon.C.API/XdmValue.cpp:110:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
131
   if(n >= 0 && n< values.size()) {
132
                               ^
133
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
134
                 from /opt/saxon/Saxon.C.API/XdmValue.h:13,
135
                 from /opt/saxon/Saxon.C.API/XdmValue.cpp:1:
136
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
137
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
138
 static char tempDllname[] =
139
             ^
140
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
141
 static char tempResources_dir[] = 
142
             ^
143
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
144
 static char * dllname;/*[] =
145
               ^
146
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
147
 static char *resources_dir;/*[] = 
148
              ^
149
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
150
 static int jvmCreated =0;
151
            ^
152
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
153
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
154
                 from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
155
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
156
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
157
   if(i <= exceptions.size()){
158
                           ^
159
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
160
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
161
   if(i <= exceptions.size()){
162
                           ^
163
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
164
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
165
   if(i <= exceptions.size()){
166
                           ^
167
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
168
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
169
   if(i <= exceptions.size()){
170
                           ^
171
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
172
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
173
   if(i <= exceptions.size()){
174
                           ^
175
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
176
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
177
    for(int i =0; i< exceptions.size();i++) {
178
                                     ^
179
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
180
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
181
   if(i <= exceptions.size()){
182
                           ^
183
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
184
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
185
   if(i <= exceptions.size()){
186
                           ^
187
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
188
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
189
                 from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
190
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
191
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
192
 }
193
 ^
194
/opt/saxon/Saxon.C.API/XdmItem.cpp: In copy constructor ‘XdmItem::XdmItem(const XdmItem&)’:
195
/opt/saxon/Saxon.C.API/XdmItem.cpp:9:5: warning: base class ‘class XdmValue’ should be explicitly initialized in the copy constructor [-Wextra]
196
     XdmItem::XdmItem(const XdmItem &other){
197
     ^
198
/opt/saxon/Saxon.C.API/XdmItem.cpp: At global scope:
199
/opt/saxon/Saxon.C.API/XdmItem.cpp:46:9: warning: unused parameter ‘proc’ [-Wunused-parameter]
200
 jobject XdmItem::getUnderlyingValue(SaxonProcessor * proc){
201
         ^
202
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
203
                 from /opt/saxon/Saxon.C.API/XdmValue.h:13,
204
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
205
                 from /opt/saxon/Saxon.C.API/XdmItem.cpp:3:
206
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
207
 static char tempDllname[] =
208
             ^
209
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
210
 static char tempResources_dir[] = 
211
             ^
212
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
213
 static char * dllname;/*[] =
214
               ^
215
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
216
 static char *resources_dir;/*[] = 
217
              ^
218
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
219
 static int jvmCreated =0;
220
            ^
221
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
222
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
223
                 from /opt/saxon/Saxon.C.API/XdmNode.h:11,
224
                 from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
225
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
226
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
227
   if(i <= exceptions.size()){
228
                           ^
229
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
230
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
231
   if(i <= exceptions.size()){
232
                           ^
233
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
234
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
235
   if(i <= exceptions.size()){
236
                           ^
237
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
238
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
239
   if(i <= exceptions.size()){
240
                           ^
241
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
242
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
243
   if(i <= exceptions.size()){
244
                           ^
245
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
246
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
247
    for(int i =0; i< exceptions.size();i++) {
248
                                     ^
249
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
250
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
251
   if(i <= exceptions.size()){
252
                           ^
253
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
254
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
255
   if(i <= exceptions.size()){
256
                           ^
257
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
258
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
259
                 from /opt/saxon/Saxon.C.API/XdmNode.h:11,
260
                 from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
261
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
262
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
263
 }
264
 ^
265
In file included from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:0:
266
/opt/saxon/Saxon.C.API/XdmNode.h: In constructor ‘XdmNode::XdmNode(jobject)’:
267
/opt/saxon/Saxon.C.API/XdmNode.h:104:16: warning: ‘XdmNode::nodeKind’ will be initialized after [-Wreorder]
268
  XDM_NODE_KIND nodeKind;
269
                ^
270
/opt/saxon/Saxon.C.API/XdmNode.h:97:15: warning:   ‘const char* XdmNode::baseURI’ [-Wreorder]
271
  const char * baseURI;
272
               ^
273
/opt/saxon/Saxon.C.API/XdmNode.cpp:5:1: warning:   when initialized here [-Wreorder]
274
 XdmNode::XdmNode(jobject obj): XdmItem(obj), nodeKind(UNKNOWN), baseURI(NULL), nodeName(NULL), children(NULL), parent(NULL), attrValues(NULL){
275
 ^
276
In file included from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:0:
277
/opt/saxon/Saxon.C.API/XdmNode.h: In constructor ‘XdmNode::XdmNode(XdmNode*, jobject, XDM_NODE_KIND)’:
278
/opt/saxon/Saxon.C.API/XdmNode.h:104:16: warning: ‘XdmNode::nodeKind’ will be initialized after [-Wreorder]
279
  XDM_NODE_KIND nodeKind;
280
                ^
281
/opt/saxon/Saxon.C.API/XdmNode.h:97:15: warning:   ‘const char* XdmNode::baseURI’ [-Wreorder]
282
  const char * baseURI;
283
               ^
284
/opt/saxon/Saxon.C.API/XdmNode.cpp:10:1: warning:   when initialized here [-Wreorder]
285
 XdmNode::XdmNode(XdmNode * p, jobject obj, XDM_NODE_KIND kind): XdmItem(obj), nodeKind(kind), baseURI(NULL), nodeName(NULL), children(NULL), parent(p), attrValues(NULL){
286
 ^
287
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
288
                 from /opt/saxon/Saxon.C.API/XdmValue.h:13,
289
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
290
                 from /opt/saxon/Saxon.C.API/XdmNode.h:11,
291
                 from /opt/saxon/Saxon.C.API/XdmNode.cpp:2:
292
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
293
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
294
 static char tempDllname[] =
295
             ^
296
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
297
 static char tempResources_dir[] = 
298
             ^
299
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
300
 static char * dllname;/*[] =
301
               ^
302
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
303
 static char *resources_dir;/*[] = 
304
              ^
305
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
306
 static int jvmCreated =0;
307
            ^
308
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
309
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
310
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
311
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
312
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
313
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
314
   if(i <= exceptions.size()){
315
                           ^
316
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
317
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
318
   if(i <= exceptions.size()){
319
                           ^
320
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
321
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
322
   if(i <= exceptions.size()){
323
                           ^
324
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
325
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
326
   if(i <= exceptions.size()){
327
                           ^
328
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
329
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
330
   if(i <= exceptions.size()){
331
                           ^
332
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
333
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
334
    for(int i =0; i< exceptions.size();i++) {
335
                                     ^
336
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
337
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
338
   if(i <= exceptions.size()){
339
                           ^
340
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
341
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
342
   if(i <= exceptions.size()){
343
                           ^
344
In file included from /opt/saxon/Saxon.C.API/XdmValue.h:13:0,
345
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
346
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
347
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
348
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
349
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
350
 }
351
 ^
352
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
353
                 from /opt/saxon/Saxon.C.API/XdmValue.h:13,
354
                 from /opt/saxon/Saxon.C.API/XdmItem.h:11,
355
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.h:12,
356
                 from /opt/saxon/Saxon.C.API/XdmAtomicValue.cpp:4:
357
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
358
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
359
 static char tempDllname[] =
360
             ^
361
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
362
 static char tempResources_dir[] = 
363
             ^
364
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
365
 static char * dllname;/*[] =
366
               ^
367
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
368
 static char *resources_dir;/*[] = 
369
              ^
370
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
371
 static int jvmCreated =0;
372
            ^
373
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:0:
374
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
375
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
376
   if(i <= exceptions.size()){
377
                           ^
378
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
379
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
380
   if(i <= exceptions.size()){
381
                           ^
382
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
383
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
384
   if(i <= exceptions.size()){
385
                           ^
386
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
387
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
388
   if(i <= exceptions.size()){
389
                           ^
390
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
391
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
392
   if(i <= exceptions.size()){
393
                           ^
394
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
395
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
396
    for(int i =0; i< exceptions.size();i++) {
397
                                     ^
398
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
399
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
400
   if(i <= exceptions.size()){
401
                           ^
402
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
403
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
404
   if(i <= exceptions.size()){
405
                           ^
406
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:0:
407
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
408
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
409
 }
410
 ^
411
/opt/saxon/Saxon.C.API/SaxonProcessor.cpp: In member function ‘void SaxonProcessor::setResourcesDirectory(const char*)’:
412
/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]
413
  memset(&resources_dir[0], 0, sizeof(resources_dir));
414
                                     ^
415
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
416
                 from /opt/saxon/Saxon.C.API/SaxonProcessor.cpp:10:
417
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
418
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
419
 static char tempDllname[] =
420
             ^
421
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
422
 static char tempResources_dir[] = 
423
             ^
424
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
425
 static char * dllname;/*[] =
426
               ^
427
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
428
 static int jvmCreated =0;
429
            ^
430
In file included from /opt/saxon/Saxon.C.API/XsltProcessor.h:12:0,
431
                 from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
432
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
433
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
434
   if(i <= exceptions.size()){
435
                           ^
436
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
437
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
438
   if(i <= exceptions.size()){
439
                           ^
440
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
441
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
442
   if(i <= exceptions.size()){
443
                           ^
444
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
445
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
446
   if(i <= exceptions.size()){
447
                           ^
448
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
449
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
450
   if(i <= exceptions.size()){
451
                           ^
452
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
453
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
454
    for(int i =0; i< exceptions.size();i++) {
455
                                     ^
456
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
457
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
458
   if(i <= exceptions.size()){
459
                           ^
460
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
461
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
462
   if(i <= exceptions.size()){
463
                           ^
464
In file included from /opt/saxon/Saxon.C.API/XsltProcessor.h:12:0,
465
                 from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
466
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
467
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
468
 }
469
 ^
470
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
471
                 from /opt/saxon/Saxon.C.API/XsltProcessor.h:12,
472
                 from /opt/saxon/Saxon.C.API/XsltProcessor.cpp:6:
473
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
474
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
475
 static char tempDllname[] =
476
             ^
477
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
478
 static char tempResources_dir[] = 
479
             ^
480
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
481
 static char * dllname;/*[] =
482
               ^
483
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
484
 static char *resources_dir;/*[] = 
485
              ^
486
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
487
 static int jvmCreated =0;
488
            ^
489
In file included from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13:0,
490
                 from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
491
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
492
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
493
   if(i <= exceptions.size()){
494
                           ^
495
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
496
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
497
   if(i <= exceptions.size()){
498
                           ^
499
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
500
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
501
   if(i <= exceptions.size()){
502
                           ^
503
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
504
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
505
   if(i <= exceptions.size()){
506
                           ^
507
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
508
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
509
   if(i <= exceptions.size()){
510
                           ^
511
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
512
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
513
    for(int i =0; i< exceptions.size();i++) {
514
                                     ^
515
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
516
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
517
   if(i <= exceptions.size()){
518
                           ^
519
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
520
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
521
   if(i <= exceptions.size()){
522
                           ^
523
In file included from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13:0,
524
                 from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
525
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
526
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
527
 }
528
 ^
529
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
530
                 from /opt/saxon/Saxon.C.API/XQueryProcessor.h:13,
531
                 from /opt/saxon/Saxon.C.API/XQueryProcessor.cpp:1:
532
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
533
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
534
 static char tempDllname[] =
535
             ^
536
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
537
 static char tempResources_dir[] = 
538
             ^
539
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
540
 static char * dllname;/*[] =
541
               ^
542
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
543
 static char *resources_dir;/*[] = 
544
              ^
545
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
546
 static int jvmCreated =0;
547
            ^
548
In file included from /opt/saxon/Saxon.C.API/XPathProcessor.h:13:0,
549
                 from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
550
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
551
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
552
   if(i <= exceptions.size()){
553
                           ^
554
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
555
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
556
   if(i <= exceptions.size()){
557
                           ^
558
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
559
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
560
   if(i <= exceptions.size()){
561
                           ^
562
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
563
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
564
   if(i <= exceptions.size()){
565
                           ^
566
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
567
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
568
   if(i <= exceptions.size()){
569
                           ^
570
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
571
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
572
    for(int i =0; i< exceptions.size();i++) {
573
                                     ^
574
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
575
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
576
   if(i <= exceptions.size()){
577
                           ^
578
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
579
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
580
   if(i <= exceptions.size()){
581
                           ^
582
In file included from /opt/saxon/Saxon.C.API/XPathProcessor.h:13:0,
583
                 from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
584
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
585
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
586
 }
587
 ^
588
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
589
                 from /opt/saxon/Saxon.C.API/XPathProcessor.h:13,
590
                 from /opt/saxon/Saxon.C.API/XPathProcessor.cpp:1:
591
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
592
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
593
 static char tempDllname[] =
594
             ^
595
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
596
 static char tempResources_dir[] = 
597
             ^
598
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
599
 static char * dllname;/*[] =
600
               ^
601
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
602
 static char *resources_dir;/*[] = 
603
              ^
604
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
605
 static int jvmCreated =0;
606
            ^
607
In file included from /opt/saxon/Saxon.C.API/SchemaValidator.h:12:0,
608
                 from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
609
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
610
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
611
   if(i <= exceptions.size()){
612
                           ^
613
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
614
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
615
   if(i <= exceptions.size()){
616
                           ^
617
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
618
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
619
   if(i <= exceptions.size()){
620
                           ^
621
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
622
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
623
   if(i <= exceptions.size()){
624
                           ^
625
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
626
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
627
   if(i <= exceptions.size()){
628
                           ^
629
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
630
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
631
    for(int i =0; i< exceptions.size();i++) {
632
                                     ^
633
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
634
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
635
   if(i <= exceptions.size()){
636
                           ^
637
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
638
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
639
   if(i <= exceptions.size()){
640
                           ^
641
In file included from /opt/saxon/Saxon.C.API/SchemaValidator.h:12:0,
642
                 from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
643
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
644
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
645
 }
646
 ^
647
/opt/saxon/Saxon.C.API/SchemaValidator.cpp: In member function ‘XdmNode* SchemaValidator::validateToNode(const char*)’:
648
/opt/saxon/Saxon.C.API/SchemaValidator.cpp:428:1: warning: control reaches end of non-void function [-Wreturn-type]
649
 }
650
 ^
651
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
652
                 from /opt/saxon/Saxon.C.API/SchemaValidator.h:12,
653
                 from /opt/saxon/Saxon.C.API/SchemaValidator.cpp:1:
654
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
655
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
656
 static char tempDllname[] =
657
             ^
658
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
659
 static char tempResources_dir[] = 
660
             ^
661
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
662
 static char * dllname;/*[] =
663
               ^
664
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
665
 static char *resources_dir;/*[] = 
666
              ^
667
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
668
 static int jvmCreated =0;
669
            ^
670
In file included from testXSLT.cpp:3:0:
671
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorCode(int)’:
672
/opt/saxon/Saxon.C.API/SaxonProcessor.h:186:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
673
   if(i <= exceptions.size()){
674
                           ^
675
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘int SaxonApiException::getLineNumber(int)’:
676
/opt/saxon/Saxon.C.API/SaxonProcessor.h:194:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
677
   if(i <= exceptions.size()){
678
                           ^
679
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isGlobalError(int)’:
680
/opt/saxon/Saxon.C.API/SaxonProcessor.h:201:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
681
   if(i <= exceptions.size()){
682
                           ^
683
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isStaticError(int)’:
684
/opt/saxon/Saxon.C.API/SaxonProcessor.h:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
685
   if(i <= exceptions.size()){
686
                           ^
687
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonApiException::isTypeError(int)’:
688
/opt/saxon/Saxon.C.API/SaxonProcessor.h:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
689
   if(i <= exceptions.size()){
690
                           ^
691
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘void SaxonApiException::clear()’:
692
/opt/saxon/Saxon.C.API/SaxonProcessor.h:222:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
693
    for(int i =0; i< exceptions.size();i++) {
694
                                     ^
695
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘const char* SaxonApiException::getErrorMessage(int)’:
696
/opt/saxon/Saxon.C.API/SaxonProcessor.h:240:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
697
   if(i <= exceptions.size()){
698
                           ^
699
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘MyException SaxonApiException::getException(int)’:
700
/opt/saxon/Saxon.C.API/SaxonProcessor.h:252:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
701
   if(i <= exceptions.size()){
702
                           ^
703
In file included from testXSLT.cpp:3:0:
704
/opt/saxon/Saxon.C.API/SaxonProcessor.h: In member function ‘bool SaxonProcessor::registerCPPFunction(char*, JNINativeMethod*)’:
705
/opt/saxon/Saxon.C.API/SaxonProcessor.h:558:1: warning: no return statement in function returning non-void [-Wreturn-type]
706
 }
707
 ^
708
In file included from testXSLT.cpp:7:0:
709
cppExtensionFunction.cpp: In function ‘_jobject* cppNativeCall(JNIEnv*, jobject, jstring, jobjectArray, jobjectArray)’:
710
cppExtensionFunction.cpp:53:15: warning: variable ‘stri’ set but not used [-Wunused-but-set-variable]
711
   const char *stri = NULL;
712
               ^
713
cppExtensionFunction.cpp:54:10: warning: variable ‘dnumber’ set but not used [-Wunused-but-set-variable]
714
   double dnumber = 0;
715
          ^
716
cppExtensionFunction.cpp:55:8: warning: variable ‘lnumber’ set but not used [-Wunused-but-set-variable]
717
   long lnumber = 0;
718
        ^
719
cppExtensionFunction.cpp:56:8: warning: variable ‘bvalue’ set but not used [-Wunused-but-set-variable]
720
   bool bvalue = false;
721
        ^
722
cppExtensionFunction.cpp:57:9: warning: variable ‘fnumber’ set but not used [-Wunused-but-set-variable]
723
   float fnumber = 0;
724
         ^
725
cppExtensionFunction.cpp:61:13: warning: unused variable ‘node’ [-Wunused-variable]
726
   XdmNode * node = NULL;
727
             ^
728
In file included from testXSLT.cpp:7:0:
729
cppExtensionFunction.cpp: At global scope:
730
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘env’ [-Wunused-parameter]
731
 jobject JNICALL cppNativeCall
732
                 ^
733
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘object’ [-Wunused-parameter]
734
cppExtensionFunction.cpp:19:17: warning: unused parameter ‘funcName’ [-Wunused-parameter]
735
In file included from testXSLT.cpp:7:0:
736
cppExtensionFunction.cpp:114:8: warning: unused parameter ‘param1’ [-Wunused-parameter]
737
 string nativeExtensionMethod(char * param1, int number){
738
        ^
739
cppExtensionFunction.cpp:114:8: warning: unused parameter ‘number’ [-Wunused-parameter]
740
testXSLT.cpp:22:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
741
 };
742
 ^
743
testXSLT.cpp:22:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
744
testXSLT.cpp:28:6: warning: unused parameter ‘processor’ [-Wunused-parameter]
745
 void testTransformToString1(SaxonProcessor * processor, XsltProcessor * trans){
746
      ^
747
testXSLT.cpp: In function ‘int exists(const char*)’:
748
testXSLT.cpp:429:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
749
     if (file = fopen(fname, "r"))
750
                                 ^
751
In file included from /opt/saxon/Saxon.C.API/SaxonProcessor.h:34:0,
752
                 from testXSLT.cpp:3:
753
/opt/saxon/Saxon.C.API/SaxonCGlue.h: At global scope:
754
/opt/saxon/Saxon.C.API/SaxonCGlue.h:67:13: warning: ‘tempDllname’ defined but not used [-Wunused-variable]
755
 static char tempDllname[] =
756
             ^
757
/opt/saxon/Saxon.C.API/SaxonCGlue.h:76:13: warning: ‘tempResources_dir’ defined but not used [-Wunused-variable]
758
 static char tempResources_dir[] = 
759
             ^
760
/opt/saxon/Saxon.C.API/SaxonCGlue.h:86:15: warning: ‘dllname’ defined but not used [-Wunused-variable]
761
 static char * dllname;/*[] =
762
               ^
763
/opt/saxon/Saxon.C.API/SaxonCGlue.h:95:14: warning: ‘resources_dir’ defined but not used [-Wunused-variable]
764
 static char *resources_dir;/*[] = 
765
              ^
766
/opt/saxon/Saxon.C.API/SaxonCGlue.h:105:12: warning: ‘jvmCreated’ defined but not used [-Wunused-variable]
767
 static int jvmCreated =0;
768
            ^
    (1-1/1)