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 CCS Technical Support

More compiling errors!!

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



Joined: 16 Feb 2004
Posts: 26

View user's profile Send private message

More compiling errors!!
PostPosted: Thu May 10, 2007 4:13 am     Reply with quote

CCSC Version 3.181
PIC16LF876

Now getting message
Quote:
main
Seg 0800-0FFF, 04D8 left, need 2754
Seg 1000-17FF, 0800 left, need 2754
Seg 1800-1FFF, 0800 left, need 2754
Seg 0000-0003, 0000 left, need 2754
Seg 0004-0039, 0000 left, need 2754
Seg 003A-07FF, 0064 left, need 2754

Error[44] C:\PIC_C_Code\RAPID2006\rapid2006.c 1042 : Internal Error - Contact CCS PC_PR


If I reduce the code the error dissapears.
I know its probably a page thing but have tried dividing the subroutines into smaller chunks with no effect.

Any help?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu May 10, 2007 8:04 am     Reply with quote

Have you contacted CCS? They don't read this BBS often. You should contact them directly.
_________________
The search for better is endless. Instead simply find very good and get the job done.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu May 10, 2007 8:27 am     Reply with quote

Just splitting the functions into smaller parts is not enough as the compiler will try to optimize code by inlining the code. Add #seperate to several of your functions to avoid this type of optimization.
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