|
|
View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Warnings in stdlib.h |
Posted: Tue Jun 01, 2004 2:17 am |
|
|
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 |
Posted: Tue Jun 01, 2004 8:06 am |
|
|
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 |
|
|
|
|
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
|