RapidXML conflicts with ZLib by defining alloc_func function pointer which is also defined in ZLib but with a differing prototype.
A simple fix would be to rename the alloc_func in this library.
A solution to mitigate the problem is to wrap zlib in a namespace or use a macro to repalce alloc_func with something else.
Log in to post a comment.
A solution to mitigate the problem is to wrap zlib in a namespace or use a macro to repalce alloc_func with something else.