From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#17429: 24.4.50; __pngconf.h__ in libpng already includes setjmp.h Date: Wed, 07 May 2014 08:34:51 +0200 Message-ID: <87r4462j1w.fsf@turtle.gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399444598 22616 80.91.229.3 (7 May 2014 06:36:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2014 06:36:38 +0000 (UTC) Cc: Sven Joachim To: 17429@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 07 08:36:30 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WhvSu-0004To-5J for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 08:36:28 +0200 Original-Received: from localhost ([::1]:38806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvSt-0005GS-Iy for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 02:36:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvSg-0005Ep-TY for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:36:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhvSV-0008Ok-ME for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:36:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvSV-0008OT-IQ for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WhvSU-0004SA-FP; Wed, 07 May 2014 02:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sven Joachim Original-Sender: "Debbugs-submit" Resent-CC: svenjoac@gmx.de, bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 May 2014 06:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Sven Joachim Original-Received: via spool by submit@debbugs.gnu.org id=B.139944452717061 (code B ref -1); Wed, 07 May 2014 06:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 May 2014 06:35:27 +0000 Original-Received: from localhost ([127.0.0.1]:53431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhvRt-0004R6-Qb for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhvRq-0004Qi-Nb for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhvRb-0007mU-Fl for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRb-0007mQ-De for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRT-0004oz-NQ for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhvRM-0007UX-0b for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:34:59 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:64326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRL-0007Tq-M9 for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:34:51 -0400 Original-Received: from localhost.localdomain ([79.198.17.8]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MXZw6-1WNWWM1liQ-00WWxV for ; Wed, 07 May 2014 08:34:48 +0200 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id B2C963F4C6; Wed, 7 May 2014 08:34:51 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) X-Provags-ID: V03:K0:wDtkz5pqhAeUXQerm2A4Tg9EhXcuf0T4pER/KmETpwlNWHVS0Kj dr+QZhse7M6ItQJ4aV4reTztwXe364z1+JV61nTtN2pxv54rQzAn2JIy2hjzl0Ru1Zh5MwK kHeHY8V4kZeM3OTKk0O9Jm5LIKGfjcHsSSJuU3Lvr0emFzfBiKpkO2tRtwMdd2FrCm5NddN 9J3GTpcLmgtT6HyBtWsug== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88723 Archived-At: Trunk does not build for me, I get an error when compiling image.c: ,---- | In file included from /usr/include/libpng12/png.h:540:0, | from image.c:5515: | /usr/include/libpng12/pngconf.h:371:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token | __pngconf.h__ in libpng already includes setjmp.h; | ^ | /usr/include/libpng12/pngconf.h:372:12: error: unknown type name '__dont__' | __dont__ include it again.; | ^ | /usr/include/libpng12/pngconf.h:372:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'it' | __dont__ include it again.; | ^ | /usr/include/libpng12/pngconf.h:372:29: error: unknown type name 'it' | Makefile:339: recipe for target 'image.o' failed `---- In pngconf.h there is the following explanation: ,---- | #ifdef PNG_SETJMP_SUPPORTED | /* This is an attempt to force a single setjmp behaviour on Linux. If | * the X config stuff didn't define _BSD_SOURCE we wouldn't need this. | * | * You can bypass this test if you know that your application uses exactly | * the same setjmp.h that was included when libpng was built. Only define | * PNG_SKIP_SETJMP_CHECK while building your application, prior to the | * application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK | * while building a separate libpng library for general use. | */ | | # ifndef PNG_SKIP_SETJMP_CHECK | # ifdef __linux__ | # ifdef _BSD_SOURCE | # define PNG_SAVE_BSD_SOURCE | # undef _BSD_SOURCE | # endif | # ifdef _SETJMP_H | /* If you encounter a compiler error here, see the explanation | * near the end of INSTALL. | */ | __pngconf.h__ in libpng already includes setjmp.h; | __dont__ include it again.; | # endif | # endif /* __linux__ */ | # endif /* PNG_SKIP_SETJMP_CHECK */ `---- This is with libpng 1.2.50.