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

Warnings in stdlib.h

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







Warnings in stdlib.h
PostPosted: Tue Jun 01, 2004 2:17 am     Reply with quote

I'm using PCH Version 3.180 and when compiling stdlib.h I get lots of warnings:
>>> Warning 201 "stdlib.h" Line 307(1,1): Assignment inside relational expresion -1 is not 0..65535
>>> Warning 201 "stdlib.h" Line 370(1,1): Assignment inside relational expresion
>>> Warning 201 "stdlib.h" Line 440(1,1): Assignment inside relational expresion
>>> Warning 201 "stdlib.h" Line 555(1,1): Assignment inside relational expresion
>>> Warning 201 "stdlib.h" Line 607(1,1): Assignment inside relational expresion
>>> Warning 205 "stdlib.h" Line 728(1,1): Unsigned variable is never less than zero
>>> Warning 204 "stdlib.h" Line 729(1,1): Condition always FALSE

Is it normal? Is there a fixed version of this file I can download?
Thanks a lot
Guest








#ignore_warnings 201, 204
PostPosted: Tue Jun 01, 2004 8:06 am     Reply with quote

It is normal, and these warnings for strlib.h are just warnings, there are no bug in stdlib.h. If you really understand these warnings and don't want to see them again, you can add the following at the beginning of your program:

#ignore_warnings 201, 204
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