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

error on stdlib.h on 24F part

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



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

error on stdlib.h on 24F part
PostPosted: Sat Dec 01, 2007 1:13 pm     Reply with quote

FYI
I was trying to do a QSORT using the 24FJ64GA004 part where I always crash at typedef signed int8 (*_Cmpfun)(char * p1,char * p2);

I then added to the stdlib.h the following to compensate.
Code:
#if !defined(__PCD__)
typedef signed int8 (*_Cmpfun)(char * p1,char * p2);
#else
typedef signed int16 (*_Cmpfun)(char * p1,char * p2);
#endif


now compiles OK, I would suspect other part on this header file may need simular changes? Wink
_________________
What has been learnt if you make the same mistake? Wink
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Sun Dec 02, 2007 3:34 pm     Reply with quote

Please send this to support@ccs.com so they can update the file(s)

Ken
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

PostPosted: Mon Dec 03, 2007 5:41 am     Reply with quote

Has been sent to tech suport Smile Wink
_________________
What has been learnt if you make the same mistake? Wink
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