From MAILER-DAEMON Sat Dec 19 20:10:19 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NMAJP-0001te-SY for mharc-bug-gnu-emacs@gnu.org; Sat, 19 Dec 2009 20:10:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMAJN-0001tM-1O for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2009 20:10:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMAJH-0001sp-9t for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2009 20:10:15 -0500 Received: from [199.232.76.173] (port=56830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMAJH-0001sm-3y for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2009 20:10:11 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:56539) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NMAJG-0001FT-Ds for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2009 20:10:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NMAJ8-0000Cz-VU; Sat, 19 Dec 2009 20:10:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Peter Dyballa , 5250@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: Sun, 20 Dec 2009 01:10:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@debbugs.gnu.org id=B.1261271369782 (code B ref -1); Sun, 20 Dec 2009 01:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Dec 2009 01:09:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMAIX-0000CY-Vp for submit@debbugs.gnu.org; Sat, 19 Dec 2009 20:09:29 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NM9gF-0008NF-LI for submit@debbugs.gnu.org; Sat, 19 Dec 2009 19:29:55 -0500 Received: from mx10.gnu.org ([199.232.76.166]:49162) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NM9gB-0000LS-L8 for emacs-pretest-bug@gnu.org; Sat, 19 Dec 2009 19:29:48 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NM9g5-0006rt-14 for emacs-pretest-bug@gnu.org; Sat, 19 Dec 2009 19:29:47 -0500 Received: from mout3.freenet.de ([195.4.92.93]:36555) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NM9g3-0006rb-OH for emacs-pretest-bug@gnu.org; Sat, 19 Dec 2009 19:29:40 -0500 Received: from [195.4.92.10] (helo=0.mx.freenet.de) by mout3.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.70 #1) id 1NM9g0-00009j-Qg for emacs-pretest-bug@gnu.org; Sun, 20 Dec 2009 01:29:36 +0100 Received: from p5b23dca5.dip.t-dialin.net ([91.35.220.165]:53653 helo=[192.168.1.2]) by 0.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.69 #94) id 1NM9fy-0004pF-18 for emacs-pretest-bug@gnu.org; Sun, 20 Dec 2009 01:29:36 +0100 Message-Id: <03A06868-216B-4EE6-BE7F-1B02F3E0CA32@Freenet.DE> From: Peter Dyballa To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 20 Dec 2009 01:29:27 +0100 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 19 Dec 2009 20:09:24 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Resent-Date: Sat, 19 Dec 2009 20:10:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: bug#5250: 23.1.90; src/xterm.c does not compile รข like #3895 from 2009-07-27 X-BeenThere: bug-gnu-emacs@gnu.org Reply-To: Peter Dyballa , 5250@debbugs.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: , X-List-Received-Date: Sun, 20 Dec 2009 01:10:17 -0000 Hello! The bug is back, now on Mac OS X 10.5.8 (Leopard) with PowerPC =20 processor. gcc -I/sw/include -L/sw/lib -c -no-cpp-precomp -Demacs -=20 DHAVE_CONFIG_H -I. -I/Users/pete/Quellen/Emacs_CVS/emacs/src -I/usr/=20 X11/include/X11 -I/sw/lib/fontconfig2/include -I/sw/lib/xft2/include -=20= I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -=20= I/usr/X11R6/include -Dtemacs -I/sw/lib/fontconfig2/include -I/sw/=20 include/freetype2 -I/sw/include -I/sw/include/librsvg-2 -I/sw/include/=20= glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/usr/X11/=20 include/cairo -I/usr/X11/include/pixman-1 -I/usr/X11/include/libpng12 -=20= I/usr/X11/include -I/sw/include/gconf/2 -I/sw/include/orbit-2.0 -I/sw/=20= include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0 -I/=20= sw/lib/glib-2.0/include -DORBIT2=3D1 -ggdb3 -gfull -mtraceback=3Dfull = -Wno-=20 pointer-sign -H -pipe -fPIC -mcpu=3D7450 -mtune=3D7450 -fast = -mpim-altivec =20 -ftree-vectorize -foptimize-register-move -freorder-blocks -fthread-=20 jumps -fpeephole -fno-crossjumping -I/sw/include/freetype2 -I/sw/=20 include -MMD -MF deps/xterm.d xterm.c . ./config.h .. ./s/darwin.h .. ./m/macppc.h .. /usr/include/string.h ... /usr/include/_types.h .... /usr/include/sys/_types.h ..... /usr/include/sys/cdefs.h ..... /usr/include/machine/_types.h ...... /usr/include/ppc/_types.h [...] xterm.c: In function =91x_term_init=92: xterm.c:10277: error: dereferencing pointer to incomplete type Multiple include guards may be useful for: /sw/include/gtk-2.0/gtk/gtklinkbutton.h make[2]: *** [xterm.o] Error 1 make[1]: *** [src] Error 2 make: *** [bootstrap] Error 2 /usr/X11R6 is a sym-link to /usr/X11. -- Greetings Pete Isn't vi that text editor with two modes... one that beeps and one =20 that corrupts your file? =96 Dan Jacobson, on = comp.os.linux.advocacy From MAILER-DAEMON Sun Dec 20 15:40:20 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NMSZg-0008BM-OT for mharc-bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 15:40:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMSZf-0008Ap-1W for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 15:40:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMSZa-00089L-4N for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 15:40:18 -0500 Received: from [199.232.76.173] (port=51633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMSZa-00089I-0t for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 15:40:14 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:34207) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NMSZZ-00006j-JV for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 15:40:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NMSHy-0008Lw-0I; Sun, 20 Dec 2009 15:22:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Peter Dyballa , 5250@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: Sun, 20 Dec 2009 20:22:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5250-submit@debbugs.gnu.org id=B5250.126134050332102 (code B ref 5250); Sun, 20 Dec 2009 20:22:01 +0000 Received: (at 5250) by debbugs.gnu.org; 20 Dec 2009 20:21:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMSHf-0008Lj-36 for submit@debbugs.gnu.org; Sun, 20 Dec 2009 15:21:43 -0500 Received: from mout7.freenet.de ([195.4.92.97]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMSHc-0008Lc-GN for 5250@debbugs.gnu.org; Sun, 20 Dec 2009 15:21:41 -0500 Received: from [195.4.92.12] (helo=2.mx.freenet.de) by mout7.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.70 #1) id 1NMSHX-0003Nz-Ki for 5250@debbugs.gnu.org; Sun, 20 Dec 2009 21:21:35 +0100 Received: from p5b23e1a8.dip.t-dialin.net ([91.35.225.168]:54642 helo=[192.168.1.2]) by 2.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.69 #94) id 1NMSHW-0008Te-QO for 5250@debbugs.gnu.org; Sun, 20 Dec 2009 21:21:35 +0100 Message-Id: <64BC7353-4581-4FFB-92FB-B33A0C86024E@Freenet.DE> From: Peter Dyballa To: 5250@debbugs.gnu.org In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 20 Dec 2009 21:21:32 +0100 References: <03A06868-216B-4EE6-BE7F-1B02F3E0CA32@Freenet.DE> X-Mailer: Apple Mail (2.936) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Resent-Date: Sun, 20 Dec 2009 15:22:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: bug#5250: 23.1.90; src/xterm.c does not compile =?utf-8?b?4oCT?= like #3895 from 2009-07-27 X-BeenThere: bug-gnu-emacs@gnu.org Reply-To: Peter Dyballa , 5250@debbugs.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: , X-List-Received-Date: Sun, 20 Dec 2009 20:40:19 -0000 I tried again to compile with GCC 4.2.1 (Apple Inc. build 5577) and =20 making use of some (modern, up-to-date) C header and library files =20 from MacPorts. With GTK+2 as X toolkit. Now it compiles src/xterm.c! =20 In the pre-processed output I see some differences (diff GTK+2-=20 GCC4.2.1 GTK+2-GCC4.0.1) by which in the end the strange and faulty =20 construct appears, although I have no idea why! (Many differences with just the use of different variants of the same =20= C header file omitted.) ********4.2.1******* =20 ********4.0.1******* *** 300,320 **** #define HAVE_WORKING_FORK 1 =20 #define HAVE_WORKING_FORK 1 #define HAVE_WORKING_VFORK 1 =20 #define HAVE_WORKING_VFORK 1 #define HAVE_X11 1 =20 #define HAVE_X11 1 - #define HAVE_X11R6 1 #define HAVE_XFT 1 =20 #define HAVE_XFT 1 #define HAVE_XIM 1 =20 #define HAVE_XIM 1 - #define HAVE_XKBGETKEYBOARD 1 #define HAVE_XPM 1 =20 #define HAVE_XPM 1 ! #define HAVE_XRMSETDATABASE 1 ! #define HAVE_XSCREENNUMBEROFSCREEN 1 ! #define HAVE_XSCREENRESOURCESTRING 1 ! #define HAVE_XSETWMPROTOCOLS 1 *** 664,671 **** # 1169 "./config.h" 2 # =20 1169 "./config.h" 2 # 1 "/usr/include/strings.h" 1 3 4 # 1 =20= "/usr/include/strings.h" 1 3 4 - # 62 "/usr/include/strings.h" 3 4 - # 1 "/usr/include/string.h" 1 3 4 - # 63 "/usr/include/strings.h" 2 3 4 # 1172 "./config.h" 2 # =20 1172 "./config.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 1 =20= "/usr/include/stdlib.h" 1 3 4 # 59 "/usr/include/stdlib.h" 3 4 # =20 59 "/usr/include/stdlib.h" 3 4 *** 1531,1535 **** #define _MACHTYPES_H_ =20 #define _MACHTYPES_H_ ! # 1 "/usr/include/ppc/_types.h" 1 3 4 ! # 71 "/usr/include/ppc/types.h" 2 3 4 ! # 77 =20= "/usr/include/ppc/types.h" 3 4 #define _INT8_T =20 #define _INT8_T *** 1607,1613 **** # 1175 "./config.h" 2 # =20 1175 "./config.h" 2 ! # 1193 "./config.h" ! # =20 1195 "./config.h" #define HAVE_X_I18N =20 #define HAVE_X_I18N ! #define HAVE_X11R6_XIM ! # =20 1206 "./config.h" *** 4045,4052 **** # 41 "xterm.c" 2 # =20 41 "xterm.c" 2 # 1 "xterm.h" 1 # 1 =20= "xterm.h" 1 # 20 "xterm.h" # =20 20 "xterm.h" ! # 1 "/opt/local/include/X11/Xlib.h" 1 ! # 1 =20= "/usr/X11/include/X11/Xlib.h" 1 ! # 37 "/opt/local/include/X11/Xlib.h" ! # 37 =20= "/usr/X11/include/X11/Xlib.h" #define _XLIB_H_ =20 #define _XLIB_H_ #define XlibSpecificationRelease 6 =20 #define XlibSpecificationRelease 6 # 1 "/usr/include/sys/types.h" 1 3 4 # 1 =20= "/usr/include/sys/types.h" 1 3 4 *** 5243,5255 **** - typedef struct { - int type; - unsigned long serial; - int send_event; - Display *display; - int extension; - int evtype; - unsigned int cookie; - void *data; - } XGenericEventCookie; - XGenericEvent xgeneric; - XGenericEventCookie xcookie; *** 7824,7837 **** - extern int XGetEventData( - Display* , - XGenericEventCookie* - ); - extern void XFreeEventData( - Display* , - XGenericEventCookie* - ); # 21 "xterm.h" 2 # =20 21 "xterm.h" 2 ! # 1 "/opt/local/include/X11/cursorfont.h" 1 ! # 1 =20= "/usr/X11/include/X11/cursorfont.h" 1 ! # 31 "/opt/local/include/X11/cursorfont.h" ! # 31 =20= "/usr/X11/include/X11/cursorfont.h" ! # 1 "/opt/local/include/X11/keysym.h" 1 ! # 1 =20= "/usr/X11/include/X11/keysym.h" 1 *** 12537,12544 **** # 1 "/usr/include/ppc/limits.h" 1 3 4 # 37 "/usr/include/ppc/limits.h" 3 4 #define _PPC_LIMITS_H_ - # 1 "/usr/include/ppc/_limits.h" 1 3 4 - # 41 "/usr/include/ppc/limits.h" 2 3 4 *** 47599,47607 **** ! # 93 "xterm.h" ! # =20 103 "xterm.h" ! struct xim_inst_t ! { ! struct x_display_info *dpyinfo; ! char *resource_name; ! }; struct x_bitmap_record =20 struct x_bitmap_record { { Pixmap pixmap; =20 Pixmap pixmap; *** 57646,57675 **** } } return font_object; =20 return font_object; } } ! # 8121 "xterm.c" ! # =20 8159 "xterm.c" ! static void ! xim_destroy_callback (xim, client_data, call_data) ! XIM xim; ! XPointer client_data; ! XPointer call_data; ! { ! struct x_display_info *dpyinfo =3D (struct x_display_info *) =20 client_data; ! Lisp_Object frame, tail; ! (interrupt_input_blocked++); ! for ((tail) =3D Vframe_list; ((((enum Lisp_Type) (((unsigned int) =20= ((tail))) & ((((int) 1) << 3) - 1))) =3D=3D Lisp_Cons) && (frame =3D (0+=20= ((((void) 0,(struct Lisp_Cons *) ((int) (((tail)) & ~((((int) 1) << 3) =20= - 1))))->car))), 1)); tail =3D (0+((((void) 0,(struct Lisp_Cons *) =20 ((int) (((tail)) & ~((((int) 1) << 3) - 1))))->u.cdr)))) ! { ! struct frame *f =3D ((void) 0,(struct frame *) ((int) ((frame) & = =20 ~((((int) 1) << 3) - 1)))); ! if (((f)->output_method =3D=3D output_x_window) && ((f)-=20 >output_data.x->display_info) =3D=3D dpyinfo) ! { ! ((f)->output_data.x->xic) =3D ((void *)0); ! xic_free_xfontset (f); ! } ! } ! dpyinfo->xim =3D ((void *)0); ! XFree (dpyinfo->xim_styles); ! do { --interrupt_input_blocked; if (interrupt_input_blocked =3D=3D = 0) =20 { if (interrupt_input_pending) reinvoke_input_signal (); if =20 (pending_atimers) do_pending_atimers (); } else if =20 (interrupt_input_blocked < 0) abort (); } while (0); ! } ! extern char *XSetIMValues (XIM, ...); static void =20 static void xim_open_dpy (dpyinfo, resource_name) =20 xim_open_dpy (dpyinfo, resource_name) struct x_display_info =20 *dpyinfo; struct x_display_info =20 *dpyinfo; *** 57685,57736 **** dpyinfo->xim =3D xim; if (xim) { - XIMCallback destroy; XGetIMValues (xim, "queryInputStyle", &dpyinfo->xim_styles, =20 ((void *)0)); - destroy.callback =3D xim_destroy_callback; - destroy.client_data =3D (XPointer)dpyinfo; - XSetIMValues (xim, "destroyCallback", &destroy, ((void *)0)); } } else dpyinfo->xim =3D ((void *)0); } - # 8205 "xterm.c" - static void - xim_instantiate_callback (display, client_data, call_data) - Display *display; - XPointer client_data; - XPointer call_data; - { - struct xim_inst_t *xim_inst =3D (struct xim_inst_t *) client_data; - struct x_display_info *dpyinfo =3D xim_inst->dpyinfo; - if (dpyinfo->xim) - return; - xim_open_dpy (dpyinfo, xim_inst->resource_name); - if (dpyinfo->xim && dpyinfo->reference_count > 0) - { - Lisp_Object tail, frame; - (interrupt_input_blocked++); - for ((tail) =3D Vframe_list; ((((enum Lisp_Type) (((unsigned =20 int) ((tail))) & ((((int) 1) << 3) - 1))) =3D=3D Lisp_Cons) && (frame =3D = (0+=20 ((((void) 0,(struct Lisp_Cons *) ((int) (((tail)) & ~((((int) 1) << 3) =20= - 1))))->car))), 1)); tail =3D (0+((((void) 0,(struct Lisp_Cons *) =20 ((int) (((tail)) & ~((((int) 1) << 3) - 1))))->u.cdr)))) - { - struct frame *f =3D ((void) 0,(struct frame *) ((int) ((frame) & =20= ~((((int) 1) << 3) - 1)))); - if (((f)->output_method =3D=3D output_x_window) - && ((f)->output_data.x->display_info) =3D=3D xim_inst-=20= >dpyinfo) - if (((f)->output_data.x->xic) =3D=3D ((void *)0)) - { - create_frame_xic (f); - if (((f)->output_data.x->xic_style) & 0x0100L) - xic_set_statusarea (f); - if (((f)->output_data.x->xic_style) & 0x0004L) - { - struct window *w =3D ((void) 0,(struct window *) ((int) ((f-=20 >selected_window) & ~((((int) 1) << 3) - 1)))); - xic_set_preeditarea (w, w->cursor.x, w->cursor.y); - } - } - } - do { --interrupt_input_blocked; if (interrupt_input_blocked =3D=3D= =20 0) { if (interrupt_input_pending) reinvoke_input_signal (); if =20 (pending_atimers) do_pending_atimers (); } else if =20 (interrupt_input_blocked < 0) abort (); } while (0); - } - } # 8258 "xterm.c" static void xim_initialize (dpyinfo, resource_name) --- 57693,57704 ---- *************** *** 57740,57757 **** dpyinfo->xim =3D ((void *)0); =20= dpyinfo->xim =3D ((void *)0); if (use_xim) =20 if (use_xim) { { ! # =20 8285 "xterm.c" ! = xim_open_dpy=20 (dpyinfo, resource_name); ! struct xim_inst_t *xim_inst; ! int len; ! xim_inst =3D (struct xim_inst_t *) xmalloc (sizeof (struct =20 xim_inst_t)); ! dpyinfo->xim_callback_data =3D xim_inst; ! xim_inst->dpyinfo =3D dpyinfo; ! len =3D strlen (resource_name); ! xim_inst->resource_name =3D (char *) xmalloc (len + 1); ! bcopy (resource_name, xim_inst->resource_name, len + 1); ! XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb, ! resource_name, "Emacs", ! xim_instantiate_callback, ! (XPointer) xim_inst); } } } } static void =20 static void *************** *** 57760,57771 **** =20 { = { if =20 (use_xim) =20 if (use_xim) =20 { = { if (dpyinfo-=20 >display) if =20 (dpyinfo->display) ! XUnregisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb, ! ((void *)0), "Emacs", ! xim_instantiate_callback, ((void *)0)); ! xfree (dpyinfo->xim_callback_data->resource_name); ! xfree (dpyinfo->xim_callback_data); if (dpyinfo->display) XCloseIM (dpyinfo-=20 >xim); XCloseIM =20 (dpyinfo->xim); *************** *** 58841,58847 **** =3D XCreateFontCursor (dpyinfo->display, 116); = =20 =3D XCreateFontCursor (dpyinfo->display, 116); xrdb =3D x_load_resources (dpyinfo->display, xrm_option, =20= xrdb =3D x_load_resources (dpyinfo->display, xrm_option, resource_name, =20 "Emacs"); resource_name, =20 "Emacs"); ! XrmSetDatabase (dpyinfo->display, xrdb); ! =20 dpyinfo->display->db =3D xrdb; dpyinfo->xrdb =3D xrdb; =20= dpyinfo->xrdb =3D xrdb; -- Greetings Pete There is no worse tyranny than to force a man to pay for what he does =20= not want merely because you think it would be good for him. =96 Robert Heinlein From unknown Sun Jun 22 11:35:26 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5250: 23.1.90; src/xterm.c does not compile - like #3895 from 2009-07-27 Reply-To: Chong Yidong , 5250@debbugs.gnu.org Mail-Followup-To: Chong Yidong , 5250@debbugs.gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jan 2010 23:03:49 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5250-submit@debbugs.gnu.org id=B5250.126246772730643 (code B ref 5250); Tue, 05 Jan 2010 23:03:49 +0000 Received: (at 5250) by debbugs.gnu.org; 2 Jan 2010 21:28:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NRBWg-0007yC-Oz for submit@debbugs.gnu.org; Sat, 02 Jan 2010 16:28:47 -0500 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NRBWf-0007y7-7c for 5250@debbugs.gnu.org; Sat, 02 Jan 2010 16:28:45 -0500 Received: from furry (adsl-99-75-106-169.dsl.wlfrct.sbcglobal.net [99.75.106.169]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o02LSeEl019911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 2 Jan 2010 16:28:40 -0500 Received: by furry (Postfix, from userid 1000) id 9B566C05D; Sat, 2 Jan 2010 16:28:40 -0500 (EST) From: Chong Yidong To: Peter Dyballa Date: Sat, 02 Jan 2010 16:28:40 -0500 Message-ID: <87637kqjqv.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.1 (---) Cc: 5250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) > The bug is back, now on Mac OS X 10.5.8 (Leopard) with PowerPC > processor. > > gcc -I/sw/include -L/sw/lib -c -no-cpp-precomp -Demacs ... > xterm.c: In function =E2=80=98x_term_init=E2=80=99: > xterm.c:10277: error: dereferencing pointer to incomplete type > Multiple include guards may be useful for: > /sw/include/gtk-2.0/gtk/gtklinkbutton.h > make[2]: *** [xterm.o] Error 1 > make[1]: *** [src] Error 2 > make: *** [bootstrap] Error 2 I'm afraid you seem to be the only one who has been having these compilation problems (that we know of). The useful way to tackle this problem is to bisect until you find the first change that broke compilation, and report that change to us. Otherwise, there seems to be little we can do. From unknown Sun Jun 22 11:35:26 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5250: 23.1.90; src/xterm.c does not compile - like #3895 from 2009-07-27 Reply-To: Peter Dyballa , 5250@debbugs.gnu.org Mail-Followup-To: Peter Dyballa , 5250@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: Tue, 05 Jan 2010 23:03:50 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5250-submit@debbugs.gnu.org id=B5250.12624782993145 (code B ref 5250); Tue, 05 Jan 2010 23:03:50 +0000 Received: (at 5250) by debbugs.gnu.org; 3 Jan 2010 00:24:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NREHC-0000og-W5 for submit@debbugs.gnu.org; Sat, 02 Jan 2010 19:24:59 -0500 Received: from mout4.freenet.de ([195.4.92.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NREGz-0000oZ-I6 for 5250@debbugs.gnu.org; Sat, 02 Jan 2010 19:24:58 -0500 Received: from [195.4.92.23] (helo=13.mx.freenet.de) by mout4.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.70 #1) id 1NREGu-0008BH-2R; Sun, 03 Jan 2010 01:24:40 +0100 Received: from p5b23cd97.dip.t-dialin.net ([91.35.205.151]:59457 helo=[192.168.1.2]) by 13.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.69 #94) id 1NREGs-0005H5-Uu; Sun, 03 Jan 2010 01:24:40 +0100 Message-Id: From: Peter Dyballa To: Chong Yidong In-Reply-To: <87637kqjqv.fsf@stupidchicken.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 3 Jan 2010 01:24:33 +0100 References: <87637kqjqv.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.936) X-Spam-Score: -2.4 (--) Cc: 5250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Am 02.01.2010 um 22:28 schrieb Chong Yidong: > I'm afraid you seem to be the only one who has been having these > compilation problems (that we know of). The useful way to tackle this > problem is to bisect until you find the first change that broke > compilation, and report that change to us. Otherwise, there seems =20 > to be > little we can do. I hardly remember when I last built GNU Emacs with Fink. I have an old =20= emacs-23.0.94 from middle of june which uses Fink... (and this area of =20= my disk is never backupped) Xterm.c preprocessed by gcc -E does not give any hints? -- Greetings Pete A designer knows he has arrived at perfection not when there is no =20 longer anything to add, but when there is no longer anything to take =20 away. =96 Antoine de Saint-Exup=E9ry From unknown Sun Jun 22 11:35:26 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5250: 23.1.90; src/xterm.c does not compile - like #3895 from 2009-07-27 Reply-To: Peter Dyballa , 5250@debbugs.gnu.org Mail-Followup-To: Peter Dyballa , 5250@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: Thu, 07 Jan 2010 19:51:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5250-submit@debbugs.gnu.org id=B5250.12628938394896 (code B ref 5250); Thu, 07 Jan 2010 19:51:01 +0000 Received: (at 5250) by debbugs.gnu.org; 7 Jan 2010 19:50:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSyNS-0001Gv-S5 for submit@debbugs.gnu.org; Thu, 07 Jan 2010 14:50:39 -0500 Received: from mout6.freenet.de ([195.4.92.96]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSyNQ-0001Gp-EO for 5250@debbugs.gnu.org; Thu, 07 Jan 2010 14:50:37 -0500 Received: from [195.4.92.10] (helo=0.mx.freenet.de) by mout6.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.70 #1) id 1NSyNK-0003Ul-P0; Thu, 07 Jan 2010 20:50:30 +0100 Received: from [91.35.188.162] (port=51514 helo=[192.168.1.2]) by 0.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.69 #94) id 1NSyNK-0003Ey-GX; Thu, 07 Jan 2010 20:50:30 +0100 Message-Id: <1FBF25DB-9E90-4574-A9CD-9E9C7F3C1159@Freenet.DE> From: Peter Dyballa To: Chong Yidong In-Reply-To: <87637kqjqv.fsf@stupidchicken.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 7 Jan 2010 20:50:07 +0100 References: <87637kqjqv.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.936) X-Spam-Score: -2.9 (--) Cc: 5250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Hello! By comparing the pre-processed output from xterm.c in the simple case =20= X tollkit Xaw3d I found a hint for the cause of the compile failures: =20= the environment variable MACOSX_DEPLOYMENT_TARGET was set. Unsetting =20 it now led to a freshly compiled GNU Emacs 23.1.90! I did it with GCC =20= 4.2. Hopefully the same is true for GTK+2 =96 and default GCC 4.0! -- Greetings Pete A morning without coffee is like something without something else. From unknown Sun Jun 22 11:35:26 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5250: 23.1.90; src/xterm.c does not compile - like #3895 from 2009-07-27 Reply-To: Peter Dyballa , 5250@debbugs.gnu.org Mail-Followup-To: Peter Dyballa , 5250@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: Thu, 07 Jan 2010 22:39:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5250 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5250-submit@debbugs.gnu.org id=B5250.126290393712556 (code B ref 5250); Thu, 07 Jan 2010 22:39:01 +0000 Received: (at 5250) by debbugs.gnu.org; 7 Jan 2010 22:38:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NT10K-0003GT-Vb for submit@debbugs.gnu.org; Thu, 07 Jan 2010 17:38:57 -0500 Received: from mout0.freenet.de ([195.4.92.90]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NT10J-0003GO-Ge for 5250@debbugs.gnu.org; Thu, 07 Jan 2010 17:38:56 -0500 Received: from [195.4.92.13] (helo=3.mx.freenet.de) by mout0.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.70 #1) id 1NT10E-00089d-8b; Thu, 07 Jan 2010 23:38:50 +0100 Received: from p5b23bca2.dip.t-dialin.net ([91.35.188.162]:52074 helo=[192.168.1.2]) by 3.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.69 #94) id 1NT10E-0002cc-1H; Thu, 07 Jan 2010 23:38:50 +0100 Message-Id: From: Peter Dyballa To: Chong Yidong In-Reply-To: <1FBF25DB-9E90-4574-A9CD-9E9C7F3C1159@Freenet.DE> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 7 Jan 2010 23:38:42 +0100 References: <87637kqjqv.fsf@stupidchicken.com> <1FBF25DB-9E90-4574-A9CD-9E9C7F3C1159@Freenet.DE> X-Mailer: Apple Mail (2.936) X-Spam-Score: -2.8 (--) Cc: 5250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Am 07.01.2010 um 20:50 schrieb Peter Dyballa: > Hopefully the same is true for GTK+2 =96 and default GCC 4.0! By removing the before mentioned environment variable also the GTK+2 =20 variants compile =96 and dump a core when I use xkill to close them! So this bug does not exist and might even be introduced by me! Sorry. -- Greetings Pete Without vi there is only GNU Emacs From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 13:51:34 2010 Received: (at control) by debbugs.gnu.org; 9 Jan 2010 18:51:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTgPO-0002K8-H2 for submit@debbugs.gnu.org; Sat, 09 Jan 2010 13:51:34 -0500 Received: from pantheon-po19.its.yale.edu ([130.132.50.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTgPN-0002K2-Eb for control@debbugs.gnu.org; Sat, 09 Jan 2010 13:51:33 -0500 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po19.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o09IpScP009273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 9 Jan 2010 13:51:29 -0500 Received: by furry (Postfix, from userid 1000) id EB5B4C05D; Sat, 9 Jan 2010 11:51:28 -0700 (MST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 5250 Date: Sat, 09 Jan 2010 13:51:28 -0500 Message-ID: <873a2fcdsf.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.6 (-----) close 5250 thanks