* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* 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... /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  -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  -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]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/RtmpBAUoRp/R.INSTALL2eaf549993d6/XML/src'
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c DocParse.c -o DocParse.o
In file included from DocParse.c:13:0:
DocParse.c: In function ‘RS_XML_convertXMLDoc’:
Utils.h:12:31: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:235:74: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define ENC_COPY_TO_USER_STRING(x)  CreateCharSexpWithEncoding(encoding, CHAR_TO_XMLCHAR (x)) 
                                                                          ^
DocParse.c:375:60: note: in expansion of macro ‘ENC_COPY_TO_USER_STRING’
     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);
      ^
In file included from DocParse.c:13:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:376:54: note: in expansion of macro ‘COPY_TO_USER_STRING’
     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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:384:38: note: in expansion of macro ‘COPY_TO_USER_STRING’
                                      COPY_TO_USER_STRING(version));
                                      ^
In file included from RSCommon.h:54:0,
                 from DocParse.h:11,
                 from DocParse.c:10:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:385:55: note: in expansion of macro ‘COPY_TO_USER_STRING’
   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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:405:56: note: in expansion of macro ‘COPY_TO_USER_STRING’
   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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:410:28: note: in expansion of macro ‘COPY_TO_USER_STRING’
   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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
DocParse.c: In function ‘RS_XML_createXMLNode’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:615:53: note: in expansion of macro ‘COPY_TO_USER_STRING’
     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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
DocParse.c: In function ‘RS_XML_createNameSpaceIdentifier’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
DocParse.c:768:31: note: in expansion of macro ‘COPY_TO_USER_STRING’
      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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from DocParse.c:13:0:
DocParse.c: In function ‘RS_XML_xmlNodeChildrenReferences’:
Utils.h:12:31: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:235:74: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define ENC_COPY_TO_USER_STRING(x)  CreateCharSexpWithEncoding(encoding, CHAR_TO_XMLCHAR (x)) 
                                                                          ^
DocParse.c:1226:31: note: in expansion of macro ‘ENC_COPY_TO_USER_STRING’
      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);
      ^
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));
                   ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:642:31: note: in definition of macro ‘PROTECT’
 #define PROTECT(s) Rf_protect(s)
                               ^
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c EventParse.c -o EventParse.o
In file included from EventParse.c:15:0:
EventParse.c: In function ‘RS_XML_entityDeclarationHandler’:
Utils.h:12:31: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:235:74: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define ENC_COPY_TO_USER_STRING(x)  CreateCharSexpWithEncoding(encoding, CHAR_TO_XMLCHAR (x)) 
                                                                          ^
EventParse.c:218:45: note: in expansion of macro ‘ENC_COPY_TO_USER_STRING’
    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 
                                     ^
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c ExpatParse.c -o ExpatParse.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c HTMLParse.c -o HTMLParse.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -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
     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/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c RSDTD.c -o RSDTD.o
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_xmlElementTableConverter’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:325:56: note: in expansion of macro ‘COPY_TO_USER_STRING’
  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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_xmlEntityTableConverter’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:399:56: note: in expansion of macro ‘COPY_TO_USER_STRING’
  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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_createDTDEntity’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:434:60: note: in expansion of macro ‘COPY_TO_USER_STRING’
   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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:445:64: note: in expansion of macro ‘COPY_TO_USER_STRING’
    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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:449:64: note: in expansion of macro ‘COPY_TO_USER_STRING’
       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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_createDTDElement’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:491:60: note: in expansion of macro ‘COPY_TO_USER_STRING’
  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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_createDTDElementContents’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:578:71: note: in expansion of macro ‘COPY_TO_USER_STRING’
         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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_createDTDElementAttributes’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:678:33: note: in expansion of macro ‘COPY_TO_USER_STRING’
        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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_createDTDAttribute’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:727:63: note: in expansion of macro ‘COPY_TO_USER_STRING’
   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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792: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) {
               ^
In file included from RSDTD.c:21:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:741:74: note: in expansion of macro ‘COPY_TO_USER_STRING’
     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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from RSDTD.c:21:0:
RSDTD.c: In function ‘RS_XML_AttributeEnumerationList’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
RSDTD.c:779:30: note: in expansion of macro ‘COPY_TO_USER_STRING’
       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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c RUtils.c -o RUtils.o
In file included from /usr/include/libxml2/libxml/xmlIO.h:117:0,
                 from /usr/include/libxml2/libxml/parser.h:811,
                 from Utils.h:17,
                 from RUtils.c:1:
RUtils.c: In function ‘RS_XML_getStructuredErrorHandler’:
/usr/include/libxml2/libxml/globals.h:347:1: warning: ISO C forbids passing argument 1 of ‘R_MakeExternalPtr’ between function pointer and ‘void *’ [-Wpedantic]
 (*(__xmlStructuredError()))
 ^
RUtils.c:293:46: note: in expansion of macro ‘xmlStructuredError’
     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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:864: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:35: 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:72: 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:33: 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:75: 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:29: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792: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:20: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c Rcatalog.c -o Rcatalog.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c Utils.c -o Utils.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c XMLEventParse.c -o XMLEventParse.o
XMLEventParse.c: In function ‘R_processBranch’:
XMLEventParse.c:383:49: 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:19: 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);
   ^
In file included from RSCommon.h:55:0,
                 from EventParse.h:11,
                 from XMLEventParse.c:1:
XMLEventParse.c: In function ‘RS_XML_xmlSAX2StartElementNs’:
XMLEventParse.c:528:72: 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) : "")))); 
                                                                        ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:135:54: note: in definition of macro ‘SET_NAMES’
 #define SET_NAMES(x, n)  setAttrib(x, R_NamesSymbol, n)
                                                      ^
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);
      ^
In file included from RSCommon.h:54:0,
                 from EventParse.h:11,
                 from XMLEventParse.c:1:
XMLEventParse.c: In function ‘RS_XML_xmlSAX2EndElementNs’:
Utils.h:12:31: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:642:31: note: in definition of macro ‘PROTECT’
 #define PROTECT(s) Rf_protect(s)
                               ^
Utils.h:235:74: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define ENC_COPY_TO_USER_STRING(x)  CreateCharSexpWithEncoding(encoding, CHAR_TO_XMLCHAR (x)) 
                                                                          ^
XMLEventParse.c:579:30: note: in expansion of macro ‘ENC_COPY_TO_USER_STRING’
   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:27: 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);
              ^
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/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c XMLHashTree.c -o XMLHashTree.o
In file included from XMLHashTree.c:52:0:
XMLHashTree.c: In function ‘makeHashNode’:
XMLHashTree.c:87:29: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
     SET_NAMES(tmp, mkString(node->ns->prefix));
                             ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:135:54: note: in definition of macro ‘SET_NAMES’
 #define SET_NAMES(x, n)  setAttrib(x, R_NamesSymbol, n)
                                                      ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:1257:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 2 of ‘CreateCharSexpWithEncoding’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:235:74: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define ENC_COPY_TO_USER_STRING(x)  CreateCharSexpWithEncoding(encoding, CHAR_TO_XMLCHAR (x)) 
                                                                          ^
XMLHashTree.c:93:41: note: in expansion of macro ‘ENC_COPY_TO_USER_STRING’
   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:40: 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 /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:1257:7: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:109:34: note: in expansion of macro ‘COPY_TO_USER_STRING’
       SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("value"));
                                  ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:111:34: note: in expansion of macro ‘COPY_TO_USER_STRING’
       SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("namespaceDefinitions"));
                                  ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:120:30: note: in expansion of macro ‘COPY_TO_USER_STRING’
   SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLHashTreeNode"));
                              ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:122:33: note: in expansion of macro ‘COPY_TO_USER_STRING’
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLTextNode")); 
                                 ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:124:33: note: in expansion of macro ‘COPY_TO_USER_STRING’
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLCommentNode")); 
                                 ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:126:33: note: in expansion of macro ‘COPY_TO_USER_STRING’
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLCDataNode")); 
                                 ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:128:33: note: in expansion of macro ‘COPY_TO_USER_STRING’
      SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLPINode")); 
                                 ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
In file included from XMLHashTree.c:55:0:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
XMLHashTree.c:130:30: note: in expansion of macro ‘COPY_TO_USER_STRING’
   SET_STRING_ELT(names, i++, COPY_TO_USER_STRING("XMLNode")); 
                              ^
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:29:0,
                 from XMLHashTree.c:52:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792: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/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c XMLTree.c -o XMLTree.o
In file included from /usr/include/string.h:635:0,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R_ext/RS.h:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
XMLTree.c: In function ‘removeNodeNamespaceByName’:
XMLTree.c:224:55: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
     if(!(id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) ==  0)) {
                                                       ^
XMLTree.c:224:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:55: 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:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:55: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
     if(!(id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) ==  0)) {
                                                       ^
XMLTree.c:224:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:55: 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:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:55: 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:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:224:55: 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:55: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if((!id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) == 0)) {
                                                    ^
XMLTree.c:233:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: 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:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if((!id[0] && !p->prefix) || (p->prefix && strcmp(p->prefix, id) == 0)) {
                                                    ^
XMLTree.c:233:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: 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:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: 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:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:233:52: 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:52: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c: In function ‘RS_XML_removeNodeNamespaces’:
XMLTree.c:308:56: 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)
 ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
XMLTree.c: In function ‘R_insertXMLNode’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:435:18: warning: pointer targets in passing argument 1 of ‘xmlNewText’ differ in signedness [-Wpointer-sign]
 #define CHAR(x)  R_CHAR(x)
                  ^
XMLTree.c:503:23: note: in expansion of macro ‘CHAR’
        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: In function ‘R_newXMLDoc’:
XMLTree.c:743:21: 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,
   ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
XMLTree.c: In function ‘R_convertXMLNsRef’:
XMLTree.c:954:27: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
   PROTECT(ans =  mkString(ns->href));
                           ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:642:31: note: in definition of macro ‘PROTECT’
 #define PROTECT(s) Rf_protect(s)
                               ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:1257:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
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
  val[1] = R_MEMORY_MANAGER_MARKER;
         ^
XMLTree.c: In function ‘RS_XML_printXMLNode’:
XMLTree.c:1456:55: 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:37: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850: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:25: 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,
   ^
XMLTree.c: In function ‘R_xmlNodeValue’:
XMLTree.c:1536:37: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850: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
     xmlDocPtr doc = (xmlDocPtr) r_doc == NULL_USER_OBJECT ? NULL : R_ExternalPtrAddr(r_doc);    
                                       ^
XMLTree.c:1703:58: 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:94: 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,
   ^
In file included from RSCommon.h:54:0,
                 from XMLTree.c:25:
XMLTree.c:1709:28: warning: pointer targets in passing argument 1 of ‘Rf_mkString’ differ in signedness [-Wpointer-sign]
  PROTECT(r_ans =  mkString(ns->href));
                            ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:642:31: note: in definition of macro ‘PROTECT’
 #define PROTECT(s) Rf_protect(s)
                               ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:1257:7: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP  Rf_mkString(const char *);
       ^
In file included from /usr/include/string.h:635:0,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R_ext/RS.h:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from XMLTree.c:25:
XMLTree.c: In function ‘R_getChildByName’:
XMLTree.c:1745:31: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(ptr->name && strcmp(name, ptr->name) == 0)
                               ^
XMLTree.c:1745:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:31: 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:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:31: 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:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:31: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(ptr->name && strcmp(name, ptr->name) == 0)
                               ^
XMLTree.c:1745:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:31: 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:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c:1745:31: 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:31: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
XMLTree.c: In function ‘R_childStringValues’:
XMLTree.c:1790:22: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
XMLTree.c:1797:40: 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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850:6: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
 SEXP Rf_mkCharCE(const char *, cetype_t);
      ^
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c fixNS.c -o fixNS.o
In file included from /usr/include/string.h:635:0,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R_ext/RS.h:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:26,
                 from RSCommon.h:55,
                 from fixNS.c:3:
fixNS.c: In function ‘fixDummyNS’:
fixNS.c:32:21: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
     if(ns && strcmp(ns->href, "<dummy>") == 0)
                     ^
fixNS.c:32:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:21: 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:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:21: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
     if(ns && strcmp(ns->href, "<dummy>") == 0)
                     ^
fixNS.c:32:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:21: 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:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:21: 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:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:32:21: 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:21: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c: In function ‘findNSByPrefix’:
fixNS.c:75:37: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                     ^
fixNS.c:75:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:37: 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:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:37: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                     ^
fixNS.c:75:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:37: 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:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:37: 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:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:37: 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:37: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
fixNS.c:75:50: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
  if(prefix && ptr->prefix && strcmp(ptr->prefix, prefix) == 0)
                                                  ^
fixNS.c:75:50: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c libxmlFeatures.c -o libxmlFeatures.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c schema.c -o schema.o
In file included from schema.c:7:0:
schema.c: In function ‘getKeys’:
Utils.h:12:31: warning: pointer targets in passing argument 1 of ‘Rf_mkChar’ differ in signedness [-Wpointer-sign]
 #define CHAR_TO_XMLCHAR(val)  ((xmlChar *) val)
                               ^
Utils.h:234:40: note: in expansion of macro ‘CHAR_TO_XMLCHAR’
 #define COPY_TO_USER_STRING(x)  mkChar(CHAR_TO_XMLCHAR (x)) 
                                        ^
schema.c:78:37: note: in expansion of macro ‘COPY_TO_USER_STRING’
    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:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:792:6: note: expected ‘const char *’ but argument is of type ‘xmlChar *’
 SEXP Rf_mkChar(const char *);
      ^
schema.c: In function ‘R_libxmlTypeTable_lookup’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:435:18: warning: pointer targets in passing argument 2 of ‘xmlHashLookup’ differ in signedness [-Wpointer-sign]
 #define CHAR(x)  R_CHAR(x)
                  ^
RSCommon.h:140:27: note: in expansion of macro ‘CHAR’
   #define CHAR_DEREF(x)   CHAR((x))
                           ^
schema.c:122:25: note: in expansion of macro ‘CHAR_DEREF’
    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/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c xmlsecurity.c -o xmlsecurity.o
gcc -std=gnu99 -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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 -O3 -Wall -Wno-unused -pedantic -mtune=native -c xpath.c -o xpath.o
In file included from RSCommon.h:55:0,
                 from Utils.h:9,
                 from xpath.c:3:
xpath.c: In function ‘convertNodeSetToR’:
xpath.c:36:41: warning: pointer targets in passing argument 1 of ‘Rf_mkCharCE’ differ in signedness [-Wpointer-sign]
    SET_NAMES(ref, ScalarString(mkCharCE(el->name, encoding)));
                                         ^
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rdefines.h:135:54: note: in definition of macro ‘SET_NAMES’
 #define SET_NAMES(x, n)  setAttrib(x, R_NamesSymbol, n)
                                                      ^
In file included from RS_XML.h:32:0,
                 from xpath.c:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:850: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/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -L/usr/local/lib -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 -lxml2 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpBAUoRp/R.INSTALL2eaf549993d6/XML/src'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/RtmpBAUoRp/R.INSTALL2eaf549993d6/XML/src'
make[1]: Leaving directory '/tmp/RtmpBAUoRp/R.INSTALL2eaf549993d6/XML/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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)