[xml] FWIW: libxml2 2.6.11 build warnings



Hi,

For what it's worth, these are warnings I get while building libxml2
2.6.11 with -Wall flag:

uri.c:53:1: warning: "IS_DIGIT" redefined
In file included from include/libxml/DOCBparser.h:18,
                 from elfgcchack.h:16,
                 from libxml.h:56,
                 from uri.c:12:
include/libxml/parserInternals.h:121:1: warning: this is the location of the previous definition

c14n.c: In function `xmlC14NIsNodeInNodeset':
c14n.c:191: warning: dereferencing type-punned pointer will break strict-aliasing rules

libxml.c: In function `libxml_xmlRelaxNGSetValidErrors':
libxml.c:2888: warning: dereferencing type-punned pointer will break strict-aliasing rules
libxml.c: In function `libxml_xmlRelaxNGFreeValidCtxt':
libxml.c:2934: warning: dereferencing type-punned pointer will break strict-aliasing rules

Mike



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]