Pascal, Thanks for replying.
I have found the problem.
I have a #define C1 ... that I used for a configuration bit.
In MCUinit.c there is a line MCG_C1 = ...
MCG_C1 is a macro that uses C1 which is defined as an element of a structure.
The error that I get is "expected identifier before '(' token". That didn't tell me anything.
I would have hoped that I would get a warning message if I used a name that was already defined in MKL05Z4.h
Bruce