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

1000's of errors

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







1000's of errors
PostPosted: Fri Jul 30, 2004 11:46 am     Reply with quote

For some reason the CCS compiler is spitting out 1000's and 1000's of errors to the point where the buffer in MPLAB is not large enough to hold them. Thus I have no way of know where the first error is that cascaded into this god awful mess.

I would call tech-less support but getting through to tech support is a pain in the butt and usually they will not return calls or emails...

Trampas
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jul 30, 2004 12:45 pm     Reply with quote

Make sure that MPLAB is set to Halt Build on First Failure.
This is set in the Configure / Settings / Projects menu.

This may not fix it. In that case, comment out all the code
inside main(). Also comment out most of your #include files.
At some point, it will stop giving errors. Then slowly un-comment
code until you find the error.
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

Too many Error Messages
PostPosted: Fri Jul 30, 2004 12:50 pm     Reply with quote

When I encounter this problem I set the compiler to display only the first error (-E) and work my way through (you may want to add -EW to supress warnings until you get through that).

Usually it is one particular something that triggers all the rest, so when you find it most of the others disappear.
Guest








PostPosted: Fri Jul 30, 2004 2:20 pm     Reply with quote

I did turn on halt after first error in MPLAB, but MPLAB seems to think it is one big error.

I will try the -E option.

Thanks
Trampas
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