Mksys Error(array subscript has type ‘char')

You can try this:

mkapp main.adef.adef -t wp76xx -C -Wno-error=char-subscripts -Wno-error=implicit-function-declaration