From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#8425: 24.0.50; ./stdint.h:82:7: error: #elif with no expression Date: Mon, 4 Apr 2011 21:32:44 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301945854 9300 80.91.229.12 (4 Apr 2011 19:37:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2011 19:37:34 +0000 (UTC) To: 8425@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 04 21:37:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6paW-0005EM-20 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Apr 2011 21:37:24 +0200 Original-Received: from localhost ([127.0.0.1]:43390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6paV-0002ZQ-AS for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Apr 2011 15:37:23 -0400 Original-Received: from [140.186.70.92] (port=60641 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6paQ-0002ZL-J3 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6paP-0003oo-Io for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:37:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6paP-0003oj-HO for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:37:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q6pXF-00026z-Te; Mon, 04 Apr 2011 15:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Apr 2011 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8425 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13019456198084 (code B ref -1); Mon, 04 Apr 2011 19:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Apr 2011 19:33:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6pWs-00026K-QY for submit@debbugs.gnu.org; Mon, 04 Apr 2011 15:33:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6pWq-000269-I8 for submit@debbugs.gnu.org; Mon, 04 Apr 2011 15:33:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6pWk-0002it-4n for submit@debbugs.gnu.org; Mon, 04 Apr 2011 15:33:31 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:39793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6pWe-0002g7-Ti for submit@debbugs.gnu.org; Mon, 04 Apr 2011 15:33:30 -0400 Original-Received: from [140.186.70.92] (port=41119 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6pW9-0008Qt-44 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:33:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6pW7-0002VO-89 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:32:52 -0400 Original-Received: from mout6.freenet.de ([195.4.92.96]:34892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6pW6-0002VE-Q1 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:32:51 -0400 Original-Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout6.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #5) id 1Q6pW3-0004VL-8L for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 21:32:47 +0200 Original-Received: from p5b23bbd6.dip.t-dialin.net ([91.35.187.214]:59172 helo=[192.168.1.2]) by 7.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1Q6pW2-0004db-TC for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 21:32:47 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Apr 2011 15:34:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45629 Archived-At: Hello! In the beginning of compilation a sed script edits lib/stdint.in.h to =20= become lib/stdint.h. The suspicious lines are: 76 #if @HAVE_INTTYPES_H@ 77 /* In OpenBSD 3.8, includes , =20= which defines 78 int{8,16,32,64}_t, uint{8,16,32,64}_t and =20 __BIT_TYPES_DEFINED__. 79 also defines intptr_t and uintptr_t. */ 80 # include 81 #elif @HAVE_SYS_INTTYPES_H@ 82 /* Solaris 7 has the types except the =20 *_fast*_t types, and 83 the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, =20= PTRDIFF_MAX. */ 84 # include 85 #endif 86=09 87 #if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ 88 /* Linux libc4 >=3D 4.6.7 and libc5 have a = that =20 defines 89 int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >=3D = =20 5.2.2 it is 90 included by . */ 91 # include 92 #endif And since @HAVE_SYS_BITYPES_H@ is changed to an empty string the lines =20= become invalid in lib/stdint.h: 77 #if 1 78 /* In OpenBSD 3.8, includes , =20= which defines 79 int{8,16,32,64}_t, uint{8,16,32,64}_t and =20 __BIT_TYPES_DEFINED__. 80 also defines intptr_t and uintptr_t. */ 81 # include 82 #elif 83 /* Solaris 7 has the types except the =20 *_fast*_t types, and 84 the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, =20= PTRDIFF_MAX. */ 85 # include 86 #endif 87=09 88 #if && ! defined __BIT_TYPES_DEFINED__ 89 /* Linux libc4 >=3D 4.6.7 and libc5 have a = that =20 defines 90 int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >=3D = =20 5.2.2 it is 91 included by . */ 92 # include 93 #endif This error exists since 30 h (an update yesterday let the NS variant =20 compile but not the X client): . md5.h .. ./stdio.h ... /usr/include/stdio.h ... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include/=20 stdarg.h ... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include/=20 stddef.h ... /usr/include/sys/types.h .... /usr/include/sys/_structs.h .. ./stdint.h ... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include/=20 stdint.h .... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include-=20 fixed/stdint.h ... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include-=20 fixed/limits.h .... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include-=20 fixed/syslimits.h ..... = /sw/lib/gcc4.5/lib/gcc/powerpc-apple-darwin9.8.0/4.5.2/include-=20 fixed/limits.h ...... /usr/include/limits.h ....... /usr/include/machine/limits.h ........ /usr/include/ppc/limits.h ......... /usr/include/ppc/_limits.h ....... /usr/include/sys/syslimits.h ... /usr/include/inttypes.h .... ./stdint.h In file included from md5.h:25:0, from md5.c:25: ./stdint.h:82:7: error: #elif with no expression ./st Compilation exited abnormally with code 2 at Mon Apr 4 21:12:43 I think the code was OK until revno: 103797. Mac OS X 10.5.8, PPC; GCC 4.5.2; revno: 103819. -- Greetings Pete If it does exist, it's out of date. =96 Arnold's Second Law of Documentation