when building there is no build directory, one has to be created.
Then when building it gets to 98% then i get this error
error: ‘POLL_KEYS’ defined but not used [-Werror=unused-const-variable=]
16 | static const int POLL_KEYS[] = {
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [app/CMakeFiles/golf.dir/build.make:76: app/CMakeFiles/golf.dir/golf.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1021: app/CMakeFiles/golf.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
i dont know what i am doing wrong.
can you help to finalise the build?
when building there is no build directory, one has to be created.
Then when building it gets to 98% then i get this error
error: ‘POLL_KEYS’ defined but not used [-Werror=unused-const-variable=]
16 | static const int POLL_KEYS[] = {
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [app/CMakeFiles/golf.dir/build.make:76: app/CMakeFiles/golf.dir/golf.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1021: app/CMakeFiles/golf.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
i dont know what i am doing wrong.
can you help to finalise the build?