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

Warning !! (SOLVED)

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



Joined: 30 Jan 2008
Posts: 197

View user's profile Send private message

Warning !! (SOLVED)
PostPosted: Thu Nov 28, 2013 11:20 am     Reply with quote

Hi, someone can tell me how I can remove this Warning, it is affecting my program.

Code:
Executing: "D:\Archivos de programa\Microchip\PICC\Ccsc.exe" +FH "RTC1.C" +DF +LN +T +A +M +Z +Y=9 +EA
>>> Warning 203 "D:\Proyectos\Poste_SOS\CCS-PIC\DS1307.h" Line 123(1,1): Condition always TRUE
>>> Warning 216 "RTC1.C" Line 616(0,1): Interrupts disabled during call to prevent re-entrancy:  (Ini_buff_rec)
>>> Warning 216 "RTC1.C" Line 616(0,1): Interrupts disabled during call to prevent re-entrancy:  (@delay_ms1)
>>> Warning 216 "RTC1.C" Line 616(0,1): Interrupts disabled during call to prevent re-entrancy:  (inicbuff)
>>> Warning 202 "RTC1.C" Line 11(5,8): Variable never used:   rs232_errors
      Memory usage:   ROM=30%      RAM=13% - 14%


It may be that someone might have the same problem...
http://www.ccsinfo.com/faq.php?page=interrupts_disabled


Last edited by pilar on Thu Nov 28, 2013 1:33 pm; edited 1 time in total
temtronic



Joined: 01 Jul 2010
Posts: 9229
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Nov 28, 2013 12:20 pm     Reply with quote

Actually 'warnings' do not affect programs.
The first 3 tell you that interrupts are disabled within an ISR, This is normal and will not affect your program
The 4th says that a variable is never used,again normal.

Warnings will NOT stop the compiler from creating executable code,meary inform you of a 'condition'.

Now if your program doesn't work, then post it(or a small,compilable one) that shows us what's going on..or...better explain why you want the 'warnings' to not appear.



hth
jay
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