there are some 'variable unused' errors. these can be fixed as a workaround with __attribute__ ((unused)) /*@unused@*/
but there are also array out of bound errors that are not so easy to fix.