Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo make clean install
- [sudo] password for oc:
- rm -f dwm drw.o dwm.o util.o dwm-6.5.tar.gz
- cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.5\" -DXINERAMA drw.c
- cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.5\" -DXINERAMA dwm.c
- dwm.c: In function ‘buttonpress’:
- dwm.c:470:13: warning: variable ‘arg’ set but not used [-Wunused-but-set-variable]
- 470 | Arg arg = {0};
- | ^~~
- dwm.c:469:28: warning: variable ‘click’ set but not used [-Wunused-but-set-variable]
- 469 | unsigned int i, x, click;
- | ^~~~~
- dwm.c: At top level:
- dwm.c:537:11: error: expected identifier or ‘(’ before ‘else’
- 537 | } else if ((c = wintoclient(ev->window))) {
- | ^~~~
- dwm.c:543:9: error: expected identifier or ‘(’ before ‘for’
- 543 | for (i = 0; i < LENGTH(buttons); i++)
- | ^~~
- dwm.c:543:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
- 543 | for (i = 0; i < LENGTH(buttons); i++)
- | ^
- dwm.c:543:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
- 543 | for (i = 0; i < LENGTH(buttons); i++)
- | ^~
- dwm.c:547:1: error: expected identifier or ‘(’ before ‘}’ token
- 547 | }
- | ^
- dwm.c: In function ‘getstatusbarpid’:
- dwm.c:1053:42: error: ‘STATUSBAR’ undeclared (first use in this function)
- 1053 | if (!strcmp(str, STATUSBAR))
- | ^~~~~~~~~
- dwm.c:1053:42: note: each undeclared identifier is reported only once for each function it appears in
- dwm.c:1057:37: error: expected ‘)’ before ‘STATUSBAR’
- 1057 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
- | ~ ^~~~~~~~~
- | )
- dwm.c:1057:20: error: too few arguments to function ‘popen’
- 1057 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
- | ^~~~~
- In file included from dwm.c:27:
- /usr/include/stdio.h:893:14: note: declared here
- 893 | extern FILE *popen (const char *__command, const char *__modes)
- | ^~~~~
- dwm.c: At top level:
- dwm.c:2017:1: warning: ‘sigstatusbar’ defined but not used [-Wunused-function]
- 2017 | sigstatusbar(const Arg *arg)
- | ^~~~~~~~~~~~
- make: *** [Makefile:12: dwm.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement