From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef Date: Tue, 14 May 2019 21:47:55 +0300 Message-ID: <838sv8an50.fsf@gnu.org> References: <20190513175241.9359.28585@vcs0.savannah.gnu.org> <20190513175245.1B38320664@vcs0.savannah.gnu.org> <87sgthgjcj.fsf@gmail.com> <87o945ghk9.fsf@gmail.com> <87k1etggnw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="254836"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Alex Gramiak Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 14 20:50:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQcUv-00142V-Pq for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 20:49:58 +0200 Original-Received: from localhost ([127.0.0.1]:52585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQcUu-0002I7-JA for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 14:49:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQcTE-0001fp-Jm for emacs-devel@gnu.org; Tue, 14 May 2019 14:48:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQcTE-0003eM-GX; Tue, 14 May 2019 14:48:12 -0400 Original-Received: from [176.228.60.248] (port=4215 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQcTD-0007RY-Js; Tue, 14 May 2019 14:48:12 -0400 In-reply-to: <87k1etggnw.fsf@gmail.com> (message from Alex Gramiak on Tue, 14 May 2019 10:11:15 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236513 Archived-At: > From: Alex Gramiak > Date: Tue, 14 May 2019 10:11:15 -0600 > > > Now it builds and runs. IsnĘžt multi-platform code FUN? :-) > > It's absolutely blissful ;-). Thanks for testing. My turn now: CC dispnew.o In file included from dispnew.c:48:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `dispnew.o' failed make[1]: *** [dispnew.o] Error 1 CC frame.o In file included from frame.c:32:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `frame.o' failed make[1]: *** [frame.o] Error 1 CC xdisp.o In file included from xdisp.c:336:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `xdisp.o' failed make[1]: *** [xdisp.o] Error 1 CC menu.o In file included from menu.c:41:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `menu.o' failed make[1]: *** [menu.o] Error 1 CC window.o In file included from window.c:40:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `window.o' failed make[1]: *** [window.o] Error 1 CC charset.o CC coding.o CC ccl.o CC character.o CC bidi.o CC term.o In file included from term.c:62:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `term.o' failed make[1]: *** [term.o] Error 1 CC terminal.o CC xfaces.o In file included from xfaces.c:222:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `xfaces.o' failed make[1]: *** [xfaces.o] Error 1 CC emacs.o In file included from emacs.c:66:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `emacs.o' failed make[1]: *** [emacs.o] Error 1 CC keyboard.o In file included from keyboard.c:74:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `keyboard.o' failed make[1]: *** [keyboard.o] Error 1 CC macros.o CC keymap.o CC sysdep.o CC buffer.o CC filelock.o CC insdel.o CC minibuf.o CC fileio.o CC dired.o CC cmds.o CC casefiddle.o CC indent.o CC undo.o CC alloc.o In file included from alloc.c:51:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `alloc.o' failed make[1]: *** [alloc.o] Error 1 CC pdumper.o CC data.o CC doc.o CC editfns.o CC callint.o CC eval.o CC fns.o CC font.o In file included from font.c:44:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `font.o' failed make[1]: *** [font.o] Error 1 CC print.o CC lread.o CC emacs-module.o In file included from emacs-module.c:120:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `emacs-module.o' failed make[1]: *** [emacs-module.o] Error 1 CC bytecode.o CC process.o In file included from process.c:128:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `process.o' failed make[1]: *** [process.o] Error 1 CC gnutls.o CC callproc.o CC sound.o CC timefns.o CC atimer.o CC textprop.o CC composite.o CC w32notify.o In file included from w32notify.c:97:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32notify.o' failed make[1]: *** [w32notify.o] Error 1 CC decompress.o CC thread.o CC systhread.o In file included from systhread.c:251:0: ./w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `systhread.o' failed make[1]: *** [systhread.o] Error 1 CC w32fns.o In file included from w32fns.c:38:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ w32fns.c: In function 'w32_wnd_proc': w32fns.c:5211:14: warning: passing argument 1 of 'SetCursor' makes pointer from integer without a cast [-Wint-conversion] SetCursor (f->output_data.w32->current_cursor); ^ In file included from d:\usr\include\windows.h:48:0, from d:\usr\include\winsock.h:52, from d:\usr\include\winsock2.h:62, from d:/gnu/git/emacs/trunk/nt/inc/sys/socket.h:57, from thread.h:25, from lisp.h:2137, from w32fns.c:37: d:\usr\include\winuser.h:4194:27: note: expected 'HCURSOR {aka struct HICON__ *} ' but argument is of type 'int' WINUSERAPI HCURSOR WINAPI SetCursor (HCURSOR); ^~~~~~~~~ w32fns.c:5224:41: warning: assignment makes integer from pointer without a cast [-Wint-conversion] f->output_data.w32->current_cursor = cursor; ^ w32fns.c: In function 'Fx_create_frame': w32fns.c:5986:38: warning: assignment makes integer from pointer without a cast [-Wint-conversion] f->output_data.w32->current_cursor = f->output_data.w32->nontext_cursor; ^ Makefile:394: recipe for target `w32fns.o' failed make[1]: *** [w32fns.o] Error 1 CC w32menu.o In file included from w32menu.c:37:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32menu.o' failed make[1]: *** [w32menu.o] Error 1 CC w32reg.o In file included from w32reg.c:25:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32reg.o' failed make[1]: *** [w32reg.o] Error 1 CC w32font.o In file included from w32font.c:27:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32font.o' failed make[1]: *** [w32font.o] Error 1 CC w32term.o In file included from w32term.c:25:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ w32term.c: In function 'w32_hide_hourglass': w32term.c:6908:16: warning: passing argument 1 of 'SetCursor' makes pointer from integer without a cast [-Wint-conversion] SetCursor (w32->current_cursor); ^~~ In file included from d:\usr\include\windows.h:48:0, from d:\usr\include\winsock.h:52, from d:\usr\include\winsock2.h:62, from d:/gnu/git/emacs/trunk/nt/inc/sys/socket.h:57, from thread.h:25, from lisp.h:2137, from w32term.c:23: d:\usr\include\winuser.h:4194:27: note: expected 'HCURSOR {aka struct HICON__ *} ' but argument is of type 'int' WINUSERAPI HCURSOR WINAPI SetCursor (HCURSOR); ^~~~~~~~~ w32term.c: In function 'w32_toggle_invisible_pointer': w32term.c:6929:5: warning: passing argument 2 of 'w32_define_cursor' makes point er from integer without a cast [-Wint-conversion] f->output_data.w32->current_cursor); ^ w32term.c:3423:1: note: expected 'Emacs_Cursor {aka struct HICON__ *}' but argum ent is of type 'int' w32_define_cursor (Window window, Emacs_Cursor cursor) ^~~~~~~~~~~~~~~~~ Makefile:394: recipe for target `w32term.o' failed make[1]: *** [w32term.o] Error 1 CC w32xfns.o In file included from w32xfns.c:28:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32xfns.o' failed make[1]: *** [w32xfns.o] Error 1 CC w32select.o In file included from w32select.c:78:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32select.o' failed make[1]: *** [w32select.o] Error 1 CC w32uniscribe.o In file included from w32uniscribe.c:34:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32uniscribe.o' failed make[1]: *** [w32uniscribe.o] Error 1 CC w32.o CC w32console.o In file included from w32console.c:35:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32console.o' failed make[1]: *** [w32console.o] Error 1 CC w32inevt.o In file included from w32inevt.c:42:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32inevt.o' failed make[1]: *** [w32inevt.o] Error 1 CC w32proc.o In file included from w32proc.c:63:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `w32proc.o' failed make[1]: *** [w32proc.o] Error 1 CC fontset.o In file included from fontset.c:39:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `fontset.o' failed make[1]: *** [fontset.o] Error 1 CC fringe.o CC image.o In file included from image.c:60:0: w32term.h:371:3: error: unknown type name 'Cursor' Cursor current_cursor; ^~~~~~ Makefile:394: recipe for target `image.o' failed make[1]: *** [image.o] Error 1