MOTHBALLED-graphviz icon indicating copy to clipboard operation
MOTHBALLED-graphviz copied to clipboard

Graphviz aliases memory.h and malloc.h

Open AstralStorm opened this issue 8 years ago • 1 comments

Graphviz is aliasing system headers memory.h and malloc.h.

This causes build failures against libc different than glibc, for example with bionic.

Additionally quite a few source files include <memory.h> while they should be using the graphviz version.

AstralStorm avatar May 23 '17 13:05 AstralStorm

I don’t know what we should do about this, but I’d like to note that according to the contents of the graphviz malloc.h, this aliasing seems to be intentional. Sorry.

graphviz avatar May 25 '17 00:05 graphviz