Hello All,
I am porting some code over to CCS from an AVR platform. I have found that when I port the code over using malloc
<SNIP>
rp = malloc((sizeof(FILE)));
<SNIP>
I get the following compile error
<SNIP>
*** Error 132 "C:\PROGRA~1\PICC\drivers\memmgmt.c" Line 65(34,35): STDOUT not defined (may be missing #USE RS232) In call_1 ??65535
<SNIP>
I do have a "#USE RS232" in my main header file, so I'm not sure whyit is complaining.
Any suggestions would be greatly appreciated
Regards
Sambuddy
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Apr 30, 2005 11:19 pm
There's a function in memmgmt.c, called "print_list()". It has some
printf() statements in it, and that's what's causing your problem.
It looks to me as if CCS was using this function to debug their
routines and accidently left it in there. It's not called by any other
memory management functions. You can just comment it out.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum