Skip to content

Instantly share code, notes, and snippets.

@VitalyAnkh
Created November 29, 2021 12:15
Show Gist options
  • Save VitalyAnkh/59c538685e90f2cb9f7d9cbe67f64823 to your computer and use it in GitHub Desktop.
Save VitalyAnkh/59c538685e90f2cb9f7d9cbe67f64823 to your computer and use it in GitHub Desktop.
In file included from termchar.h:23,
from scroll.c:25:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from termhooks.h:27,
from frame.h:22,
from character.c:37:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from composite.h:29,
from coding.c:297:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from composite.h:29,
from coding.h:284,
from charset.c:39:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
make[1]: *** [Makefile:409:scroll.o] 错误 1
make[1]: *** 正在等待未完成的任务....
In file included from composite.h:29,
from coding.h:284,
from ccl.c:35:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from composite.h:29,
from coding.h:284,
from menu.c:28:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from termhooks.h:27,
from frame.h:22,
from character.c:37:
dispextern.h:1893:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
1893 | }
| ^
In file included from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from termchar.h:23,
from dispnew.c:28:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
make[1]: *** [Makefile:409:character.o] 错误 1
make[1]: *** [Makefile:409:ccl.o] 错误 1
In file included from composite.h:29,
from xdisp.c:441:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
make[1]: *** [Makefile:409:charset.o] 错误 1
make[1]: *** [Makefile:409:coding.o] 错误 1
In file included from /usr/include/X11/Xlib.h:44,
from xwidget.h:35,
from window.c:41:
/usr/include/X11/X.h: 在文件作用域:
/usr/include/X11/X.h:96:13: 错误:conflicting types for ‘Window’; have ‘XID’ {或称 ‘long unsigned int’}
96 | typedef XID Window;
| ^~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:49:13: 附注:previous declaration of ‘Window’ with type ‘Window’ {或称 ‘int’}
49 | typedef int Window;
| ^~~~~~
In file included from xwidget.h:35,
from window.c:41:
/usr/include/X11/Xlib.h:433:3: 错误:conflicting types for ‘XRectangle’; have ‘struct <匿名>’
433 | } XRectangle;
| ^~~~~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:62:3: 附注:previous declaration of ‘XRectangle’ with type ‘XRectangle’
62 | } XRectangle;
| ^~~~~~~~~~
In file included from xwidget.h:35,
from window.c:41:
/usr/include/X11/Xlib.h:487:26: 错误:conflicting types for ‘Display’; have ‘struct _XDisplay’
487 | typedef struct _XDisplay Display;
| ^~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:50:28: 附注:previous declaration of ‘Display’ with type ‘Display’ {或称 ‘struct _GdkDisplay’}
50 | typedef struct _GdkDisplay Display;
| ^~~~~~~
In file included from /usr/include/X11/Xlib.h:44,
from xwidget.h:35,
from dispnew.c:44:
/usr/include/X11/X.h: 在文件作用域:
/usr/include/X11/X.h:96:13: 错误:conflicting types for ‘Window’; have ‘XID’ {或称 ‘long unsigned int’}
96 | typedef XID Window;
| ^~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:49:13: 附注:previous declaration of ‘Window’ with type ‘Window’ {或称 ‘int’}
49 | typedef int Window;
| ^~~~~~
In file included from xwidget.h:35,
from window.c:41:
/usr/include/X11/Xlib.h:1024:3: 错误:conflicting types for ‘XCharStruct’; have ‘struct <匿名>’
1024 | } XCharStruct;
| ^~~~~~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:30:3: 附注:previous declaration of ‘XCharStruct’ with type ‘XCharStruct’ {或称 ‘struct _XCharStruct’}
30 | } XCharStruct;
| ^~~~~~~~~~~
In file included from xwidget.h:35,
from window.c:41:
/usr/include/X11/Xlib.h:1067:3: 错误:conflicting types for ‘XChar2b’; have ‘struct <匿名>’
1067 | } XChar2b;
| ^~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:34:17: 附注:previous declaration of ‘XChar2b’ with type ‘XChar2b’ {或称 ‘short unsigned int’}
34 | typedef unichar XChar2b;
| ^~~~~~~
In file included from xwidget.h:35,
from dispnew.c:44:
/usr/include/X11/Xlib.h:433:3: 错误:conflicting types for ‘XRectangle’; have ‘struct <匿名>’
433 | } XRectangle;
| ^~~~~~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:62:3: 附注:previous declaration of ‘XRectangle’ with type ‘XRectangle’
62 | } XRectangle;
| ^~~~~~~~~~
In file included from xwidget.h:35,
from dispnew.c:44:
/usr/include/X11/Xlib.h:487:26: 错误:conflicting types for ‘Display’; have ‘struct _XDisplay’
487 | typedef struct _XDisplay Display;
| ^~~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:50:28: 附注:previous declaration of ‘Display’ with type ‘Display’ {或称 ‘struct _GdkDisplay’}
50 | typedef struct _GdkDisplay Display;
| ^~~~~~~
In file included from xwidget.h:35,
from dispnew.c:44:
/usr/include/X11/Xlib.h:1024:3: 错误:conflicting types for ‘XCharStruct’; have ‘struct <匿名>’
1024 | } XCharStruct;
| ^~~~~~~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:30:3: 附注:previous declaration of ‘XCharStruct’ with type ‘XCharStruct’ {或称 ‘struct _XCharStruct’}
30 | } XCharStruct;
| ^~~~~~~~~~~
In file included from xwidget.h:35,
from dispnew.c:44:
/usr/include/X11/Xlib.h:1067:3: 错误:conflicting types for ‘XChar2b’; have ‘struct <匿名>’
1067 | } XChar2b;
| ^~~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:34:17: 附注:previous declaration of ‘XChar2b’ with type ‘XChar2b’ {或称 ‘short unsigned int’}
34 | typedef unichar XChar2b;
| ^~~~~~~
menu.c: 在函数‘single_menu_item’中:
menu.c:443:7: 错误:宏名必须是标识符
443 | #ifdef(HAVE_EXT_MENU_BAR) || defined(USE_X_TOOLKIT) \
| ^
In file included from xterm.h:33,
from xwidget.h:36,
from window.c:41:
/usr/include/X11/Xresource.h:175:35: 错误:conflicting types for ‘XrmDatabase’; have ‘struct _XrmHashBucketRec *’
175 | typedef struct _XrmHashBucketRec *XrmDatabase;
| ^~~~~~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:53:15: 附注:previous declaration of ‘XrmDatabase’ with type ‘XrmDatabase’ {或称 ‘void *’}
53 | typedef void *XrmDatabase;
| ^~~~~~~~~~~
In file included from xterm.h:33,
from xwidget.h:36,
from dispnew.c:44:
/usr/include/X11/Xresource.h:175:35: 错误:conflicting types for ‘XrmDatabase’; have ‘struct _XrmHashBucketRec *’
175 | typedef struct _XrmHashBucketRec *XrmDatabase;
| ^~~~~~~~~~~
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:53:15: 附注:previous declaration of ‘XrmDatabase’ with type ‘XrmDatabase’ {或称 ‘void *’}
53 | typedef void *XrmDatabase;
| ^~~~~~~~~~~
In file included from pgtkterm.h:21,
from gtkutil.h:29,
from frame.c:33:
dispextern.h: 在函数‘GLYPH_CODE_P’中:
dispextern.h:1890:58: 错误:expected expression before ‘>’ token
1890 | (MAX_FACE_ID<TYPE_MAXIMUM (EMACS_INT)> > CHARACTERBITS
| ^
In file included from /usr/include/X11/Xlib.h:44,
from xwidget.h:35,
from xdisp.c:465:
/usr/include/X11/X.h: 在文件作用域:
/usr/include/X11/X.h:96:13: 错误:conflicting types for ‘Window’; have ‘XID’ {或称 ‘long unsigned int’}
96 | typedef XID Window;
| ^~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from xdisp.c:441:
pgtkgui.h:49:13: 附注:previous declaration of ‘Window’ with type ‘Window’ {或称 ‘int’}
49 | typedef int Window;
| ^~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:1316: 警告:“STORE_NATIVE_RECT”重定义
1316 | #define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \
|
In file included from dispextern.h:139,
from termchar.h:23,
from dispnew.c:28:
pgtkgui.h:113: 附注:这是先前定义的位置
113 | #define STORE_NATIVE_RECT(nr, px, py, pwidth, pheight) \
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1316: 警告:“STORE_NATIVE_RECT”重定义
1316 | #define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \
|
In file included from dispextern.h:139,
from composite.h:29,
from coding.h:284,
from keyboard.h:23,
from window.c:30:
pgtkgui.h:113: 附注:这是先前定义的位置
113 | #define STORE_NATIVE_RECT(nr, px, py, pwidth, pheight) \
|
In file included from xwidget.h:35,
from xdisp.c:465:
/usr/include/X11/Xlib.h:433:3: 错误:conflicting types for ‘XRectangle’; have ‘struct <匿名>’
433 | } XRectangle;
| ^~~~~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from xdisp.c:441:
pgtkgui.h:62:3: 附注:previous declaration of ‘XRectangle’ with type ‘XRectangle’
62 | } XRectangle;
| ^~~~~~~~~~
In file included from xwidget.h:35,
from xdisp.c:465:
/usr/include/X11/Xlib.h:487:26: 错误:conflicting types for ‘Display’; have ‘struct _XDisplay’
487 | typedef struct _XDisplay Display;
| ^~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from xdisp.c:441:
pgtkgui.h:50:28: 附注:previous declaration of ‘Display’ with type ‘Display’ {或称 ‘struct _GdkDisplay’}
50 | typedef struct _GdkDisplay Display;
| ^~~~~~~
In file included from xwidget.h:35,
from xdisp.c:465:
/usr/include/X11/Xlib.h:1024:3: 错误:conflicting types for ‘XCharStruct’; have ‘struct <匿名>’
1024 | } XCharStruct;
| ^~~~~~~~~~~
In file included from dispextern.h:139,
from composite.h:29,
from xdisp.c:441:
pgtkgui.h:30:3: 附注:previous declaration of ‘XCharStruct’ with type ‘XCharStruct’ {或称 ‘struct _XCharStruct’}
30 | } XCharStruct;
| ^~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:60:8: 错误:‘struct scroll_bar’重定义
60 | struct scroll_bar
| ^~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:907:8: 附注:原先在这里定义
907 | struct scroll_bar
| ^~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:244:34: 错误:conflicting types for ‘x_display_list’; have ‘struct pgtk_display_info *’
244 | extern struct pgtk_display_info *x_display_list;
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:529:31: 附注:previous declaration of ‘x_display_list’ with type ‘struct x_display_info *’
529 | extern struct x_display_info *x_display_list;
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:384:10: 错误:‘struct relief’重定义
384 | struct relief
| ^~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:744:10: 附注:原先在这里定义
744 | struct relief
| ^~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:402:8: 错误:‘struct x_output’重定义
402 | struct x_output
| ^~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:544:8: 附注:原先在这里定义
544 | struct x_output
| ^~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:414:3: 错误:枚举‘FOCUS_NONE’重声明
414 | FOCUS_NONE = 0,
| ^~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:787:3: 附注:previous definition of ‘FOCUS_NONE’ with type ‘enum <匿名>’
787 | FOCUS_NONE = 0,
| ^~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:415:3: 错误:枚举‘FOCUS_IMPLICIT’重声明
415 | FOCUS_IMPLICIT = 1,
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:788:3: 附注:previous definition of ‘FOCUS_IMPLICIT’ with type ‘enum <匿名>’
788 | FOCUS_IMPLICIT = 1,
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:416:3: 错误:枚举‘FOCUS_EXPLICIT’重声明
416 | FOCUS_EXPLICIT = 2
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:789:3: 附注:previous definition of ‘FOCUS_EXPLICIT’ with type ‘enum <匿名>’
789 | FOCUS_EXPLICIT = 2
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:420: 警告:“FRAME_X_OUTPUT”重定义
420 | #define FRAME_X_OUTPUT(f) ((f)->output_data.pgtk)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:794: 附注:这是先前定义的位置
794 | #define FRAME_X_OUTPUT(f) ((f)->output_data.x)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:423: 警告:“FRAME_DISPLAY_INFO”重定义
423 | #define FRAME_DISPLAY_INFO(f) (FRAME_X_OUTPUT (f)->display_info)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:874: 附注:这是先前定义的位置
874 | #define FRAME_DISPLAY_INFO(f) ((f)->output_data.x->display_info)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:428: 警告:“FRAME_FONT”重定义
428 | #define FRAME_FONT(f) (FRAME_X_OUTPUT (f)->font)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:860: 附注:这是先前定义的位置
860 | #define FRAME_FONT(f) ((f)->output_data.x->font)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:429: 警告:“FRAME_GTK_OUTER_WIDGET”重定义
429 | #define FRAME_GTK_OUTER_WIDGET(f) (FRAME_X_OUTPUT (f)->widget)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:842: 附注:这是先前定义的位置
842 | #define FRAME_GTK_OUTER_WIDGET(f) ((f)->output_data.x->widget)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:430: 警告:“FRAME_GTK_WIDGET”重定义
430 | #define FRAME_GTK_WIDGET(f) (FRAME_X_OUTPUT (f)->edit_widget)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:843: 附注:这是先前定义的位置
843 | #define FRAME_GTK_WIDGET(f) ((f)->output_data.x->edit_widget)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:437: 警告:“FRAME_X_WINDOW”重定义
437 | #define FRAME_X_WINDOW(f) FRAME_GTK_OUTER_WIDGET (f)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:798: 附注:这是先前定义的位置
798 | #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:438: 警告:“FRAME_NATIVE_WINDOW”重定义
438 | #define FRAME_NATIVE_WINDOW(f) GTK_WINDOW (FRAME_X_WINDOW (f))
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:799: 附注:这是先前定义的位置
799 | #define FRAME_NATIVE_WINDOW(f) FRAME_X_WINDOW (f)
|
In file included from xwidget.h:35,
from xdisp.c:465:
/usr/include/X11/Xlib.h:1067:3: 错误:conflicting types for ‘XChar2b’; have ‘struct <匿名>’
1067 | } XChar2b;
| ^~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:440: 警告:“FRAME_X_DISPLAY”重定义
440 | #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->gdpy)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:877: 附注:这是先前定义的位置
877 | #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->display)
|
In file included from dispextern.h:139,
from composite.h:29,
from xdisp.c:441:
pgtkgui.h:34:17: 附注:previous declaration of ‘XChar2b’ with type ‘XChar2b’ {或称 ‘short unsigned int’}
34 | typedef unichar XChar2b;
| ^~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:442: 警告:“DEFAULT_GDK_DISPLAY”重定义
442 | #define DEFAULT_GDK_DISPLAY() gdk_display_get_default ()
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:828: 附注:这是先前定义的位置
828 | #define DEFAULT_GDK_DISPLAY() \
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:484: 警告:“FRAME_MENUBAR_HEIGHT”重定义
484 | #define FRAME_MENUBAR_HEIGHT(f) (FRAME_X_OUTPUT (f)->menubar_height)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:855: 附注:这是先前定义的位置
855 | #define FRAME_MENUBAR_HEIGHT(f) ((f)->output_data.x->menubar_height)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:500: 警告:“FRAME_TOOLBAR_TOP_HEIGHT”重定义
500 | #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.pgtk->toolbar_top_height)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:862: 附注:这是先前定义的位置
862 | #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_top_height)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:501: 警告:“FRAME_TOOLBAR_BOTTOM_HEIGHT”重定义
501 | #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:863: 附注:这是先前定义的位置
863 | #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:505: 警告:“FRAME_TOOLBAR_LEFT_WIDTH”重定义
505 | #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.pgtk->toolbar_left_width)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:867: 附注:这是先前定义的位置
867 | #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.x->toolbar_left_width)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:506: 警告:“FRAME_TOOLBAR_RIGHT_WIDTH”重定义
506 | #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.pgtk->toolbar_right_width)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:868: 附注:这是先前定义的位置
868 | #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.x->toolbar_right_width)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:510: 警告:“FRAME_FONTSET”重定义
510 | #define FRAME_FONTSET(f) (FRAME_X_OUTPUT (f)->fontset)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:861: 附注:这是先前定义的位置
861 | #define FRAME_FONTSET(f) ((f)->output_data.x->fontset)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:512: 警告:“FRAME_BASELINE_OFFSET”重定义
512 | #define FRAME_BASELINE_OFFSET(f) (FRAME_X_OUTPUT (f)->baseline_offset)
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:871: 附注:这是先前定义的位置
871 | #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_offset)
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:513: 警告:“BLACK_PIX_DEFAULT”重定义
513 | #define BLACK_PIX_DEFAULT(f) 0x000000
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:101: 附注:这是先前定义的位置
101 | #define BLACK_PIX_DEFAULT(f) \
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:514: 警告:“WHITE_PIX_DEFAULT”重定义
514 | #define WHITE_PIX_DEFAULT(f) 0xFFFFFF
|
In file included from xwidget.h:36,
from window.c:41:
xterm.h:103: 附注:这是先前定义的位置
103 | #define WHITE_PIX_DEFAULT(f) \
|
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:561:12: 错误:conflicting types for ‘x_display_pixel_height’; have ‘int(struct pgtk_display_info *)’
561 | extern int x_display_pixel_height (struct pgtk_display_info *);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1168:1: 附注:previous definition of ‘x_display_pixel_height’ with type ‘int(struct x_display_info *)’
1168 | x_display_pixel_height (struct x_display_info *dpyinfo)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:562:12: 错误:conflicting types for ‘x_display_pixel_width’; have ‘int(struct pgtk_display_info *)’
562 | extern int x_display_pixel_width (struct pgtk_display_info *);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1174:1: 附注:previous definition of ‘x_display_pixel_width’ with type ‘int(struct x_display_info *)’
1174 | x_display_pixel_width (struct x_display_info *dpyinfo)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:572:13: 警告:对‘x_set_z_group’冗余的重声明 [-Wredundant-decls]
572 | extern void x_set_z_group (struct frame *f, Lisp_Object new_value,
| ^~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1217:13: 附注:previous declaration of ‘x_set_z_group’ with type ‘void(struct frame *, struct Lisp_X *, struct Lisp_X *)’
1217 | extern void x_set_z_group (struct frame *, Lisp_Object, Lisp_Object);
| ^~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:598:13: 警告:对‘initialize_frame_menubar’冗余的重声明 [-Wredundant-decls]
598 | extern void initialize_frame_menubar (struct frame *);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1302:13: 附注:previous declaration of ‘initialize_frame_menubar’ with type ‘void(struct frame *)’
1302 | extern void initialize_frame_menubar (struct frame *);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:618:13: 警告:对‘x_wm_set_size_hint’冗余的重声明 [-Wredundant-decls]
618 | extern void x_wm_set_size_hint (struct frame *, long, bool);
| ^~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1131:13: 附注:previous declaration of ‘x_wm_set_size_hint’ with type ‘void(struct frame *, long int, _Bool)’
1131 | extern void x_wm_set_size_hint (struct frame *, long, bool);
| ^~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:619:13: 警告:对‘x_free_frame_resources’冗余的重声明 [-Wredundant-decls]
619 | extern void x_free_frame_resources (struct frame *);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1130:13: 附注:previous declaration of ‘x_free_frame_resources’ with type ‘void(struct frame *)’
1130 | extern void x_free_frame_resources (struct frame *);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:628:13: 警告:对‘x_change_tab_bar_height’冗余的重声明 [-Wredundant-decls]
628 | extern void x_change_tab_bar_height (struct frame *, int);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1227:13: 附注:previous declaration of ‘x_change_tab_bar_height’ with type ‘void(struct frame *, int)’
1227 | extern void x_change_tab_bar_height (struct frame *, int);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:647:13: 警告:对‘xg_set_icon’冗余的重声明 [-Wredundant-decls]
647 | extern bool xg_set_icon (struct frame *, Lisp_Object);
| ^~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1266:13: 附注:previous declaration of ‘xg_set_icon’ with type ‘_Bool(struct frame *, struct Lisp_X *)’
1266 | extern bool xg_set_icon (struct frame *, Lisp_Object);
| ^~~~~~~~~~~
In file included from gtkutil.h:29,
from window.c:43:
pgtkterm.h:648:13: 警告:对‘xg_set_icon_from_xpm_data’冗余的重声明 [-Wredundant-decls]
648 | extern bool xg_set_icon_from_xpm_data (struct frame *f, const char **data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xwidget.h:36,
from window.c:41:
xterm.h:1267:13: 附注:previous declaration of ‘xg_set_icon_from_xpm_data’ with type ‘_Bool(struct frame *, const char **)’
1267 | extern bool xg_set_icon_from_xpm_data (struct frame *, const char **);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:60:8: 错误:‘struct scroll_bar’重定义
60 | struct scroll_bar
| ^~~~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:907:8: 附注:原先在这里定义
907 | struct scroll_bar
| ^~~~~~~~~~
在文件作用域:
menu.c:191:1: 警告:‘push_submenu_end’ defined but not used [-Wunused-function]
191 | push_submenu_end (void)
| ^~~~~~~~~~~~~~~~
menu.c:180:1: 警告:‘push_submenu_start’ defined but not used [-Wunused-function]
180 | push_submenu_start (void)
| ^~~~~~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:244:34: 错误:conflicting types for ‘x_display_list’; have ‘struct pgtk_display_info *’
244 | extern struct pgtk_display_info *x_display_list;
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:529:31: 附注:previous declaration of ‘x_display_list’ with type ‘struct x_display_info *’
529 | extern struct x_display_info *x_display_list;
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:384:10: 错误:‘struct relief’重定义
384 | struct relief
| ^~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:744:10: 附注:原先在这里定义
744 | struct relief
| ^~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:402:8: 错误:‘struct x_output’重定义
402 | struct x_output
| ^~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:544:8: 附注:原先在这里定义
544 | struct x_output
| ^~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:414:3: 错误:枚举‘FOCUS_NONE’重声明
414 | FOCUS_NONE = 0,
| ^~~~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:787:3: 附注:previous definition of ‘FOCUS_NONE’ with type ‘enum <匿名>’
787 | FOCUS_NONE = 0,
| ^~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:415:3: 错误:枚举‘FOCUS_IMPLICIT’重声明
415 | FOCUS_IMPLICIT = 1,
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:788:3: 附注:previous definition of ‘FOCUS_IMPLICIT’ with type ‘enum <匿名>’
788 | FOCUS_IMPLICIT = 1,
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:416:3: 错误:枚举‘FOCUS_EXPLICIT’重声明
416 | FOCUS_EXPLICIT = 2
| ^~~~~~~~~~~~~~
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:789:3: 附注:previous definition of ‘FOCUS_EXPLICIT’ with type ‘enum <匿名>’
789 | FOCUS_EXPLICIT = 2
| ^~~~~~~~~~~~~~
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:420: 警告:“FRAME_X_OUTPUT”重定义
420 | #define FRAME_X_OUTPUT(f) ((f)->output_data.pgtk)
|
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:794: 附注:这是先前定义的位置
794 | #define FRAME_X_OUTPUT(f) ((f)->output_data.x)
|
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:423: 警告:“FRAME_DISPLAY_INFO”重定义
423 | #define FRAME_DISPLAY_INFO(f) (FRAME_X_OUTPUT (f)->display_info)
|
In file included from xwidget.h:36,
from dispnew.c:44:
xterm.h:874: 附注:这是先前定义的位置
874 | #define FRAME_DISPLAY_INFO(f) ((f)->output_data.x->display_info)
|
In file included from gtkutil.h:29,
from dispnew.c:47:
pgtkterm.h:428: 警告:“FRAME_FONT”重定义
428 | #define FRAME_FONT(f) (FRAME_X_OUTPUT (f)->font)
|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment