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

CCS Compiler Bug?

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



Joined: 03 Jun 2005
Posts: 21

View user's profile Send private message

CCS Compiler Bug?
PostPosted: Wed Mar 29, 2006 10:17 am     Reply with quote

Just an FYI for those that run into this, if you #define PIC18F2455 before you include any headers, the compiler will crash in module PCH.dll. Might help to have the parser check for this or at least have some kind of warning rather than just crashing PCH!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Mar 29, 2006 11:44 am     Reply with quote

This will happen with any of the compilers.

I was able to crash the PCM compiler by doing what you said. I had
to press Ctrl-Alt-Del and shut down the task, to get it out of an endless
loop.

But there is no need to do this. Just include the .H file at the start
of your source program. The .H file contains a #device statement
which defines the PIC type.
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