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

Turn - Off Warning message 203.

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



Joined: 09 Sep 2003
Posts: 52

View user's profile Send private message MSN Messenger

Turn - Off Warning message 203.
PostPosted: Thu Oct 14, 2004 12:45 pm     Reply with quote

I always have this message display after I compiled my code? Anybody know how to turn it off?

Code:
Executing: "C:\Program Files\PICC\Ccsc.exe" "cc16876a.c" +FM +DF +LN +T -A +M +Z +Y=9 +EA
>>> Warning 203 "C:\PICC\PCM\cc16876a.c" Line 29(1,1): Condition always TRUE
      Memory usage:   ROM=2%      RAM=5% - 5%
      0 Errors,  1 Warnings.
Loaded C:\PICC\PCM\cc16876a.cof
BUILD SUCCEEDED: Thu Oct 14 14:39:31 2004
Will Reeve



Joined: 30 Oct 2003
Posts: 209
Location: Norfolk, England

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

PostPosted: Thu Oct 14, 2004 12:57 pm     Reply with quote

Post line 29 and a couple of lines above!

Will
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Oct 14, 2004 1:16 pm     Reply with quote

Its the while(1) loop.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 14, 2004 1:29 pm     Reply with quote

It's in the README.TXT file. Sample usage:

#ignore_warnings 202, 203
Trampas



Joined: 04 Sep 2004
Posts: 89
Location: NC

View user's profile Send private message MSN Messenger

PostPosted: Thu Oct 14, 2004 7:03 pm     Reply with quote

That would be something great to put in the manual!

Trampas
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Oct 14, 2004 7:15 pm     Reply with quote

Its in there ;)
Quote:

#IGNORE_WARNINGS


Syntax:
#ignore_warnings ALL

#IGNORE_WARNINGS NONE

#IGNORE_WARNINGS warnings



Elements:
warnings is one or more warning numbers separated by commas



Purpose:
This function will suppress warning messages from the compiler. ALL indicates no warning will be generated. NONE indicates all warnings will be generated. If numbers are listed then those warnings are suppressed.



Examples:
#ignore_warnings 203

while(TRUE) {

#ignore_warnings NONE



Example Files:
None



Also See:
Warning messages





Trampas



Joined: 04 Sep 2004
Posts: 89
Location: NC

View user's profile Send private message MSN Messenger

PostPosted: Thu Oct 14, 2004 7:57 pm     Reply with quote

Humm, must have missed it. I was wondering how to do the same thing...

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