Open PogLop opened 2 years ago
I got this error when i tried to compile slimlock on my machine. I use pop_os.
panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&)’: panel.cpp:47:15: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’) 47 | if (WinGC < 0) { | ~~~~~~^~~ make: *** [Makefile:29: panel.o] Error 1
I have the exact same issue Did u figure out a workarround?
try changing the "WinGC < 0" to "WinGC != (void *) NULL" inside the panel.cpp file
I got this error when i tried to compile slimlock on my machine. I use pop_os.