CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

stdlibm.h and pic24fj128ga006

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
krogers



Joined: 10 Apr 2009
Posts: 4

View user's profile Send private message

stdlibm.h and pic24fj128ga006
PostPosted: Fri May 08, 2009 9:59 am     Reply with quote

When I include <stdlibm.h> in my code it doesn't run.

I can make a printout the first statement in main() and it never happens, even when I halt the program in the debugger it doesn't show me where it halted.

Is this a known bug? Is dynamic memory not allowed on that chip?

using the PCD 4.091 compiler
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Fri May 08, 2009 12:01 pm     Reply with quote

It also doesn't work with most recent PCD V4.092. I see that the free space is allocated to an odd start address. This causes an address error trap in malloc(). Seems like stdlibm has never been tested with PCD.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group