Re: [xml] [patch] Wrong cast to "xmlHashDeallocator" for "xmlSchemaBucketFree"

2017-07-12 Thread doodad-js Admin
Thanks for replying. > libxml2 has unsafe casts to xmlHashDeallocator all over the place That's possible. > I'm wondering why you're only reporting this single example. That's the only place I've met that bug with Emscripten. It took me some hours to figure out the issue. > Can you open a bug

Re: [xml] [patch] Wrong cast to "xmlHashDeallocator" for "xmlSchemaBucketFree"

2017-07-12 Thread Nick Wellnhofer
On 10/07/2017 21:58, doodad-js Admin wrote: When compiled with Emscripten, another function gets called instead of “xmlSchemaBucketFree”, leading to a bug. That’s because Emscripten has a function table per function signature. See file attachment for the patch. libxml2 has unsafe casts to xmlH