Comment 1 for bug 2044786

Revision history for this message
scoder (scoder) wrote :

Thanks for the report. That is annoying, looks like they constified their API a bit more, leading to backward incompatibilities.

The problem is that adapting the code on lxml side would mean that you get the same error/warning with older libxml2 versions, so there is no clean way out. Changing the code to use 'const' might at least turn the error into a warning. We'll see. Maybe an explicit cast might help hiding it, although that always bares the risk of undetected future problems. Annoying, as I wrote…