GNOME Bugzilla – Bug 331520
building libxml2 2.6.23 on Solaris
Last modified: 2017-06-14 11:34:58 UTC
Please describe the problem: I've just built libxml2 2.6.18 on Solaris with the Sun ONE Studio 7 compiler. It builds fine as usual, except for a warning you may want fo fix: "xmlschemastypes.c", line 5244: warning: enum type mismatch: arg #2 Function xmlSchemaValidateLengthFacetInternal() is called with argument #2 of type 'xmlSchemaValType' while the prototype expects an 'xmlSchemaTypeType'. There are a few other warnings, but they're already known and can't be worked around for now if I recall correctly. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 59563 [details] build log
Hum, the two enums indicates really different kind of types, that's a bit worrying, mixing them is likely to be buggy, so I'm raising the severity but I'm afraid only Kasimier can really analyze this correctly without too much efforts. thanks for the report ! Daniel
Fixed in 2012 with this commit: https://git.gnome.org/browse/libxml2/commit/?id=aae48e64dfbf2b46b157a4c1857e30645116388f