New submission from Matthias Klose: as seen in the logs from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455400
both pyconfig.h and png.h define _BSD_SOURCE, which leads to a build failure with current GCC from the trunk, when both headers are included by an extension. Either define it only on OpenBSD, or undefine it if it is already defined (but pyconfig.h.in is autogenerated). ------------------------------------------------------------------------ r56635 | martin.v.loewis | 2007-07-31 21:54:20 +0200 (Tue, 31 Jul 2007) | 2 lines Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+. ---------- components: Build messages: 58991 nosy: doko severity: normal status: open title: unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3 type: compile error versions: Python 2.5, Python 2.6 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1699> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com