µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: neil on May 02, 2009, 07:48:26 PM

Title: compiler error
Post by: neil on May 02, 2009, 07:48:26 PM
Hi Mark,
 On my notebook I installed a fresh copy of CW 7.1, then applied the patch for 5225x,to see if this cures the floating point issue.

When I compile the code I get a size_t redeclared message(dont get  this on my main computer that had 6.3 upgraded to 7.1 etc), as my code has #include <stdlib.h>.
I have attatched a snap shot of the error.

Regards
Neil
Title: Re: compiler error
Post by: mark on May 02, 2009, 09:00:49 PM
Hi Neil

When using libraries the size_t declaration can be taken from the library rather than from types.h. Therefore simply remove it from type.h in the project directory.

This should not be any different to the 6.3 version - had you perhaps already done this on your main computer but didn't transfer the file?

Regards

Mark