dwm-speedie/file

518 lines
34 KiB
Plaintext
Raw Normal View History

2023-09-13 15:24:02 +02:00
ninja: Entering directory `build'
[1/2] Compiling C object dwm.p/dwm.c.o
In file included from ../dwm.c:456:
../config.h:229:9: warning: missing initializer for field x of BarRule [-Wmissing-field-initializers]
229 | { -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, NULL, "taglabels" },
| ^
../dwm.c:184:13: note: x declared here
184 | int x, w; // position, width for internal use
| ^
../config.h:230:9: warning: missing initializer for field x of BarRule [-Wmissing-field-initializers]
230 | { 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" },
| ^
../dwm.c:184:13: note: x declared here
184 | int x, w; // position, width for internal use
| ^
../config.h:231:9: warning: missing initializer for field x of BarRule [-Wmissing-field-initializers]
231 | { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" },
| ^
../dwm.c:184:13: note: x declared here
184 | int x, w; // position, width for internal use
| ^
../config.h:232:9: warning: missing initializer for field x of BarRule [-Wmissing-field-initializers]
232 | { statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, NULL, "status2d" },
| ^
../dwm.c:184:13: note: x declared here
184 | int x, w; // position, width for internal use
| ^
../config.h:233:9: warning: missing initializer for field x of BarRule [-Wmissing-field-initializers]
233 | { -1, 0, BAR_ALIGN_NONE, width_awesomebar, draw_awesomebar, click_awesomebar, NULL, "awesomebar" },
| ^
../dwm.c:184:13: note: x declared here
184 | int x, w; // position, width for internal use
| ^
In file included from ../patch/include.c:3,
from ../dwm.c:458:
../patch/bar_tagicons.c: In function tagicon:
../patch/bar_tagicons.c:5:22: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
5 | if (tagindex >= LENGTH(tagicons[DEFAULT_TAGS]))
| ^~
In file included from ../patch/include.c:4:
../patch/bar.c: In function barhover:
../patch/bar.c:10:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
10 | for (r = 0; r < LENGTH(barrules); r++) {
| ^
In file included from ../patch/include.c:8:
../patch/bar_ltsymbol.c: In function width_ltsymbol:
../patch/bar_ltsymbol.c:2:34: warning: unused parameter a [-Wunused-parameter]
2 | width_ltsymbol(Bar *bar, BarArg *a)
| ~~~~~~~~^
../patch/bar_ltsymbol.c: In function click_ltsymbol:
../patch/bar_ltsymbol.c:14:21: warning: unused parameter bar [-Wunused-parameter]
14 | click_ltsymbol(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_ltsymbol.c:14:31: warning: unused parameter arg [-Wunused-parameter]
14 | click_ltsymbol(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_ltsymbol.c:14:44: warning: unused parameter a [-Wunused-parameter]
14 | click_ltsymbol(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~~~~^
In file included from ../patch/include.c:9:
../patch/bar_powerline_status.c: In function width_pwrl_status:
../patch/bar_powerline_status.c:4:24: warning: unused parameter bar [-Wunused-parameter]
4 | width_pwrl_status(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_powerline_status.c:4:37: warning: unused parameter a [-Wunused-parameter]
4 | width_pwrl_status(Bar *bar, BarArg *a)
| ~~~~~~~~^
../patch/bar_powerline_status.c: In function draw_pwrl_status:
../patch/bar_powerline_status.c:11:23: warning: unused parameter bar [-Wunused-parameter]
11 | draw_pwrl_status(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_powerline_status.c: In function click_pwrl_status:
../patch/bar_powerline_status.c:18:24: warning: unused parameter bar [-Wunused-parameter]
18 | click_pwrl_status(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_powerline_status.c:18:34: warning: unused parameter arg [-Wunused-parameter]
18 | click_pwrl_status(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_powerline_status.c:18:47: warning: unused parameter a [-Wunused-parameter]
18 | click_pwrl_status(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~~~~^
../patch/bar_powerline_status.c: In function drawpowerlinestatus:
../patch/bar_powerline_status.c:62:32: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
62 | if (cn < LENGTH(statuscolors)) {
| ^
In file included from ../patch/include.c:10:
../patch/bar_powerline_tags.c: In function width_pwrl_tags:
../patch/bar_powerline_tags.c:2:35: warning: unused parameter a [-Wunused-parameter]
2 | width_pwrl_tags(Bar *bar, BarArg *a)
| ~~~~~~~~^
In file included from ../patch/include.c:11:
../patch/bar_status2d.c: In function width_status:
../patch/bar_status2d.c:5:19: warning: unused parameter bar [-Wunused-parameter]
5 | width_status(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_status2d.c:5:32: warning: unused parameter a [-Wunused-parameter]
5 | width_status(Bar *bar, BarArg *a)
| ~~~~~~~~^
../patch/bar_status2d.c: In function draw_status:
../patch/bar_status2d.c:11:18: warning: unused parameter bar [-Wunused-parameter]
11 | draw_status(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_status2d.c: In function click_status:
../patch/bar_status2d.c:171:19: warning: unused parameter bar [-Wunused-parameter]
171 | click_status(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_status2d.c: In function click_status_text:
../patch/bar_status2d.c:193:32: warning: comparison of integer expressions of different signedness: char and long unsigned int [-Wsign-compare]
193 | if (ch <= LENGTH(clickstatuss))
| ^~
../patch/bar_status2d.c:177:24: warning: unused parameter arg [-Wunused-parameter]
177 | click_status_text(Arg *arg, int ax, char *text)
| ~~~~~^~~
In file included from ../patch/include.c:12:
../patch/bar_tags.c: In function width_tags:
../patch/bar_tags.c:2:30: warning: unused parameter a [-Wunused-parameter]
2 | width_tags(Bar *bar, BarArg *a)
| ~~~~~~~~^
../patch/bar_tags.c: In function hover_tags:
../patch/bar_tags.c:77:17: warning: unused parameter bar [-Wunused-parameter]
77 | hover_tags(Bar *bar, BarArg *a, XMotionEvent *ev)
| ~~~~~^~~
../patch/bar_tags.c:77:30: warning: unused parameter a [-Wunused-parameter]
77 | hover_tags(Bar *bar, BarArg *a, XMotionEvent *ev)
| ~~~~~~~~^
../patch/bar_tags.c:77:47: warning: unused parameter ev [-Wunused-parameter]
77 | hover_tags(Bar *bar, BarArg *a, XMotionEvent *ev)
| ~~~~~~~~~~~~~~^~
In file included from ../patch/include.c:13:
../patch/bar_taglabels.c: In function width_taglabels:
../patch/bar_taglabels.c:2:35: warning: unused parameter a [-Wunused-parameter]
2 | width_taglabels(Bar *bar, BarArg *a)
| ~~~~~~~~^
In file included from ../patch/include.c:14:
../patch/bar_wintitle.c: In function width_wintitle:
../patch/bar_wintitle.c:2:21: warning: unused parameter bar [-Wunused-parameter]
2 | width_wintitle(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_wintitle.c: In function draw_wintitle:
../patch/bar_wintitle.c:26:15: warning: comparison of integer expressions of different signedness: int and unsigned int [-Wsign-compare]
26 | if (w <= TEXTW("A") - lrpad + tpad) // reduce text padding if wintitle is too small
| ^~
../patch/bar_wintitle.c:27:48: warning: comparison of unsigned expression in < 0 is always false [-Wtype-limits]
27 | tpad = (w - TEXTW("A") + lrpad < 0 ? 0 : (w - TEXTW("A") + lrpad) / 2);
| ^
../patch/bar_wintitle.c: In function click_wintitle:
../patch/bar_wintitle.c:44:21: warning: unused parameter bar [-Wunused-parameter]
44 | click_wintitle(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_wintitle.c:44:31: warning: unused parameter arg [-Wunused-parameter]
44 | click_wintitle(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_wintitle.c:44:44: warning: unused parameter a [-Wunused-parameter]
44 | click_wintitle(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~~~~^
In file included from ../patch/include.c:15:
../patch/bar_awesomebar.c: In function width_awesomebar:
../patch/bar_awesomebar.c:2:23: warning: unused parameter bar [-Wunused-parameter]
2 | width_awesomebar(Bar *bar, BarArg *a)
| ~~~~~^~~
../patch/bar_awesomebar.c: In function draw_awesomebar:
../patch/bar_awesomebar.c:52:77: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
52 | drawstateindicator(c->mon, c, 1, x, a->y, tabw + (i < remainder ? 1 : 0), a->h, 0, 0, c->isfixed);
| ^
../patch/bar_awesomebar.c:53:40: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
53 | x += tabw + (i < remainder ? 1 : 0);
| ^
In file included from ../patch/include.c:16:
../patch/bar_systray.c: In function width_systray:
../patch/bar_systray.c:5:33: warning: unused parameter a [-Wunused-parameter]
5 | width_systray(Bar *bar, BarArg *a)
| ~~~~~~~~^
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/pango-1.0/pango/pango-coverage.h:25,
from /usr/include/pango-1.0/pango/pango-font.h:25,
from /usr/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/include/pango-1.0/pango/pango.h:25,
from ../drw.h:3,
from ../dwm.c:44:
../patch/bar_systray.c: In function draw_systray:
/usr/include/glib-2.0/glib/gmacros.h:935:26: warning: comparison of integer expressions of different signedness: int and unsigned int [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^
../patch/bar_systray.c:38:30: note: in expansion of macro MIN
38 | systray->h = MIN(a->h, drw->fonts->h);
| ^~~
/usr/include/glib-2.0/glib/gmacros.h:935:35: warning: operand of ?: changes signedness from int to unsigned int due to unsignedness of other operand [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^~~
../patch/bar_systray.c:38:30: note: in expansion of macro MIN
38 | systray->h = MIN(a->h, drw->fonts->h);
| ^~~
../patch/bar_systray.c: In function click_systray:
../patch/bar_systray.c:90:20: warning: unused parameter bar [-Wunused-parameter]
90 | click_systray(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_systray.c:90:30: warning: unused parameter arg [-Wunused-parameter]
90 | click_systray(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~^~~
../patch/bar_systray.c:90:43: warning: unused parameter a [-Wunused-parameter]
90 | click_systray(Bar *bar, Arg *arg, BarArg *a)
| ~~~~~~~~^
In file included from ../patch/include.c:24:
../patch/pertag.c: In function pertagview:
../patch/pertag.c:19:21: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
19 | if (arg->ui == ~0)
| ^~
In file included from ../patch/include.c:26:
../patch/restartsig.c: In function sighup:
../patch/restartsig.c:4:12: warning: unused parameter unused [-Wunused-parameter]
4 | sighup(int unused)
| ~~~~^~~~~~
../patch/restartsig.c: In function sigterm:
../patch/restartsig.c:11:13: warning: unused parameter unused [-Wunused-parameter]
11 | sigterm(int unused)
| ~~~~^~~~~~
In file included from ../patch/include.c:28:
../patch/vanitygaps.c: In function togglegaps:
../patch/vanitygaps.c:24:23: warning: unused parameter arg [-Wunused-parameter]
24 | togglegaps(const Arg *arg)
| ~~~~~~~~~~~^~~
../patch/vanitygaps.c: In function defaultgaps:
../patch/vanitygaps.c:37:24: warning: unused parameter arg [-Wunused-parameter]
37 | defaultgaps(const Arg *arg)
| ~~~~~~~~~~~^~~
In file included from ../patch/include.c:29:
../patch/xrdb.c: In function xrdb:
../patch/xrdb.c:81:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
81 | for (i = 0; i < LENGTH(colors); i++)
| ^
../patch/xrdb.c:77:17: warning: unused parameter arg [-Wunused-parameter]
77 | xrdb(const Arg *arg)
| ~~~~~~~~~~~^~~
In file included from ../patch/include.c:30:
../patch/dragmfact.c: In function dragmfact:
../patch/dragmfact.c:54:47: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
54 | || (!fixed && m->nmaster && n <= m->nmaster) // no master
| ^~
../patch/dragmfact.c:2:22: warning: unused parameter arg [-Wunused-parameter]
2 | dragmfact(const Arg *arg)
| ~~~~~~~~~~~^~~
In file included from ../patch/include.c:32:
../patch/layout_facts.c: In function getfacts:
../patch/layout_facts.c:10:23: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
10 | if (n < m->nmaster)
| ^
../patch/layout_facts.c:16:23: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
16 | if (n < m->nmaster)
| ^
In file included from ../patch/include.c:33:
../patch/layout_flextile-deluxe.c: In function arrange_left_to_right:
../patch/layout_flextile-deluxe.c:318:67: warning: unused parameter ih [-Wunused-parameter]
318 | arrange_left_to_right(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^~
../patch/layout_flextile-deluxe.c: In function arrange_top_to_bottom:
../patch/layout_flextile-deluxe.c:339:75: warning: unused parameter iv [-Wunused-parameter]
339 | arrange_top_to_bottom(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^~
../patch/layout_flextile-deluxe.c: In function arrange_monocle:
../patch/layout_flextile-deluxe.c:360:61: warning: unused parameter ih [-Wunused-parameter]
360 | arrange_monocle(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^~
../patch/layout_flextile-deluxe.c:360:69: warning: unused parameter iv [-Wunused-parameter]
360 | arrange_monocle(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^~
../patch/layout_flextile-deluxe.c:360:77: warning: unused parameter n [-Wunused-parameter]
360 | arrange_monocle(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^
../patch/layout_flextile-deluxe.c: In function arrange_gridmode:
../patch/layout_flextile-deluxe.c:371:78: warning: unused parameter n [-Wunused-parameter]
371 | arrange_gridmode(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^
../patch/layout_flextile-deluxe.c: In function arrange_gapplessgrid:
../patch/layout_flextile-deluxe.c:418:82: warning: unused parameter n [-Wunused-parameter]
418 | arrange_gapplessgrid(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^
../patch/layout_flextile-deluxe.c: In function arrange_tatami:
../patch/layout_flextile-deluxe.c:604:23: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
604 | if (j >= ai && j < (ai + an)) {
| ^~
../patch/layout_flextile-deluxe.c:604:34: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
604 | if (j >= ai && j < (ai + an)) {
| ^
../patch/layout_flextile-deluxe.c:584:76: warning: unused parameter n [-Wunused-parameter]
584 | arrange_tatami(Monitor *m, int x, int y, int h, int w, int ih, int iv, int n, int an, int ai)
| ~~~~^
../patch/layout_flextile-deluxe.c: In function setflexsymbols:
../patch/layout_flextile-deluxe.c:742:80: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
742 | if (m->ltaxis[MASTER] == MONOCLE && (l == NO_SPLIT || !m->nmaster || n <= m->nmaster)) {
| ^~
../patch/layout_flextile-deluxe.c: In function decksymbols:
../patch/layout_flextile-deluxe.c:781:15: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
781 | if (n > m->nmaster)
| ^
../patch/layout_flextile-deluxe.c: In function mirrorlayout:
../patch/layout_flextile-deluxe.c:789:25: warning: unused parameter arg [-Wunused-parameter]
789 | mirrorlayout(const Arg *arg)
| ~~~~~~~~~~~^~~
../patch/layout_tile.c: In function tile:
/usr/include/glib-2.0/glib/gmacros.h:935:26: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^
../patch/layout_tile.c:20:35: note: in expansion of macro MIN
20 | mh = m->wh - 2*oh - ih * (MIN(n, m->nmaster) - 1);
| ^~~
/usr/include/glib-2.0/glib/gmacros.h:935:41: warning: operand of ?: changes signedness from int to unsigned int due to unsignedness of other operand [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^~~
../patch/layout_tile.c:20:35: note: in expansion of macro MIN
20 | mh = m->wh - 2*oh - ih * (MIN(n, m->nmaster) - 1);
| ^~~
In file included from ../patch/include.c:35:
../patch/layout_tile.c:24:29: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
24 | if (m->nmaster && n > m->nmaster) {
| ^
../patch/layout_tile.c:33:23: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
33 | if (i < m->nmaster) {
| ^
../patch/layout_tile.c:34:89: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
34 | resize(c, mx, my, mw - (2*c->bw), (mh / mfacts) * c->cfact + (i < mrest ? 1 : 0) - (2*c->bw), 0);
| ^
../patch/layout_tile.c:37:104: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
37 | resize(c, sx, sy, sw - (2*c->bw), (sh / sfacts) * c->cfact + ((i - m->nmaster) < srest ? 1 : 0) - (2*c->bw), 0);
| ^
../dwm.c: In function buttonpress:
../dwm.c:638:39: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
638 | for (r = 0; r < LENGTH(barrules); r++) {
| ^
../dwm.c:667:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
667 | for (i = 0; i < LENGTH(buttons); i++) {
| ^
../dwm.c:668:27: warning: comparison of integer expressions of different signedness: int and unsigned int [-Wsign-compare]
668 | if (click == buttons[i].click && buttons[i].func && buttons[i].button == ev->button
| ^~
../dwm.c: In function cleanup:
../dwm.c:695:9: warning: missing initializer for field preset of Layout [-Wmissing-field-initializers]
695 | Layout foo = { "", NULL };
| ^~~~~~
../dwm.c:238:22: note: preset declared here
238 | LayoutPreset preset;
| ^~~~~~
../dwm.c: In function clientmessage:
../dwm.c:806:36: warning: comparison of integer expressions of different signedness: long int and Atom {aka long unsigned int} [-Wsign-compare]
806 | if (cme->data.l[1] == netatom[NetWMFullscreen]
| ^~
../dwm.c:807:35: warning: comparison of integer expressions of different signedness: long int and Atom {aka long unsigned int} [-Wsign-compare]
807 | || cme->data.l[2] == netatom[NetWMFullscreen]) {
| ^~
../dwm.c: In function createmon:
../dwm.c:948:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
948 | for (j = 0; j < LENGTH(monrules); j++) {
| ^
/usr/include/glib-2.0/glib/gmacros.h:935:26: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^
../dwm.c:954:34: note: in expansion of macro MIN
954 | layout = MIN(layout, LENGTH(layouts) - 1);
| ^~~
/usr/include/glib-2.0/glib/gmacros.h:935:35: warning: operand of ?: changes signedness from int to long unsigned int due to unsignedness of other operand [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^~~
../dwm.c:954:34: note: in expansion of macro MIN
954 | layout = MIN(layout, LENGTH(layouts) - 1);
| ^~~
../dwm.c:972:31: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
972 | for (n = -1, i = 0; i < LENGTH(barrules); i++) {
| ^
../dwm.c:1008:31: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
1008 | for (j = 0; j < LENGTH(monrules); j++) {
| ^
/usr/include/glib-2.0/glib/gmacros.h:935:26: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^
../dwm.c:1012:42: note: in expansion of macro MIN
1012 | layout = MIN(layout, LENGTH(layouts) - 1);
| ^~~
/usr/include/glib-2.0/glib/gmacros.h:935:35: warning: operand of ?: changes signedness from int to long unsigned int due to unsignedness of other operand [-Wsign-compare]
935 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^~~
../dwm.c:1012:42: note: in expansion of macro MIN
1012 | layout = MIN(layout, LENGTH(layouts) - 1);
| ^~~
../dwm.c: In function drawbarwin:
../dwm.c:1133:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
1133 | for (r = 0; r < LENGTH(barrules); r++) {
| ^
../dwm.c: In function grabkeys:
../dwm.c:1451:35: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
1451 | for (k = start; k <= end; k++)
| ^~
../dwm.c: In function killclient:
../dwm.c:1502:23: warning: unused parameter arg [-Wunused-parameter]
1502 | killclient(const Arg *arg)
| ~~~~~~~~~~~^~~
../dwm.c: In function movemouse:
../dwm.c:1659:22: warning: unused parameter arg [-Wunused-parameter]
1659 | movemouse(const Arg *arg)
| ~~~~~~~~~~~^~~
../dwm.c: In function resizemouse:
../dwm.c:1829:24: warning: unused parameter arg [-Wunused-parameter]
1829 | resizemouse(const Arg *arg)
| ~~~~~~~~~~~^~~
../dwm.c: In function setup:
../dwm.c:2199:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
2199 | for (i = 0; i < LENGTH(colors); i++)
| ^
../dwm.c:2202:23: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
2202 | for (i = 0; i < LENGTH(statuscolors); i++)
| ^
../dwm.c: In function spawn:
../dwm.c:2281:43: warning: comparison of integer expressions of different signedness: int and long unsigned int [-Wsign-compare]
2281 | for (int i = 0; i < LENGTH(clickstatuss); i++) {
| ^
../dwm.c: In function togglebar:
../dwm.c:2341:22: warning: unused parameter arg [-Wunused-parameter]
2341 | togglebar(const Arg *arg)
| ~~~~~~~~~~~^~~
../dwm.c: In function toggleview:
../dwm.c:2402:31: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
2402 | if (newtagset == ~0)
| ^~
../dwm.c: In function unfocus:
../dwm.c:2427:42: warning: unused parameter nextfocus [-Wunused-parameter]
2427 | unfocus(Client *c, int setfocus, Client *nextfocus)
| ~~~~~~~~^~~~~~~~~
../dwm.c: In function updatenumlockmask:
../dwm.c:2684:31: warning: comparison of integer expressions of different signedness: unsigned int and int [-Wsign-compare]
2684 | for (j = 0; j < modmap->max_keypermod; j++)
| ^
../dwm.c: In function updatestatus:
../dwm.c:2746:28: warning: passing argument 1 of drawbarwin from incompatible pointer type [-Wincompatible-pointer-types]
2746 | drawbarwin(m);
| ^
| |
| Monitor *
../dwm.c:1111:17: note: expected Bar * but argument is of type Monitor *
1111 | drawbarwin(Bar *bar)
| ~~~~~^~~
../dwm.c: In function xerrordummy:
../dwm.c:2855:22: warning: unused parameter dpy [-Wunused-parameter]
2855 | xerrordummy(Display *dpy, XErrorEvent *ee)
| ~~~~~~~~~^~~
../dwm.c:2855:40: warning: unused parameter ee [-Wunused-parameter]
2855 | xerrordummy(Display *dpy, XErrorEvent *ee)
| ~~~~~~~~~~~~~^~
../dwm.c: In function xerrorstart:
../dwm.c:2863:22: warning: unused parameter dpy [-Wunused-parameter]
2863 | xerrorstart(Display *dpy, XErrorEvent *ee)
| ~~~~~~~~~^~~
../dwm.c:2863:40: warning: unused parameter ee [-Wunused-parameter]
2863 | xerrorstart(Display *dpy, XErrorEvent *ee)
| ~~~~~~~~~~~~~^~
../patch/xrdb.c: At top level:
../patch/xrdb.c:77:1: warning: xrdb defined but not used [-Wunused-function]
77 | xrdb(const Arg *arg)
| ^~~~
../patch/vanitygaps.c:24:1: warning: togglegaps defined but not used [-Wunused-function]
24 | togglegaps(const Arg *arg)
| ^~~~~~~~~~
../patch/bar_wintitle.c:44:1: warning: click_wintitle defined but not used [-Wunused-function]
44 | click_wintitle(Bar *bar, Arg *arg, BarArg *a)
| ^~~~~~~~~~~~~~
../patch/bar_wintitle.c:8:1: warning: draw_wintitle defined but not used [-Wunused-function]
8 | draw_wintitle(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~
../patch/bar_wintitle.c:2:1: warning: width_wintitle defined but not used [-Wunused-function]
2 | width_wintitle(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~~
../patch/bar_tags.c:77:1: warning: hover_tags defined but not used [-Wunused-function]
77 | hover_tags(Bar *bar, BarArg *a, XMotionEvent *ev)
| ^~~~~~~~~~
../patch/bar_tags.c:57:1: warning: click_tags defined but not used [-Wunused-function]
57 | click_tags(Bar *bar, Arg *arg, BarArg *a)
| ^~~~~~~~~~
../patch/bar_tags.c:19:1: warning: draw_tags defined but not used [-Wunused-function]
19 | draw_tags(Bar *bar, BarArg *a)
| ^~~~~~~~~
../patch/bar_tags.c:2:1: warning: width_tags defined but not used [-Wunused-function]
2 | width_tags(Bar *bar, BarArg *a)
| ^~~~~~~~~~
../patch/bar_powerline_tags.c:66:1: warning: click_pwrl_tags defined but not used [-Wunused-function]
66 | click_pwrl_tags(Bar *bar, Arg *arg, BarArg *a)
| ^~~~~~~~~~~~~~~
../patch/bar_powerline_tags.c:20:1: warning: draw_pwrl_tags defined but not used [-Wunused-function]
20 | draw_pwrl_tags(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~~
../patch/bar_powerline_tags.c:2:1: warning: width_pwrl_tags defined but not used [-Wunused-function]
2 | width_pwrl_tags(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~~~
../patch/bar_powerline_status.c:18:1: warning: click_pwrl_status defined but not used [-Wunused-function]
18 | click_pwrl_status(Bar *bar, Arg *arg, BarArg *a)
| ^~~~~~~~~~~~~~~~~
../patch/bar_powerline_status.c:11:1: warning: draw_pwrl_status defined but not used [-Wunused-function]
11 | draw_pwrl_status(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~~~~
../patch/bar_powerline_status.c:4:1: warning: width_pwrl_status defined but not used [-Wunused-function]
4 | width_pwrl_status(Bar *bar, BarArg *a)
| ^~~~~~~~~~~~~~~~~
In file included from ../dwm.c:455:
../status.h:18:14: warning: separator defined but not used [-Wunused-variable]
18 | static char *separator = ""; /* Delimiter between modules. Note that this will be applied even if a command is empty. */
| ^~~~~~~~~
../status.h:17:13: warning: rightpadding defined but not used [-Wunused-variable]
17 | static char rightpadding[] = ""; /* Padding on the right side of the status text */
| ^~~~~~~~~~~~
../status.h:16:13: warning: leftpadding defined but not used [-Wunused-variable]
16 | static char leftpadding[] = ""; /* Padding on the left side of the status text */
| ^~~~~~~~~~~
../status.h:15:12: warning: hideemptymodule defined but not used [-Wunused-variable]
15 | static int hideemptymodule = 1; /* Hide the module if command returns nothing */
| ^~~~~~~~~~~~~~~
[2/2] Linking target dwm