The pedantic flag found many cases of incorrect behaviours with respect to the C language specification. I have
fixed some of these issues by changing various types for variables. In turn I also removed unnecessary checks
such as negative checks.
I also completely commented out the code for patchJP in keymap as that too was causing errors under pedantic.
With these alterations, the code compiles under the pedantic flag. Albeit with a lot of errors compared to normally.
Specifically fixed errors in src/animations/mviz/main.c and src/libs/ckb-next/include/ckb-next/animation.h .
-Added fgets error checking in the function ckb_getline in animation.h.
-Changed type for loop index in anim_add to signed int in main.c.
-Commented out unused height variable in main.c.
-Added suggested curly braces around Macro for CKB_BOOL in main.c.