In fixing #8756, I've upgraded the graph planarity code to the most recent rewrite of John Boyer's planarity code. Unfortunately, the C code has several instances of:

#include <malloc.h>

I just found out that OSX does not like this, where it should apparently either be

#include <malloc/malloc.h>

(or maybe there's no need to even include malloc.h at all.)

Surely this is not the first time this problem has been run into among this crowd. How is this typically dealt with when compiling a C file? Should I make a new include directory in module_list.py (where the appropriate .pyx files are compiled with the C file), or modify the C code to detect OSX, or something else?

Thanks,

Jason

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to