gHub-GUI
gHub-GUI copied to clipboard
C23 has 'bool' as a keyword, and I feel like stdbool should be prefer…
I have replaced miscellaneous.h with stdbool.h, and tried my best to also replace TRUE/FALSE with true/false respectively. Also, considering CC = gcc, this should be reasonable considering stdbool.h should already be there anyway (located at /usr/lib/gcc/x86_64-pc-linux-gnu/<VERSION>/include, at least on my system)
miscellaneous.h:6:13: error: ‘bool’ cannot be defined via ‘typedef’
6 | typedef int bool;
| ^~~~
miscellaneous.h:6:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
rip:
Device id=0xc08b, name=G502 Hero - is not supported yet!
I'll look into it, but I need sleep first