The word "class" is reserved in IAR's EWARM compiler since it looks like c++. This causes a failure to compile in the lcp code. Arguably it is a bug in the compiler, but it is easy to work around with a name change in the lcp.[ch] code. I fixed it by changing "class" to "class_".