Author Topic: compiler error  (Read 8375 times)

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
compiler error
« 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

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3237
    • View Profile
    • uTasker
Re: compiler error
« Reply #1 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