siduck / chadwm

Making dwm as beautiful as possible!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tokyonight throws error

thorrrr opened this issue · comments

HI
I am trying to add tokyonight to Chadwm
It throws an error on make

chadwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -march=native -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION="6.4" -DXINERAMA LDFLAGS = -L/usr/lib/X11 -lX11 -lXinerama -lfontconfig -lXft -lXrender -lImlib2 -lXext CC = cc cp config.def.h config.h cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -march=native -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA drw.c drw.c: In function ‘drw_text’: drw.c:363:48: warning: ‘tmpw’ may be used uninitialized [-Wmaybe-uninitialized] 363 | if (ew + tmpw > w) { | ~~~^~~~~~ drw.c:312:22: note: ‘tmpw’ was declared here 312 | unsigned int tmpw, ew, ellipsis_w = 0, ellipsis_len; | ^~~~ cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -march=native -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA dwm.c In file included from dwm.c:418: config.h:63:28: error: ‘pinky’ undeclared here (not in a function); did you mean ‘pink’? 63 | [SchemeTag6] = { pinky, black, black }, | ^~~~~ | pink dwm.c:1252:6: warning: ‘dragmfact’ defined but not used [-Wunused-function] 1252 | void dragmfact(const Arg *arg) { | ^~~~~~~~~ dwm.c:1178:6: warning: ‘dragcfact’ defined but not used [-Wunused-function] 1178 | void dragcfact(const Arg *arg) { | ^~~~~~~~~ make: *** [Makefile:18: dwm.o] Error 1 arco-chadwm/chadwm [ sudo make install ] 8:29 pm [sudo] password for dale: chadwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -march=native -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION="6.4" -DXINERAMA LDFLAGS = -L/usr/lib/X11 -lX11 -lXinerama -lfontconfig -lXft -lXrender -lImlib2 -lXext CC = cc cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -march=native -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA dwm.c In file included from dwm.c:418: config.h:63:28: error: ‘pinky’ undeclared here (not in a function); did you mean ‘pink’? 63 | [SchemeTag6] = { pinky, black, black }, | ^~~~~ | pink dwm.c:1252:6: warning: ‘dragmfact’ defined but not used [-Wunused-function] 1252 | void dragmfact(const Arg *arg) { | ^~~~~~~~~ dwm.c:1178:6: warning: ‘dragcfact’ defined but not used [-Wunused-function] 1178 | void dragcfact(const Arg *arg) { | ^~~~~~~~~ make: *** [Makefile:18: dwm.o] Error 1