[xml] libxml2 2.9.4 build error with Visual Studio 2005/2008/2010



Hello,

I'm trying to build the last libxml2 version (2.9.4) with an old Visual
Studio version (2005, 2008 and 2010) and I get the following errors:

===

..\relaxng.c(2218) : error C2275: 'xmlChar' : illegal use of this type
as an expression

[snip]

..\xmlschemas.c(3172) : error C2275: 'xmlChar' : illegal use of this
type as an expression

===

It could be easily fixed like illustrated in the attached patch.

If you could have a look...

Best Regards.

Attachment: libxml2-vc2010.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature



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