It is a syntax type error. Please have have a look at attached snip below. Can you try compiling the same work-space which I downloaded from st website. Please refer this link and download the Work-space named "MSCAN driver for S12(X) devices" . See Link: