Stephane DROUARD wrote:
> This is because in the latter, Cython generates the #include's in the wrong 
> order:
> #include "bar.h"
> #include "foo.h"

Cython/Pyrex has no way of knowing what the internal dependencies
are between .h files. If one .h file depends on another, it should
#include it itself (with appropriate protection against multiple
inclusion).

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to