|
|
View previous topic :: View next topic |
Author |
Message |
pilar
Joined: 30 Jan 2008 Posts: 197
|
Warning !! (SOLVED) |
Posted: Thu Nov 28, 2013 11:20 am |
|
|
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
|
|
Posted: Thu Nov 28, 2013 12:20 pm |
|
|
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 |
|
|
|
|
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
|