[mingw - C/C++] RE: warning: comparison is always true due to

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[mingw - C/C++] RE: warning: comparison is always true due to


Read and respond to this message at:
By: dessent

It's not extraneous at all.  On your platform a char is 8 bits and so the test
"b <= 0x0ff" is always true.  It's not referring to the whole statement, just
that part.

There is some discussion about this in pr/12963
( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12963 )

You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:

SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at: