* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove 'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... /usr/bin/xml2-config
USE_XML2 = yes
SED_EXTENDED_ARG: -E
Minor 9, Patch 1 for 2.9.1
Located parser file -I/usr/include/libxml2/parser.h
Checking for 1.8:  -I/usr/include/libxml2
Using libxml2.*
checking for gzopen in -lz... yes
checking for xmlParseFile in -lxml2... yes
checking for xmlHashSize in -lxml2... yes
Using built-in xmlHashSize
Checking DTD parsing (presence of externalSubset)...
checking for xmlHashSize in -lxml2... yes
Found xmlHashSize
checking for xmlOutputBufferCreateBuffer in -lxml2... yes
have xmlOutputBufferCreateBuffer()
checking for xmlDocDumpFormatMemoryEnc in -lxml2... yes
checking libxml/xmlversion.h usability... yes
checking libxml/xmlversion.h presence... yes
checking for libxml/xmlversion.h... yes
Expat:  FALSE
Checking for return type of xmlHashScan element routine.
No return value for xmlHashScan
xmlNs has a context field
Checking for cetype_t enumeration
Using recent version of R with cetype_t enumeration type for encoding
checking for xmlsec1-config... no
nodegc default 
xml-debug default 
Version has XML_WITH_ZLIB
Version has xmlHasFeature()

****************************************
Configuration information:

Libxml settings

libxml include directory: -I/usr/include/libxml2
libxml library directory: -lxml2 -lz -lm -ldl -lz  -lxml2
libxml 2:                 -DLIBXML2=1

Compilation flags:         -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1 
Link flags:               -lxml2 -lz -lm -ldl -lz  -lxml2

****************************************
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating R/supports.R
config.status: creating inst/scripts/RSXML.csh
config.status: creating inst/scripts/RSXML.bsh
** libs
make[1]: Entering directory `/data/gannet/ripley/R/packages/tests-devel/XML/src'
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c DocParse.c -o DocParse.o
DocParse.c: In function ‘RS_XML_convertXMLDoc’:
DocParse.c:375:5: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
     SET_STRING_ELT(VECTOR_ELT(rdoc, FILE_ELEMENT_NAME), 0, ENC_COPY_TO_USER_STRING(doc->name ? XMLCHAR_TO_CHAR(doc->name) : fileName));
     ^
In file included from DocParse.c:13:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
DocParse.c:376:5: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
     SET_STRING_ELT(rdoc_el_names, FILE_ELEMENT_NAME, COPY_TO_USER_STRING("file"));
     ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c:384:38: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
                                      COPY_TO_USER_STRING(version));
                                      ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c:385:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(rdoc_el_names, VERSION_ELEMENT_NAME, COPY_TO_USER_STRING("version"));
   ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c:405:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(rdoc_el_names, CHILDREN_ELEMENT_NAME, COPY_TO_USER_STRING("children"));
   ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c:410:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(klass, 0, COPY_TO_USER_STRING("XMLDocumentContent"));
   ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c: In function ‘RS_XML_createXMLNode’:
DocParse.c:615:5: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
     SET_STRING_ELT(ans_el_names, NUM_NODE_ELEMENTS, COPY_TO_USER_STRING("value"));
     ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c: In function ‘RS_XML_createNameSpaceIdentifier’:
DocParse.c:768:6: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(klass, 0, COPY_TO_USER_STRING("XMLNamespaceDefinition"));
      ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
DocParse.c: In function ‘RS_XML_xmlNodeChildrenReferences’:
DocParse.c:1226:6: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i, ENC_COPY_TO_USER_STRING(ptr->name ? XMLCHAR_TO_CHAR(ptr->name) : ""));
      ^
In file included from DocParse.c:13:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
DocParse.c: In function ‘RS_XML_xmlXIncludeProcessTreeFlags’:
DocParse.c:1351:22: warning: variable ‘parent’ set but not used [-Wunused-but-set-variable]
     xmlNodePtr prev, parent;
                      ^
DocParse.c:1351:16: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable]
     xmlNodePtr prev, parent;
                ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
DocParse.c: In function ‘addXInclude’:
DocParse.c:1593:19: warning: operation on ‘*ans’ may be undefined [-Wsequence-point]
      PROTECT(*ans = SET_LENGTH(*ans, len));
                   ^
/data/gannet/ripley/R/R-devel/include/Rinternals.h:652:31: note: in definition of macro ‘PROTECT’
 #define PROTECT(s) Rf_protect(s)
                               ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c EventParse.c -o EventParse.o
EventParse.c: In function ‘RS_XML_entityDeclarationHandler’:
EventParse.c:218:4: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
    SET_STRING_ELT(VECTOR_ELT(opArgs, i), 0, ENC_COPY_TO_USER_STRING(xml_args[i] ? xml_args[i] :  "")); 
    ^
In file included from EventParse.c:15:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
EventParse.c: In function ‘RS_XML_textHandler’:
EventParse.c:405:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  tmp = strdup("");
      ^
EventParse.c:419:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if(s == (XML_Char*)NULL || s[0] == (XML_Char)NULL || len == 0 
                                     ^
EventParse.c: In function ‘RS_XML_callUserFunction’:
EventParse.c:492:7: warning: variable ‘general’ set but not used [-Wunused-but-set-variable]
   int general = 0;
       ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c ExpatParse.c -o ExpatParse.o
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c HTMLParse.c -o HTMLParse.o
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c NodeGC.c -o NodeGC.o
In file included from NodeGC.c:31:0:
NodeGC.c: In function ‘R_xmlFreeDoc’:
NodeGC.h:14:151: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_DOC_TO_TOUCH(doc) (doc->_private == NULL || (doc->_private && doc->_private == &R_XML_NoMemoryMgmt) || ((int*)doc->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                       ^
NodeGC.c:40:14: note: in expansion of macro ‘IS_NOT_OUR_DOC_TO_TOUCH’
   if(doc && !IS_NOT_OUR_DOC_TO_TOUCH(doc)) {
              ^
NodeGC.c: In function ‘initDocRefCounter’:
NodeGC.c:178:12: warning: assignment makes integer from pointer without a cast [enabled by default]
     val[1] = R_MEMORY_MANAGER_MARKER;
            ^
In file included from NodeGC.c:31:0:
NodeGC.c: In function ‘incrementDocRefBy’:
NodeGC.h:14:151: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_DOC_TO_TOUCH(doc) (doc->_private == NULL || (doc->_private && doc->_private == &R_XML_NoMemoryMgmt) || ((int*)doc->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                       ^
NodeGC.c:185:16: note: in expansion of macro ‘IS_NOT_OUR_DOC_TO_TOUCH’
     if(!doc || IS_NOT_OUR_DOC_TO_TOUCH(doc))
                ^
NodeGC.c: In function ‘getNodeCount’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
NodeGC.c:213:15: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
   if(!node || IS_NOT_OUR_NODE_TO_TOUCH(node))
               ^
NodeGC.c: In function ‘internal_incrementNodeRefCount’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
NodeGC.c:229:17: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
     if(!node || IS_NOT_OUR_NODE_TO_TOUCH(node) || !node->_private)
                 ^
NodeGC.c: In function ‘R_getXMLRefCount’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
NodeGC.c:240:17: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
     if(!node || IS_NOT_OUR_NODE_TO_TOUCH(node) || !node->_private)
                 ^
NodeGC.c: In function ‘checkDescendantsInR’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
NodeGC.c:249:29: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
     if(!node && (process || IS_NOT_OUR_NODE_TO_TOUCH(node)))
                             ^
NodeGC.c: In function ‘internal_decrementNodeRefCount’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
NodeGC.c:269:17: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
     if(!node || IS_NOT_OUR_NODE_TO_TOUCH(node))
                 ^
NodeGC.h:14:151: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_DOC_TO_TOUCH(doc) (doc->_private == NULL || (doc->_private && doc->_private == &R_XML_NoMemoryMgmt) || ((int*)doc->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                       ^
NodeGC.c:307:19: note: in expansion of macro ‘IS_NOT_OUR_DOC_TO_TOUCH’
  if(node->doc && !IS_NOT_OUR_DOC_TO_TOUCH(node->doc)) {
                   ^
NodeGC.c: In function ‘clearNodeMemoryManagement’:
NodeGC.c:385:99: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int isOurs = (a = node->_private != &R_XML_NoMemoryMgmt) && (b = ((int *)(node->_private))[1] == (int) &R_XML_MemoryMgrMarker);
                                                                                                   ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c RSDTD.c -o RSDTD.o
RSDTD.c: In function ‘RS_xmlElementTableConverter’:
RSDTD.c:325:2: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
  SET_STRING_ELT(scanData->dtdNames, scanData->counter, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(name)));
  ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_xmlEntityTableConverter’:
RSDTD.c:399:2: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
  SET_STRING_ELT(scanData->dtdNames, scanData->counter, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(name)));
  ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_createDTDEntity’:
RSDTD.c:434:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(VECTOR_ELT(ans, DTD_ENTITY_NAME_SLOT), 0, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(entity->name)));
   ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c:445:4: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
    SET_STRING_ELT(VECTOR_ELT(ans, DTD_ENTITY_CONTENT_SLOT), 0, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(value)));
    ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c:449:7: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
       SET_STRING_ELT(VECTOR_ELT(ans, DTD_ENTITY_ORIG_SLOT), 0, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(entity->orig)));
       ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_createDTDElement’:
RSDTD.c:491:2: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
  SET_STRING_ELT(VECTOR_ELT(rel, DTD_ELEMENT_NAME_SLOT), 0, COPY_TO_USER_STRING( XMLCHAR_TO_CHAR( ( el->name ? el->name : (xmlChar*)""))));
  ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_createDTDElementContents’:
RSDTD.c:578:9: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
         SET_STRING_ELT(VECTOR_ELT(ans, DTD_CONTENT_ELEMENTS_SLOT), 0, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(vals->name)));
         ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_createDTDElementAttributes’:
RSDTD.c:678:8: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
        SET_STRING_ELT(names, i, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(tmp->name)));
        ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_createDTDAttribute’:
RSDTD.c:727:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(VECTOR_ELT(ans, DTD_ATTRIBUTE_NAME_SLOT), 0, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(val->name)));
   ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c:737:15: warning: comparison between ‘xmlElementType’ and ‘enum <anonymous>’ [-Wenum-compare]
  if(val->type == XML_ATTRIBUTE_ENUMERATION) {
               ^
RSDTD.c:741:5: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
     SET_STRING_ELT(VECTOR_ELT(ans, DTD_ATTRIBUTE_DEFAULT_VALUE_SLOT), 0, COPY_TO_USER_STRING( XMLCHAR_TO_CHAR( (val->defaultValue ? val->defaultValue : (xmlChar*)""))));
     ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RSDTD.c: In function ‘RS_XML_AttributeEnumerationList’:
RSDTD.c:779:7: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
       SET_STRING_ELT(ans, i, COPY_TO_USER_STRING(XMLCHAR_TO_CHAR(tmp->name)));
       ^
In file included from RSCommon.h:54:0,
                 from RSDTD.h:9,
                 from RSDTD.c:13:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c RUtils.c -o RUtils.o
RUtils.c: In function ‘RS_XML_getStructuredErrorHandler’:
RUtils.c:293:5: warning: ISO C forbids passing argument 1 of ‘R_MakeExternalPtr’ between function pointer and ‘void *’ [-Wpedantic]
     SET_VECTOR_ELT(ans, 1, R_MakeExternalPtr(xmlStructuredError, Rf_install("xmlStructuredErrorFunc"), R_NilValue));
     ^
In file included from RS_XML.h:32:0,
                 from Utils.h:8,
                 from RUtils.c:1:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:892:6: note: expected ‘void *’ but argument is of type ‘xmlStructuredErrorFunc’
 SEXP R_MakeExternalPtr(void *p, SEXP tag, SEXP prot);
      ^
RUtils.c: In function ‘RS_XML_setStructuredErrorHandler’:
RUtils.c:326:44: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
     handler = (sym == R_NilValue) ? NULL : (xmlStructuredErrorFunc) R_ExternalPtrAddr(sym);
                                            ^
RUtils.c: In function ‘CreateCharSexpWithEncoding’:
RUtils.c:343:5: warning: pointer targets in passing argument 2 of ‘xmlStrcmp’ differ in signedness [-Wpointer-sign]
     } else if(xmlStrcmp(encoding, "UTF-8") == 0 || xmlStrcmp(encoding, "utf-8") == 0)
     ^
In file included from /usr/include/libxml2/libxml/tree.h:18:0,
                 from /usr/include/libxml2/libxml/parser.h:16,
                 from Utils.h:17,
                 from RUtils.c:1:
/usr/include/libxml2/libxml/xmlstring.h:64:17: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
                 xmlStrcmp                (const xmlChar *str1,
                 ^
RUtils.c:343:5: warning: pointer targets in passing argument 2 of ‘xmlStrcmp’ differ in signedness [-Wpointer-sign]
     } else if(xmlStrcmp(encoding, "UTF-8") == 0 || xmlStrcmp(encoding, "utf-8") == 0)
     ^
In file included from /usr/include/libxml2/libxml/tree.h:18:0,
                 from /usr/include/libxml2/libxml/parser.h:16,
                 from Utils.h:17,
                 from RUtils.c:1:
/usr/include/libxml2/libxml/xmlstring.h:64:17: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
                 xmlStrcmp                (const xmlChar *str1,
                 ^
RUtils.c:345:5: warning: pointer targets in passing argument 2 of ‘xmlStrcmp’ differ in signedness [-Wpointer-sign]
     else if(xmlStrcmp(encoding, "ISO-8859-1") == 0 || xmlStrcmp(encoding, "iso-8859-1") == 0)
     ^
In file included from /usr/include/libxml2/libxml/tree.h:18:0,
                 from /usr/include/libxml2/libxml/parser.h:16,
                 from Utils.h:17,
                 from RUtils.c:1:
/usr/include/libxml2/libxml/xmlstring.h:64:17: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
                 xmlStrcmp                (const xmlChar *str1,
                 ^
RUtils.c:345:5: warning: pointer targets in passing argument 2 of ‘xmlStrcmp’ differ in signedness [-Wpointer-sign]
     else if(xmlStrcmp(encoding, "ISO-8859-1") == 0 || xmlStrcmp(encoding, "iso-8859-1") == 0)
     ^
In file included from /usr/include/libxml2/libxml/tree.h:18:0,
                 from /usr/include/libxml2/libxml/parser.h:16,
                 from Utils.h:17,
                 from RUtils.c:1:
/usr/include/libxml2/libxml/xmlstring.h:64:17: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
                 xmlStrcmp                (const xmlChar *str1,
                 ^
RUtils.c:348:2: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
  str = translateChar(mkChar(str));
  ^
In file included from RS_XML.h:32:0,
                 from Utils.h:8,
                 from RUtils.c:1:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
RUtils.c:348:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  str = translateChar(mkChar(str));
      ^
RUtils.c:351:5: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
     ans = mkCharCE(str, enc);
     ^
In file included from RS_XML.h:32:0,
                 from Utils.h:8,
                 from RUtils.c:1:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c Rcatalog.c -o Rcatalog.o
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c Utils.c -o Utils.o
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c XMLEventParse.c -o XMLEventParse.o
XMLEventParse.c: In function ‘R_processBranch’:
XMLEventParse.c:383:13: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign]
             xmlSetProp(node, xmlStrdup(ptr[0]), getPropertyValue(ptr));
             ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from EventParse.h:23,
                 from XMLEventParse.c:1:
/usr/include/libxml2/libxml/tree.h:1008:3: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
   xmlSetProp  (xmlNodePtr node,
   ^
XMLEventParse.c: In function ‘R_endBranch’:
XMLEventParse.c:442:3: warning: pointer targets in passing argument 1 of ‘xmlNewDoc’ differ in signedness [-Wpointer-sign]
   doc = xmlNewDoc("1.0");
   ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from EventParse.h:23,
                 from XMLEventParse.c:1:
/usr/include/libxml2/libxml/tree.h:775:3: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
   xmlNewDoc  (const xmlChar *version);
   ^
XMLEventParse.c: In function ‘RS_XML_xmlSAX2StartElementNs’:
XMLEventParse.c:528:6: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
      SET_NAMES(tmp, ScalarString(CreateCharSexpWithEncoding(encoding,  ( (void*)prefix ? XMLCHAR_TO_CHAR(prefix) : "")))); 
      ^
In file included from XMLEventParse.c:5:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
XMLEventParse.c: In function ‘RS_XML_xmlSAX2EndElementNs’:
XMLEventParse.c:579:3: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
   PROTECT(tmp = ScalarString(ENC_COPY_TO_USER_STRING((XMLCHAR_TO_CHAR(URI)) ? XMLCHAR_TO_CHAR(URI) : ""))); 
   ^
In file included from XMLEventParse.c:5:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
XMLEventParse.c:584:3: warning: pointer targets in passing argument 1 of ‘findEndElementFun’ differ in signedness [-Wpointer-sign]
   fun = findEndElementFun(localname, rinfo);
   ^
In file included from XMLEventParse.c:1:0:
EventParse.h:178:14: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 USER_OBJECT_ findEndElementFun(const char *name, RS_XMLParserData *rinfo);
              ^
In file included from EventParse.h:12:0,
                 from XMLEventParse.c:1:
XMLEventParse.c: At top level:
RS_XML.h:8:19: warning: ‘RS_XML_xmlSAX2StartDocument’ defined but not used [-Wunused-function]
 #define RS_XML(a) RS_XML_##a
                   ^
XMLEventParse.c:597:1: note: in expansion of macro ‘RS_XML’
 RS_XML(xmlSAX2StartDocument)(void *userData)
 ^
XMLEventParse.c: In function ‘RS_XML_readConnectionInput’:
XMLEventParse.c:181:23: warning: ‘arg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      INTEGER_DATA(arg)[0] = left;
                       ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c XMLHashTree.c -o XMLHashTree.o
XMLHashTree.c: In function ‘makeHashNode’:
XMLHashTree.c:87:5: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
     SET_NAMES(tmp, mkString(node->ns->prefix));
     ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:1304:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
XMLHashTree.c:93:3: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
   SET_VECTOR_ELT(ans, i++, ScalarString(ENC_COPY_TO_USER_STRING(node->ns && node->ns->prefix ? XMLCHAR_TO_CHAR(node->ns->prefix) : "")));
   ^
In file included from XMLHashTree.c:55:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
XMLHashTree.c:99:6: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
      SET_VECTOR_ELT(ans, i++, mkString(node->content));
      ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:1304:7: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
XMLHashTree.c:109:7: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
       SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("value"));
       ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:111:7: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
       SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("namespaceDefinitions"));
       ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:120:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLHashTreeNode"));
   ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:122:6: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLTextNode")); 
      ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:124:6: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLCommentNode")); 
      ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:126:6: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLCDataNode")); 
      ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:128:6: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLPINode")); 
      ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c:130:3: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
   SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLNode")); 
   ^
In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
XMLHashTree.c: In function ‘collectChildNodes’:
XMLHashTree.c:165:6: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘xmlNodePtr’ [-Wformat=]
      SET_NODE_NAME(buf, *ctr + 1,  node);
      ^
XMLHashTree.c: In function ‘processNode’:
XMLHashTree.c:191:3: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘xmlNodePtr’ [-Wformat=]
   SET_NODE_NAME(id, curId, root);
   ^
XMLHashTree.c:204:6: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘xmlNodePtr’ [-Wformat=]
      SET_NODE_NAME(id, curId, root);
      ^
XMLHashTree.c:205:6: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘xmlNodePtr’ [-Wformat=]
      SET_NODE_NAME(buf, parentId, parent);
      ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c XMLTree.c -o XMLTree.o
XMLTree.c: In function ‘removeNodeNamespaceByName’:
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
     if(!(id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) ==  0)) {
     ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
     if(!(id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) ==  0)) {
     ^
XMLTree.c:224:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
     if(!(id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) ==  0)) {
     ^
XMLTree.c:224:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:224:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:224:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
  if((!id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) == 0)) {
  ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if((!id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) == 0)) {
  ^
XMLTree.c:233:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if((!id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) == 0)) {
  ^
XMLTree.c:233:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:233:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:233:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c: In function ‘RS_XML_removeNodeNamespaces’:
XMLTree.c:308:6: warning: pointer targets in passing argument 2 of ‘removeNodeNamespaceByName’ differ in signedness [-Wpointer-sign]
      LOGICAL(ans)[i] = removeNodeNamespaceByName(node, p->prefix);
      ^
XMLTree.c:216:1: note: expected ‘const char * const’ but argument is of type ‘const xmlChar *’
 removeNodeNamespaceByName(xmlNodePtr node, const char * const id)
 ^
XMLTree.c: In function ‘R_insertXMLNode’:
XMLTree.c:503:8: warning: pointer targets in passing argument 1 of ‘xmlNewText’ differ in signedness [-Wpointer-sign]
        n = xmlNewText(CHAR(STRING_ELT(node, i)));
        ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from /usr/include/libxml2/libxml/parserInternals.h:16,
                 from XMLTree.c:33:
/usr/include/libxml2/libxml/tree.h:848:3: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
   xmlNewText  (const xmlChar *content);
   ^
XMLTree.c:483:22: warning: variable ‘check’ set but not used [-Wunused-but-set-variable]
     xmlNodePtr n, p, check, tmp = NULL;
                      ^
XMLTree.c: In function ‘R_newXMLDoc’:
XMLTree.c:743:4: warning: pointer targets in passing argument 1 of ‘htmlNewDoc’ differ in signedness [-Wpointer-sign]
    doc = htmlNewDoc("", NULL);
    ^
In file included from XMLTree.c:35:0:
/usr/include/libxml2/libxml/HTMLtree.h:63:3: note: expected ‘const xmlChar *’ but argument is of type ‘char *’
   htmlNewDoc  (const xmlChar *URI,
   ^
XMLTree.c: In function ‘R_convertXMLNsRef’:
XMLTree.c:954:3: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
   PROTECT(ans =  mkString(ns->href));
   ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:1304:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
XMLTree.c:944:8: warning: unused variable ‘ref’ [-Wunused-variable]
   SEXP ref, ans;
        ^
In file included from XMLTree.c:42:0:
XMLTree.c: In function ‘R_createXMLNodeRefDirect’:
NodeGC.h:15:182: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_NODE_TO_TOUCH(node) ((node->_private == NULL) || (node->doc && node->doc->_private && node->doc->_private == &R_XML_NoMemoryMgmt) || ((int*)node->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                                                      ^
XMLTree.c:1057:48: note: in expansion of macro ‘IS_NOT_OUR_NODE_TO_TOUCH’
   if(addFinalizer > 0 || (addFinalizer < 0 && !IS_NOT_OUR_NODE_TO_TOUCH(node))) {
                                                ^
XMLTree.c: In function ‘R_createXMLNodeRef’:
XMLTree.c:1098:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   if(addFinalizer && ((node->_private && ((int*)node->_private)[1] == (int) R_MEMORY_MANAGER_MARKER)
                                                                       ^
In file included from XMLTree.c:42:0:
NodeGC.h:14:151: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define IS_NOT_OUR_DOC_TO_TOUCH(doc) (doc->_private == NULL || (doc->_private && doc->_private == &R_XML_NoMemoryMgmt) || ((int*)doc->_private)[1] != (int) R_MEMORY_MANAGER_MARKER)
                                                                                                                                                       ^
XMLTree.c:1099:29: note: in expansion of macro ‘IS_NOT_OUR_DOC_TO_TOUCH’
         || !node->doc || (!(IS_NOT_OUR_DOC_TO_TOUCH(node->doc))))) {
                             ^
XMLTree.c:1103:9: warning: assignment makes integer from pointer without a cast [enabled by default]
  val[1] = R_MEMORY_MANAGER_MARKER;
         ^
XMLTree.c: In function ‘R_addXMLNodeFinalizer’:
XMLTree.c:1128:15: warning: unused variable ‘node’ [-Wunused-variable]
    xmlNodePtr node = (xmlNodePtr) R_ExternalPtrAddr(r_node);
               ^
XMLTree.c: In function ‘RS_XML_printXMLNode’:
XMLTree.c:1456:9: warning: pointer targets in passing argument 1 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
         ans = ScalarString(CreateCharSexpWithEncoding(encoding, xbuf->content));
         ^
In file included from XMLTree.c:40:0:
Utils.h:220:6: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
 SEXP CreateCharSexpWithEncoding(const xmlChar *encoding, const xmlChar *str);
      ^
XMLTree.c:1458:9: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
         ans = ScalarString(mkCharCE(xbuf->content, INTEGER(r_encoding_int)[0]));
         ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
XMLTree.c: In function ‘R_setXMLInternalTextNode_value’:
XMLTree.c:1495:4: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign]
    xmlNodeSetContent(n, str);
    ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from /usr/include/libxml2/libxml/parserInternals.h:16,
                 from XMLTree.c:33:
/usr/include/libxml2/libxml/tree.h:1052:3: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
   xmlNodeSetContent (xmlNodePtr cur,
   ^
In file included from XMLTree.c:40:0:
Utils.h:222:56: warning: unused variable ‘encoding’ [-Wunused-variable]
 #define DECL_ENCODING_FROM_NODE(node)   const xmlChar *encoding = node->doc ? node->doc->encoding : NULL;
                                                        ^
XMLTree.c:1487:4: note: in expansion of macro ‘DECL_ENCODING_FROM_NODE’
    DECL_ENCODING_FROM_NODE(n)
    ^
XMLTree.c: In function ‘R_xmlNodeValue’:
XMLTree.c:1536:9: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
         ans = ScalarString(mkCharCE(tmp, INTEGER(r_encoding)[0]));
         ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
XMLTree.c: In function ‘R_xmlSearchNs’:
XMLTree.c:1695:39: warning: comparison of distinct pointer types lacks a cast [enabled by default]
     xmlDocPtr doc = (xmlDocPtr) r_doc == NULL_USER_OBJECT ? NULL : R_ExternalPtrAddr(r_doc);    
                                       ^
XMLTree.c:1703:5: warning: pointer targets in passing argument 3 of ‘xmlSearchNs’ differ in signedness [-Wpointer-sign]
     ns = LOGICAL(r_asPrefix)[0] ? xmlSearchNs(doc, node, val) : xmlSearchNsByHref(doc, node, val);
     ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from /usr/include/libxml2/libxml/parserInternals.h:16,
                 from XMLTree.c:33:
/usr/include/libxml2/libxml/tree.h:982:3: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
   xmlSearchNs  (xmlDocPtr doc,
   ^
XMLTree.c:1703:5: warning: pointer targets in passing argument 3 of ‘xmlSearchNsByHref’ differ in signedness [-Wpointer-sign]
     ns = LOGICAL(r_asPrefix)[0] ? xmlSearchNs(doc, node, val) : xmlSearchNsByHref(doc, node, val);
     ^
In file included from /usr/include/libxml2/libxml/parser.h:16:0,
                 from /usr/include/libxml2/libxml/parserInternals.h:16,
                 from XMLTree.c:33:
/usr/include/libxml2/libxml/tree.h:986:3: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
   xmlSearchNsByHref (xmlDocPtr doc,
   ^
XMLTree.c:1709:2: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
  PROTECT(r_ans =  mkString(ns->href));
  ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:1304:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
XMLTree.c: In function ‘R_getChildByIndex’:
XMLTree.c:1720:22: warning: unused variable ‘parent’ [-Wunused-variable]
     xmlNodePtr node, parent, ptr;
                      ^
XMLTree.c: In function ‘R_getChildByName’:
XMLTree.c:1745:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
  if(ptr->name && strcmp(name, ptr->name) == 0)
  ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:1745:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(ptr->name && strcmp(name, ptr->name) == 0)
  ^
XMLTree.c:1745:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:1745:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
XMLTree.c:1745:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(ptr->name && strcmp(name, ptr->name) == 0)
  ^
XMLTree.c:1745:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
XMLTree.c:1745:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1739:16: warning: unused variable ‘idx’ [-Wunused-variable]
     int i = 0, idx;
                ^
XMLTree.c:1739:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i = 0, idx;
         ^
XMLTree.c:1738:22: warning: unused variable ‘parent’ [-Wunused-variable]
     xmlNodePtr node, parent, ptr;
                      ^
XMLTree.c: In function ‘R_childStringValues’:
XMLTree.c:1790:2: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
  SEXP val = mkCharCE(tmp, encoding);
  ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
XMLTree.c:1797:6: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
      SET_STRING_ELT(names, i, mkCharCE(kid->name, encoding));
      ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c fixNS.c -o fixNS.o
fixNS.c: In function ‘fixDummyNS’:
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
     if(ns && strcmp(ns->href, "<dummy>") == 0)
     ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
     if(ns && strcmp(ns->href, "<dummy>") == 0)
     ^
fixNS.c:32:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
     if(ns && strcmp(ns->href, "<dummy>") == 0)
     ^
fixNS.c:32:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:32:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:32:5: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c: In function ‘findNSByPrefix’:
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
  ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
  ^
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
  ^
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
  ^
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:26:0,
                 from /data/gannet/ripley/R/R-devel/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 extern size_t strlen (const char *__s)
               ^
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
  ^
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:2: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
fixNS.c:75:2: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c libxmlFeatures.c -o libxmlFeatures.o
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c schema.c -o schema.o
schema.c: In function ‘getKeys’:
schema.c:78:4: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
    SET_STRING_ELT(d->names, d->pos, COPY_TO_USER_STRING(name));
    ^
In file included from RS_XML.h:32:0,
                 from schema.c:1:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:816:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
schema.c: In function ‘R_libxmlTypeTable_lookup’:
schema.c:122:4: warning: pointer targets in passing argument 2 of ‘xmlHashLookup’ differ in signedness [-Wpointer-sign]
    p = xmlHashLookup(t, CHAR_DEREF(STRING_ELT(name, 0)));
    ^
In file included from /usr/include/libxml2/libxml/parser.h:18:0,
                 from schema.c:3:
/usr/include/libxml2/libxml/hash.h:170:4: note: expected ‘const xmlChar *’ but argument is of type ‘const char *’
    xmlHashLookup (xmlHashTablePtr table,
    ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c xmlsecurity.c -o xmlsecurity.o
xmlsecurity.c:32:12: warning: ‘foo’ defined but not used [-Wunused-variable]
 static int foo;
            ^
gcc -std=gnu99 -I/data/gannet/ripley/R/R-devel/include -DNDEBUG -DLIBXML -I/usr/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1 -DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DNO_XML_MEMORY_SHOW_ROUTINE=1 -DUSE_R=1 -D_R_=1  -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1  -I. -DLIBXML2=1 -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native  -c xpath.c -o xpath.o
xpath.c: In function ‘convertNodeSetToR’:
xpath.c:36:4: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
    SET_NAMES(ref, ScalarString(mkCharCE(el->name, encoding)));
    ^
In file included from RS_XML.h:32:0,
                 from xpath.c:1:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:878:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
xpath.c: In function ‘R_addXMLInternalDocument_finalizer’:
xpath.c:169:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  action = (R_CFinalizer_t) R_ExternalPtrAddr(fun);
           ^
gcc -std=gnu99 -shared -L/usr/local/lib64 -o XML.so DocParse.o EventParse.o ExpatParse.o HTMLParse.o NodeGC.o RSDTD.o RUtils.o Rcatalog.o Utils.o XMLEventParse.o XMLHashTree.o XMLTree.o fixNS.o libxmlFeatures.o schema.o xmlsecurity.o xpath.o -lxml2 -lz -lm -ldl -lz -lxml2
make[1]: Leaving directory `/data/gannet/ripley/R/packages/tests-devel/XML/src'
make[1]: Entering directory `/data/gannet/ripley/R/packages/tests-devel/XML/src'
make[1]: Leaving directory `/data/gannet/ripley/R/packages/tests-devel/XML/src'
installing to /data/gannet/ripley/R/packages/tests-devel/XML.Rcheck/XML/libs
** R
** inst
** preparing package for lazy loading
Creating a generic function for ‘source’ from package ‘base’ in package ‘XML’
in method for ‘xmlAttrsToDataFrame’ with signature ‘"AsIs"’: no definition for class “AsIs”
in method for ‘readKeyValueDB’ with signature ‘"AsIs"’: no definition for class “AsIs”
in method for ‘readSolrDoc’ with signature ‘"AsIs"’: no definition for class “AsIs”
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (XML)