From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52675: 28.0.60; /usr/include/X11/X.h:96:13: error: conflicting types for =?UTF-8?Q?=E2=80=98Window=E2=80=99?= Date: Mon, 20 Dec 2021 11:30:39 +0800 Message-ID: <878rwg3qcg.fsf@yahoo.com> References: <87sfuoozxq.fsf@163.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: 52675@debbugs.gnu.org To: "Feng Shu" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 20 04:31:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mz9OL-0008ZO-WB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 04:31:14 +0100 Original-Received: from localhost ([::1]:43656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz9OK-0000eb-SY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 22:31:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz9OD-0000bj-E9 for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 22:31:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz9OA-0005UE-F5 for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 22:31:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mz9OA-0001i0-CD for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 22:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Dec 2021 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52675 X-GNU-PR-Package: emacs Original-Received: via spool by 52675-submit@debbugs.gnu.org id=B52675.16399710616560 (code B ref 52675); Mon, 20 Dec 2021 03:31:02 +0000 Original-Received: (at 52675) by debbugs.gnu.org; 20 Dec 2021 03:31:01 +0000 Original-Received: from localhost ([127.0.0.1]:48609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz9O8-0001hj-OF for submit@debbugs.gnu.org; Sun, 19 Dec 2021 22:31:01 -0500 Original-Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:33621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz9O4-0001hR-Rw for 52675@debbugs.gnu.org; Sun, 19 Dec 2021 22:30:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639971051; bh=o1WH5ZbTaRCHzM3SnW7c/u2QHP4xABNOw9AHaLXnhio=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=VQk9gTReoEjANS1y/xl/RUbq/9S2kCN2Tr3TfNiizNjgmzXJxb7GtvwnXEs5QdJf4ts+qXz23XOaZVM8Su5zqc09us8twBVZXKMy1hBrqSD1jeYokuJ9d31OQ05d9cub7VGbeJo++gcLIHBgsA2FQEqnvCR+6nQkgFxu7ksJbXXNuMYDc5mWIwuT7bt9BdAig6pzdQ1sOx2HUIhAfx/YuoVFhl5SrBBkaGzcqyxJHWraqEfaaHkXV6rbAhcguLRNUmqRxnyGB7KYqCE+20uaIjNojF26x9RYwX7S9WY3nKpWz4g+D73PWwRgiRA2yeVVDoL+2zpaULgKA6550eASYw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639971051; bh=qnxRmusr/tO3LQyIi1qhWS2cmtMShfoRNYTXH/0OH0n=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cOY3LYHsDOD/gI2AQN2LMA/9Aar1WWJgwdAA4ysEyDbfU7040XQk0BF8VcNxRUdhupyXUln8FXO1nQdT3vxTMe5EHixo0pX7c7jT+phRrpWMaS8w4Z3M1IaQdX9frUk/zg2k4cC0AlwrncYEpQwWgq+oopNv/buBvL3vlQ7LmDeGU6ZRPCLNNft0GT6L8xKfVBIiN6FMquErRPM93BF4Kx6CwHldjttUuRilqNePEKLrw+Msd3L3vwx7FTZY1xaM1mbFbp86RwkDGkrFJ26nitmPVLD9GDU3j20CaHDIF0kB8O2p2g4V1k0bizDsGlOJ8V4c76py+bkCwk2Mr+iEOg== X-YMail-OSG: a0fRslQVM1kNtcDVs1dfER3XKgtzglikY8KJ38eD.xqnffS_JjKSt8.VH70pcxv 3N44Rz7Fx1oduaVo90ZITBOimT3bX3mQvd1tPq4dWg32sjvLNUFXVwSiMeh1XB3h2rTnI9TGGsSx uPk1yEImHxkAfmbzx5ZJTVQj7ndoanJXWssOLXeiWGuRPUZbxLr4P8JpLRP_9ptrYLEQI.o.RU2v twtCByfWme1cLyIocE.X1doqoKWOCMqfYkrNnqjWYdacBGXNMob8jQtj2Or3XVslyCtkjRtsX2jN ZzdPw6SWBSecJsYx.uPlgHgCoaUcUcU5ZeGSlES55KxWuBKS4tDJ.i540B3Ldk1Au4Dwd4pq0a4a AT2yCa3vJM9_oTjcH1rdm19Uxe7WDyVbckB3hXQK5HEkcWlniS90gBrpxsKgiLPCfsYGtF9uf_kP 48Gtw3KvzDsHvxJ.7O6XmE0Q2kXsBTSx6aTw8ehmlS0zIRvWXgAUhZQQnWmEr9rrM2Mskt4LHhnl 1Z4JXjAdkzrViNBhGpw6BHJCYxbHnjXxmbarWjaw99CDlqYUB.mQgeuu5g_GYuO2JgUUZLsV6kGu ACtChpkaN6W2Nwp3iRv3Oj7e41cHfH47fOrrNEou8BPpYoSDl6CRb2IiLetnDbujGJdCLrKpvgZC ACRKk975LYR24ti_vpdBpG09x03Do5BNsRQUlOV6gvRtiuY3bjGSkFE93D0DpOdrlRD785RmRiw6 moGjODxsxR0Fq5uATBCgw5J4.V8JUsZaENfmq1S9Ru1OZJuuoU0o2Wo0fxI5A7Mz9uNc2G_E7RxE p7ak8Dya4UJZxSCBt.bzc9xzeXYjhkXTvFtpSuQvss X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Dec 2021 03:30:51 +0000 Original-Received: by kubenode507.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3b22bcfd8d297f99918069649fce92b9; Mon, 20 Dec 2021 03:30:44 +0000 (UTC) In-Reply-To: <87sfuoozxq.fsf@163.com> (Feng Shu's message of "Mon, 20 Dec 2021 08:57:53 +0800") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222765 Archived-At: "Feng Shu" writes: > In file included from /usr/include/X11/Xlib.h:44, > from xwidget.h:35, > from dispnew.c:43: > /usr/include/X11/X.h:96:13: error: conflicting types for =E2=80=98Window= =E2=80=99 > 96 | typedef XID Window; > | ^~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:49:13: note: previous declaration of =E2=80=98Window=E2=80=99 w= as here > 49 | typedef int Window; > | ^~~~~~ > In file included from xwidget.h:35, > from dispnew.c:43: > /usr/include/X11/Xlib.h:433:3: error: conflicting types for =E2=80=98XRec= tangle=E2=80=99 > 433 | } XRectangle; > | ^~~~~~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:62:3: note: previous declaration of =E2=80=98XRectangle=E2=80= =99 was here > 62 | } XRectangle; > | ^~~~~~~~~~ > In file included from xwidget.h:35, > from dispnew.c:43: > /usr/include/X11/Xlib.h:487:26: error: conflicting types for =E2=80=98Dis= play=E2=80=99 > 487 | typedef struct _XDisplay Display; > | ^~~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:50:28: note: previous declaration of =E2=80=98Display=E2=80=99 = was here > 50 | typedef struct _GdkDisplay Display; > | ^~~~~~~ > In file included from xwidget.h:35, > from dispnew.c:43: > /usr/include/X11/Xlib.h:1024:3: error: conflicting types for =E2=80=98XCh= arStruct=E2=80=99 > 1024 | } XCharStruct; > | ^~~~~~~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:30:3: note: previous declaration of =E2=80=98XCharStruct=E2=80= =99 was here > 30 | } XCharStruct; > | ^~~~~~~~~~~ > In file included from xwidget.h:35, > from dispnew.c:43: > /usr/include/X11/Xlib.h:1067:3: error: conflicting types for =E2=80=98XCh= ar2b=E2=80=99 > 1067 | } XChar2b; > | ^~~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:34:17: note: previous declaration of =E2=80=98XChar2b=E2=80=99 = was here > 34 | typedef unichar XChar2b; > | ^~~~~~~ > In file included from xterm.h:33, > from xwidget.h:36, > from dispnew.c:43: > /usr/include/X11/Xresource.h:175:35: error: conflicting types for =E2=80= =98XrmDatabase=E2=80=99 > 175 | typedef struct _XrmHashBucketRec *XrmDatabase; > | ^~~~~~~~~~~ > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:53:15: note: previous declaration of =E2=80=98XrmDatabase=E2=80= =99 was here > 53 | typedef void *XrmDatabase; > | ^~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1327: warning: "STORE_NATIVE_RECT" redefined > 1327 | #define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \ > |=20 > In file included from dispextern.h:138, > from termchar.h:23, > from dispnew.c:28: > pgtkgui.h:113: note: this is the location of the previous definition > 113 | #define STORE_NATIVE_RECT(nr, px, py, pwidth, pheight) \ > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:60:8: error: redefinition of =E2=80=98struct scroll_bar=E2=80= =99 > 60 | struct scroll_bar > | ^~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:918:8: note: originally defined here > 918 | struct scroll_bar > | ^~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:246:34: error: conflicting types for =E2=80=98x_display_list= =E2=80=99 > 246 | extern struct pgtk_display_info *x_display_list; > | ^~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:540:31: note: previous declaration of =E2=80=98x_display_list=E2= =80=99 was here > 540 | extern struct x_display_info *x_display_list; > | ^~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:386:10: error: redefinition of =E2=80=98struct relief=E2=80=99 > 386 | struct relief > | ^~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:755:10: note: originally defined here > 755 | struct relief > | ^~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:411:8: error: redefinition of =E2=80=98struct x_output=E2=80=99 > 411 | struct x_output > | ^~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:555:8: note: originally defined here > 555 | struct x_output > | ^~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:423:3: error: redeclaration of enumerator =E2=80=98FOCUS_NONE= =E2=80=99 > 423 | FOCUS_NONE =3D 0, > | ^~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:798:3: note: previous definition of =E2=80=98FOCUS_NONE=E2=80=99 = was here > 798 | FOCUS_NONE =3D 0, > | ^~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:424:3: error: redeclaration of enumerator =E2=80=98FOCUS_IMPLI= CIT=E2=80=99 > 424 | FOCUS_IMPLICIT =3D 1, > | ^~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:799:3: note: previous definition of =E2=80=98FOCUS_IMPLICIT=E2=80= =99 was here > 799 | FOCUS_IMPLICIT =3D 1, > | ^~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:425:3: error: redeclaration of enumerator =E2=80=98FOCUS_EXPLI= CIT=E2=80=99 > 425 | FOCUS_EXPLICIT =3D 2 > | ^~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:800:3: note: previous definition of =E2=80=98FOCUS_EXPLICIT=E2=80= =99 was here > 800 | FOCUS_EXPLICIT =3D 2 > | ^~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:429: warning: "FRAME_X_OUTPUT" redefined > 429 | #define FRAME_X_OUTPUT(f) ((f)->output_data.pgtk) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:805: note: this is the location of the previous definition > 805 | #define FRAME_X_OUTPUT(f) ((f)->output_data.x) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:432: warning: "FRAME_DISPLAY_INFO" redefined > 432 | #define FRAME_DISPLAY_INFO(f) (FRAME_X_OUTPUT (f)->display_in= fo) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:885: note: this is the location of the previous definition > 885 | #define FRAME_DISPLAY_INFO(f) ((f)->output_data.x->display_info) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:437: warning: "FRAME_FONT" redefined > 437 | #define FRAME_FONT(f) (FRAME_X_OUTPUT (f)->font) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:871: note: this is the location of the previous definition > 871 | #define FRAME_FONT(f) ((f)->output_data.x->font) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:438: warning: "FRAME_GTK_OUTER_WIDGET" redefined > 438 | #define FRAME_GTK_OUTER_WIDGET(f) (FRAME_X_OUTPUT (f)->widget) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:853: note: this is the location of the previous definition > 853 | #define FRAME_GTK_OUTER_WIDGET(f) ((f)->output_data.x->widget) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:439: warning: "FRAME_GTK_WIDGET" redefined > 439 | #define FRAME_GTK_WIDGET(f) (FRAME_X_OUTPUT (f)->edit_widge= t) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:854: note: this is the location of the previous definition > 854 | #define FRAME_GTK_WIDGET(f) ((f)->output_data.x->edit_widget) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:446: warning: "FRAME_X_WINDOW" redefined > 446 | #define FRAME_X_WINDOW(f) FRAME_GTK_OUTER_WIDGET (f) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:809: note: this is the location of the previous definition > 809 | #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:447: warning: "FRAME_NATIVE_WINDOW" redefined > 447 | #define FRAME_NATIVE_WINDOW(f) GTK_WINDOW (FRAME_X_WINDOW (f)) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:810: note: this is the location of the previous definition > 810 | #define FRAME_NATIVE_WINDOW(f) FRAME_X_WINDOW (f) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:449: warning: "FRAME_X_DISPLAY" redefined > 449 | #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->gdpy) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:888: note: this is the location of the previous definition > 888 | #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->display) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:451: warning: "DEFAULT_GDK_DISPLAY" redefined > 451 | #define DEFAULT_GDK_DISPLAY() gdk_display_get_default () > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:839: note: this is the location of the previous definition > 839 | #define DEFAULT_GDK_DISPLAY() \ > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:493: warning: "FRAME_MENUBAR_HEIGHT" redefined > 493 | #define FRAME_MENUBAR_HEIGHT(f) (FRAME_X_OUTPUT (f)->menubar_heig= ht) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:866: note: this is the location of the previous definition > 866 | #define FRAME_MENUBAR_HEIGHT(f) ((f)->output_data.x->menubar_heig= ht) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:509: warning: "FRAME_TOOLBAR_TOP_HEIGHT" redefined > 509 | #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.pgtk->toolb= ar_top_height) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:873: note: this is the location of the previous definition > 873 | #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_= top_height) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:510: warning: "FRAME_TOOLBAR_BOTTOM_HEIGHT" redefined > 510 | #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:874: note: this is the location of the previous definition > 874 | #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:514: warning: "FRAME_TOOLBAR_LEFT_WIDTH" redefined > 514 | #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.pgtk->toolb= ar_left_width) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:878: note: this is the location of the previous definition > 878 | #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.x->toolbar_= left_width) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:515: warning: "FRAME_TOOLBAR_RIGHT_WIDTH" redefined > 515 | #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.pgtk->tool= bar_right_width) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:879: note: this is the location of the previous definition > 879 | #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.x->toolbar= _right_width) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:519: warning: "FRAME_FONTSET" redefined > 519 | #define FRAME_FONTSET(f) (FRAME_X_OUTPUT (f)->fontset) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:872: note: this is the location of the previous definition > 872 | #define FRAME_FONTSET(f) ((f)->output_data.x->fontset) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:521: warning: "FRAME_BASELINE_OFFSET" redefined > 521 | #define FRAME_BASELINE_OFFSET(f) (FRAME_X_OUTPUT (f)->baseline_of= fset) > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:882: note: this is the location of the previous definition > 882 | #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_of= fset) > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:522: warning: "BLACK_PIX_DEFAULT" redefined > 522 | #define BLACK_PIX_DEFAULT(f) 0x000000 > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:101: note: this is the location of the previous definition > 101 | #define BLACK_PIX_DEFAULT(f) \ > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:523: warning: "WHITE_PIX_DEFAULT" redefined > 523 | #define WHITE_PIX_DEFAULT(f) 0xFFFFFF > |=20 > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:103: note: this is the location of the previous definition > 103 | #define WHITE_PIX_DEFAULT(f) \ > |=20 > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:574:12: error: conflicting types for =E2=80=98x_display_pixel_= height=E2=80=99 > 574 | extern int x_display_pixel_height (struct pgtk_display_info *); > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1179:1: note: previous definition of =E2=80=98x_display_pixel_hei= ght=E2=80=99 was here > 1179 | x_display_pixel_height (struct x_display_info *dpyinfo) > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:575:12: error: conflicting types for =E2=80=98x_display_pixel_= width=E2=80=99 > 575 | extern int x_display_pixel_width (struct pgtk_display_info *); > | ^~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1185:1: note: previous definition of =E2=80=98x_display_pixel_wid= th=E2=80=99 was here > 1185 | x_display_pixel_width (struct x_display_info *dpyinfo) > | ^~~~~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:585:13: warning: redundant redeclaration of =E2=80=98x_set_z_g= roup=E2=80=99 [-Wredundant-decls] > 585 | extern void x_set_z_group (struct frame *f, Lisp_Object new_value, > | ^~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1228:13: note: previous declaration of =E2=80=98x_set_z_group=E2= =80=99 was here > 1228 | extern void x_set_z_group (struct frame *, Lisp_Object, Lisp_Obje= ct); > | ^~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:608:13: warning: redundant redeclaration of =E2=80=98initializ= e_frame_menubar=E2=80=99 [-Wredundant-decls] > 608 | extern void initialize_frame_menubar (struct frame *); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1313:13: note: previous declaration of =E2=80=98initialize_frame_= menubar=E2=80=99 was here > 1313 | extern void initialize_frame_menubar (struct frame *); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:628:13: warning: redundant redeclaration of =E2=80=98x_wm_set_= size_hint=E2=80=99 [-Wredundant-decls] > 628 | extern void x_wm_set_size_hint (struct frame *, long, bool); > | ^~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1142:13: note: previous declaration of =E2=80=98x_wm_set_size_hin= t=E2=80=99 was here > 1142 | extern void x_wm_set_size_hint (struct frame *, long, bool); > | ^~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:629:13: warning: redundant redeclaration of =E2=80=98x_free_fr= ame_resources=E2=80=99 [-Wredundant-decls] > 629 | extern void x_free_frame_resources (struct frame *); > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1141:13: note: previous declaration of =E2=80=98x_free_frame_reso= urces=E2=80=99 was here > 1141 | extern void x_free_frame_resources (struct frame *); > | ^~~~~~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:638:13: warning: redundant redeclaration of =E2=80=98x_change_= tab_bar_height=E2=80=99 [-Wredundant-decls] > 638 | extern void x_change_tab_bar_height (struct frame *, int); > | ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1238:13: note: previous declaration of =E2=80=98x_change_tab_bar_= height=E2=80=99 was here > 1238 | extern void x_change_tab_bar_height (struct frame *, int); > | ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:657:13: warning: redundant redeclaration of =E2=80=98xg_set_ic= on=E2=80=99 [-Wredundant-decls] > 657 | extern bool xg_set_icon (struct frame *, Lisp_Object); > | ^~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1277:13: note: previous declaration of =E2=80=98xg_set_icon=E2=80= =99 was here > 1277 | extern bool xg_set_icon (struct frame *, Lisp_Object); > | ^~~~~~~~~~~ > In file included from gtkutil.h:29, > from dispnew.c:47: > pgtkterm.h:658:13: warning: redundant redeclaration of =E2=80=98xg_set_ic= on_from_xpm_data=E2=80=99 [-Wredundant-decls] > 658 | extern bool xg_set_icon_from_xpm_data (struct frame *f, const cha= r **data); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from xwidget.h:36, > from dispnew.c:43: > xterm.h:1278:13: note: previous declaration of =E2=80=98xg_set_icon_from_= xpm_data=E2=80=99 was here > 1278 | extern bool xg_set_icon_from_xpm_data (struct frame *, const char= **); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > make[2]: *** [Makefile:411=EF=BC=9Adispnew.o] =E9=94=99=E8=AF=AF 1 > make[2]: =E7=A6=BB=E5=BC=80=E7=9B=AE=E5=BD=95=E2=80=9C/home/feng/emacs/em= acs.git/src=E2=80=9D > make[1]: *** [Makefile:463=EF=BC=9Asrc] =E9=94=99=E8=AF=AF 2 > make[1]: =E7=A6=BB=E5=BC=80=E7=9B=AE=E5=BD=95=E2=80=9C/home/feng/emacs/em= acs.git=E2=80=9D > make: *** [Makefile:1173=EF=BC=9Abootstrap] =E9=94=99=E8=AF=AF 2 > > > > In GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,= cairo version 1.16.0) > of 2021-11-16 built on debian > Repository revision: e852822f3db469c985bf022651f184d6ff2c518a > Repository branch: emacs-28 > Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 > System Description: Debian GNU/Linux 11 (bullseye) The PGTK port doesn't support xwidgets at present, and this is a duplicate of bug#52564. Could someone please merge those two bugs? Thanks.