From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Ellis Newsgroups: gmane.emacs.devel Subject: emacs-unicode-2 branch does not compile on 64 bit here Date: Sun, 25 Jun 2006 01:13:44 +0100 Message-ID: <200606250113.44329.martin.ellis@kdemail.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1151204876 26194 80.91.229.2 (25 Jun 2006 03:07:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2006 03:07:56 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 05:07:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FuKyY-0006ff-DO for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2006 05:07:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FuKyX-0003ex-N2 for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2006 23:07:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FuICa-0008Pa-Aa for emacs-devel@gnu.org; Sat, 24 Jun 2006 20:10:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FuICZ-0008Ox-4D for emacs-devel@gnu.org; Sat, 24 Jun 2006 20:10:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FuICZ-0008Ou-1T for emacs-devel@gnu.org; Sat, 24 Jun 2006 20:10:11 -0400 Original-Received: from [81.16.160.116] (helo=apelsin.fruitsalad.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FuIO5-00014U-Vh for emacs-devel@gnu.org; Sat, 24 Jun 2006 20:22:06 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 836A6BB071 for ; Sun, 25 Jun 2006 02:10:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 31153BB062 for ; Sun, 25 Jun 2006 02:10:05 +0200 (CEST) Original-Received: from apelsin.fruitsalad.org ([127.0.0.1]) by localhost (apelsin.fruitsalad.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50251-06 for ; Sun, 25 Jun 2006 02:10:03 +0200 (CEST) Original-Received: from [192.168.1.105] (82-39-108-181.cable.ubr02.newy.blueyonder.co.uk [82.39.108.181]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 68FD81173733 for ; Sun, 25 Jun 2006 02:10:03 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: KMail/1.9.1 Content-Disposition: inline X-Virus-Scanned: by amavisd-new at kdemail.net X-Mailman-Approved-At: Sat, 24 Jun 2006 23:07:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56165 Archived-At: Hi, [Sent here from #emacs - please CC me on any replies] After configuring with: ./configure --prefix=3D/home/martin/emacs --with-freetype --with-xft --ena= ble-font-backend --with-gtk I was getting the following error building emacs-unicode-2 on AMD64, althou= gh the same code compiled fine on a 32 bit machine: martin@earthworm:~/emacs/emacs/src$ gcc -c -D_BSD_SOURCE -Demacs -DHAVE_C= ONFIG_H -DUSE_GTK=20 -I. -I/home/martin/emacs/emacs/src -D_BSD_SOURCE -I/usr/include/gtk-2.= 0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -= I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/al= sa -g -O2 -Wno-pointer-sign font.c font.c:2671: error: conflicting types for =E2=80=98Flist_fonts=E2=80=99 font.c:2523: error: previous implicit declaration of =E2=80=98Flist_fonts= =E2=80=99 was here font.c: In function =E2=80=98Ffont_fill_gstring=E2=80=99: font.c:2947: warning: comparison is always false due to limited range of da= ta type font.c:2973: warning: comparison is always false due to limited range of da= ta type font.c: In function =E2=80=98Fget_font_glyphs=E2=80=99: font.c:3076: warning: comparison is always true due to limited range of dat= a type After adding a function prototype it builds and appears to run fine: Index: font.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /sources/emacs/emacs/src/Attic/font.c,v retrieving revision 1.1.2.10 diff -u -r1.1.2.10 font.c =2D-- font.c 21 Jun 2006 01:24:36 -0000 1.1.2.10 +++ font.c 24 Jun 2006 23:40:19 -0000 @@ -2477,6 +2477,7 @@ face->extra =3D NULL; } +Lisp_Object Flist_fonts (Lisp_Object spec, Lisp_Object frame, Lisp_Object = number, Lisp_Object prefer); Lisp_Object font_open_by_name (f, name) FRAME_PTR f; Cheers Martin