[Bug c/12963] Wrong and misleading warning encourages writing non-portable code

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 20 20:51:00 GMT 2007



------- Comment #23 from manu at gcc dot gnu dot org  2007-05-20 21:50 -------
The diverse warnings of the type "always true/false because of range of data
type" have been grouped under -Wtype-limits that is enabled by -Wextra (and not
by -Wall). The warning can be disabled by using -Wno-type-limits.

Thus, fixed in GCC 4.3. 


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12963



More information about the Gcc-bugs mailing list