this seems to be a problem with including png.h after setjmp.h in the
code 'swigged' from pygpiv.i. Python.h is included first, and it
includes setjmp.h, whereas including gpiv.h then draws in png.h, causing
the error.

#include <Python.h> //includes setjmp.h
#include <gpiv.h>     //includes png.h

Reversing the order of the includes 'solves' the problem. or including png.h 
before python. 
essentially, you are not allowed to include png.h if setjmp.h has already been 
included, this is by design apparently

-- 
FTBFS with gcc 4.4
https://bugs.launchpad.net/bugs/434142
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to