This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20573] unable to use cast to suppress "warning: comparison is always false due to limited range of data type"
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2005 00:24:32 -0000
- Subject: [Bug c/20573] unable to use cast to suppress "warning: comparison is always false due to limited range of data type"
- References: <20050321001637.20573.sthoenna@efn.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-21 00:24 -------
A better way is to just to suppress the warning point, see PR 12963.
*** This bug has been marked as a duplicate of 12963 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|unable to use cast to |unable to use cast to
|suppress "warning: |suppress "warning:
|comparison is always false |comparison is always false
|due to limited range of data|due to limited range of data
|type" |type"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20573