[Bug 434142] Re: FTBFS with gcc 4.4

SevenMachines SevenMachines at yahoo.co.uk
Wed Dec 9 09:08:44 UTC 2009


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
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list