Opened 4 months ago

Last modified 4 months ago

#65676 new defect

quartz-wm: Could not open /usr/lib/libgcc_s_ppc64.1.dylib: Error opening or reading file (referenced from /opt/local/lib/libquartz-wm-ds.1.dylib)

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: quartz-wm

Description

Could not open /usr/lib/libgcc_s_ppc64.1.dylib: Error opening or reading file (referenced from /opt/local/lib/libquartz-wm-ds.1.dylib)
--->  Found 1 broken file, matching files to ports       
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: quartz-wm @1.3.2

Of course there is no such dylib, and rebuilding does not help.

Change History (3)

comment:1 Changed 4 months ago by barracuda156

And with gcc12 it fails fabulously:

In file included from x-list.c:29:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:46:1: note: in expansion of macro 'X_EXTERN'
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      | ^~~~~~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:1: note: in expansion of macro 'X_EXTERN'
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      | ^~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:1: note: in expansion of macro 'X_EXTERN'
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      | ^~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:51:1: note: in expansion of macro 'X_EXTERN'
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      | ^~~~~~~~
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:1: note: in expansion of macro 'X_EXTERN'
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      | ^~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:1: note: in expansion of macro 'X_EXTERN'
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      | ^~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:1: note: in expansion of macro 'X_EXTERN'
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      | ^~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:1: note: in expansion of macro 'X_EXTERN'
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      | ^~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:1: note: in expansion of macro 'X_EXTERN'
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      | ^~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:1: note: in expansion of macro 'X_EXTERN'
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      | ^~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:1: note: in expansion of macro 'X_EXTERN'
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      | ^~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
x-list.c:54:10: error: expected ';' before 'void'
   54 | X_EXTERN void
      |          ^~~~
x-list.c:66:10: error: expected ';' before 'void'
   66 | X_EXTERN void
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:82:1: note: in expansion of macro 'X_EXTERN'
   82 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:82:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   82 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:114:1: note: in expansion of macro 'X_EXTERN'
  114 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:114:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  114 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:130:1: note: in expansion of macro 'X_EXTERN'
  130 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:130:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  130 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:146:1: note: in expansion of macro 'X_EXTERN'
  146 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:146:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  146 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:158:1: note: in expansion of macro 'X_EXTERN'
  158 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:158:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  158 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:167:1: note: in expansion of macro 'X_EXTERN'
  167 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:167:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  167 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:186:1: note: in expansion of macro 'X_EXTERN'
  186 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:186:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  186 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:201:1: note: in expansion of macro 'X_EXTERN'
  201 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:201:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  201 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:215:1: note: in expansion of macro 'X_EXTERN'
  215 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:215:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  215 | X_EXTERN x_list *
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:228:1: note: in expansion of macro 'X_EXTERN'
  228 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:228:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  228 | X_EXTERN x_list *
      |                 ^
x-list.c:249:10: error: expected ';' before 'unsigned'
  249 | X_EXTERN unsigned int
      |          ^~~~~~~~
x-list.c:261:10: error: expected ';' before 'void'
  261 | X_EXTERN void
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.c:324:1: note: in expansion of macro 'X_EXTERN'
  324 | X_EXTERN x_list *
      | ^~~~~~~~
x-list.c:324:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  324 | X_EXTERN x_list *
      |                 ^
x-list.c:273:1: warning: 'list_sort_1' defined but not used [-Wunused-function]
  273 | list_sort_1 (x_list *lst, int length,
      | ^~~~~~~~~~~
make[2]: *** [x-list.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from quartz-wm.h:40,
                 from main.m:29:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
In file included from quartz-wm.h:40,
                 from x-input.m:29:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
In file included from quartz-wm.h:40,
                 from dock-support-handler.m:32:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
In file included from quartz-wm.h:40,
                 from utils.m:30:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
In file included from frame.m:29:
frame.h:40:2: warning: #warning "Old libXplugin version detected.  Some features may not be supported." [-Wcpp]
   40 | #warning "Old libXplugin version detected.  Some features may not be supported."
      |  ^~~~~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
In file included from quartz-wm.h:40,
                 from frame.m:30:
x-list.h:45:10: error: expected ';' before 'void'
   45 | X_EXTERN void X_PFX (list_free_1) (x_list *node);
      |          ^~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:46:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   46 | X_EXTERN x_list *X_PFX (list_prepend) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:48:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   48 | X_EXTERN x_list *X_PFX (list_append) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:49:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   49 | X_EXTERN x_list *X_PFX (list_remove) (x_list *lst, void *data);
      |                 ^
x-list.h:50:10: error: expected ';' before 'void'
   50 | X_EXTERN void X_PFX (list_free) (x_list *lst);
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:51:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   51 | X_EXTERN x_list *X_PFX (list_pop) (x_list *lst, void **data_ret);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:53:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   53 | X_EXTERN x_list *X_PFX (list_copy) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:54:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   54 | X_EXTERN x_list *X_PFX (list_reverse) (x_list *lst);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   55 | X_EXTERN x_list *X_PFX (list_find) (x_list *lst, void *data);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   56 | X_EXTERN x_list *X_PFX (list_nth) (x_list *lst, int n);
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   57 | X_EXTERN x_list *X_PFX (list_filter) (x_list *src,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:60:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   60 | X_EXTERN x_list *X_PFX (list_map) (x_list *src,
      |                 ^
x-list.h:64:10: error: expected ';' before 'unsigned'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |          ^~~~~~~~
x-list.h:65:10: error: expected ';' before 'void'
   65 | X_EXTERN void X_PFX (list_foreach) (x_list *lst, void (*fun)
      |          ^~~~
In file included from x-window.h:30,
                 from dock-support-handler.m:34:
frame.h:40:2: warning: #warning "Old libXplugin version detected.  Some features may not be supported." [-Wcpp]
   40 | #warning "Old libXplugin version detected.  Some features may not be supported."
      |  ^~~~~~~
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
In file included from x-window.h:30,
                 from x-input.m:31:
frame.h:40:2: warning: #warning "Old libXplugin version detected.  Some features may not be supported." [-Wcpp]
   40 | #warning "Old libXplugin version detected.  Some features may not be supported."
      |  ^~~~~~~
In file included from main.m:31:
frame.h:40:2: warning: #warning "Old libXplugin version detected.  Some features may not be supported." [-Wcpp]
   40 | #warning "Old libXplugin version detected.  Some features may not be supported."
      |  ^~~~~~~
In file included from /usr/include/stdio.h:443,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:23,
                 from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
                 from quartz-wm.h:32:
main.m: In function 'x_error_handler':
main.m:140:40: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
  140 |     snprintf(bufferA, sizeof(bufferA), bufferB, e->request_code);
      |                                        ^~~~~~~
main.m:151:12: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
  151 |         DB(bufferA, e->minor_code);
      |            ^~~~~~~
quartz-wm.h:205:70: note: in definition of macro 'DB'
  205 | #define DB(msg, args...) debug_asl(__FILE__, __FUNCTION__, __LINE__, msg, ##args);
      |                                                                      ^~~
make[2]: *** [dock-support-handler.o] Error 1
x-list.h:42:19: error: unknown type name '__private_extern__'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:42:19: note: in definition of macro 'X_EXTERN'
   42 | # define X_EXTERN __private_extern__
      |                   ^~~~~~~~~~~~~~~~~~
x-list.h:69:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   69 | X_EXTERN x_list *X_PFX (list_sort) (x_list *lst, int (*less) (const void *,
      |                 ^
x-input.m: In function 'list_next':
x-input.m:103:12: error: implicit declaration of function 'x_list_find'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  103 |     node = x_list_find (lst, item);
      |            ^~~~~~~~~~~
      |            x_list_free
x-input.m:103:12: warning: nested extern declaration of 'x_list_find' [-Wnested-externs]
x-input.m:103:10: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  103 |     node = x_list_find (lst, item);
      |          ^
make[2]: *** [utils.o] Error 1
x-input.m: In function 'next_window':
x-input.m:127:15: error: implicit declaration of function 'x_list_copy' [-Werror=implicit-function-declaration]
  127 |         lst = x_list_copy (w->_screen->_window_list);
      |               ^~~~~~~~~~~
x-input.m:127:15: warning: nested extern declaration of 'x_list_copy' [-Wnested-externs]
x-input.m:127:13: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  127 |         lst = x_list_copy (w->_screen->_window_list);
      |             ^
main.m: In function 'x_init':
main.m:368:23: error: implicit declaration of function 'x_list_prepend'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  368 |         screen_list = x_list_prepend (screen_list, s);
      |                       ^~~~~~~~~~~~~~
      |                       x_list_free
main.m:368:23: warning: nested extern declaration of 'x_list_prepend' [-Wnested-externs]
main.m:368:21: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  368 |         screen_list = x_list_prepend (screen_list, s);
      |                     ^
make[2]: *** [frame.o] Error 1
main.m: In function 'x_update_window_menu_focused':
main.m:437:28: error: implicit declaration of function 'x_list_find'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  437 |         m = x_list_length (x_list_find (window_menu, _active_window));
      |                            ^~~~~~~~~~~
      |                            x_list_free
main.m:437:28: warning: nested extern declaration of 'x_list_find' [-Wnested-externs]
main.m:437:28: warning: passing argument 1 of 'x_list_length' makes pointer from integer without a cast [-Wint-conversion]
  437 |         m = x_list_length (x_list_find (window_menu, _active_window));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            int
x-list.h:64:52: note: expected 'x_list *' {aka 'struct x_list_struct *'} but argument is of type 'int'
   64 | X_EXTERN unsigned int X_PFX (list_length) (x_list *lst);
      |                                            ~~~~~~~~^~~
x-input.m:129:19: error: implicit declaration of function 'x_list_reverse'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  129 |             lst = x_list_reverse (lst);
      |                   ^~~~~~~~~~~~~~
      |                   x_list_free
x-input.m:129:19: warning: nested extern declaration of 'x_list_reverse' [-Wnested-externs]
x-input.m:129:17: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  129 |             lst = x_list_reverse (lst);
      |                 ^
main.m: In function 'x_add_window_to_menu':
main.m:495:23: error: implicit declaration of function 'x_list_append'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  495 |         window_menu = x_list_append (window_menu, [w retain]);
      |                       ^~~~~~~~~~~~~
      |                       x_list_free
main.m:495:23: warning: nested extern declaration of 'x_list_append' [-Wnested-externs]
main.m:495:21: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  495 |         window_menu = x_list_append (window_menu, [w retain]);
      |                     ^
main.m: In function 'x_remove_window_from_menu':
main.m:506:23: error: implicit declaration of function 'x_list_remove'; did you mean 'x_list_free'? [-Werror=implicit-function-declaration]
  506 |         window_menu = x_list_remove (window_menu, w);
      |                       ^~~~~~~~~~~~~
      |                       x_list_free
main.m:506:23: warning: nested extern declaration of 'x_list_remove' [-Wnested-externs]
main.m:506:21: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  506 |         window_menu = x_list_remove (window_menu, w);
      |                     ^
main.m: In function 'x_activate_window_in_menu':
main.m:518:12: error: implicit declaration of function 'x_list_nth'; did you mean 'x_list_length'? [-Werror=implicit-function-declaration]
  518 |     node = x_list_nth (window_menu, n);
      |            ^~~~~~~~~~
      |            x_list_length
main.m:518:12: warning: nested extern declaration of 'x_list_nth' [-Wnested-externs]
main.m:518:10: warning: assignment to 'x_list *' {aka 'struct x_list_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  518 |     node = x_list_nth (window_menu, n);
      |          ^
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:25:
main.m: In function 'main':
main.m:1017:9: error: '-fobjc-exceptions' is required to enable Objective-C exception syntax
 1017 |         NS_DURING
      |         ^~~~~~~~~
main.m:1021:26: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1021 |                          [localException name], [localException reason]];
      |                          ^
main.m:950:24: warning: variable 'pool' set but not used [-Wunused-but-set-variable]
  950 |     NSAutoreleasePool *pool;
      |                        ^~~~
cc1obj: some warnings being treated as errors
make[2]: *** [x-input.o] Error 1
cc1obj: some warnings being treated as errors
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.2'
make: *** [all] Error 2

comment:2 Changed 4 months ago by cooljeanius (Eric Gallager)

__private_extern__ should be replaced with __attribute__((visibility("hidden"))) these days for compilers like GCC 12

Last edited 4 months ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:3 in reply to:  2 Changed 4 months ago by barracuda156

Replying to cooljeanius:

__private_extern__ should be replaced with __attribute__((visibility("hidden"))) these days for compilers like GCC 12

Thank you!

Any idea why gcc-4.2 tries to link with a non-existent dylib, that too for ppc64 (on ppc32 Rosetta)?

Note: See TracTickets for help on using tickets.