[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3
Martin v. Löwis added the comment: I opted for conditionalizing it to OpenBSD; it was wrong on Linux, anyway, as _BSD_SOURCE has a different meaning there. Fixed in r59610 and r59611. -- resolution: - fixed status: open - closed __ 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
[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3
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
[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3
Changes by Matthias Klose: -- nosy: +loewis __ 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
[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3
Changes by Christian Heimes: -- assignee: - loewis priority: - high __ 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