------- Additional Comments From jsm at polyomino dot org dot uk 2004-10-13 10:15 ------- Subject: Re: New: assigning size_t to int - warning needs to be flagged .
On Wed, 13 Oct 2004, kaykaylance at yahoo dot com wrote: > When compiling this code fragment, I am essentially assigning a size_t value > to an int (implicitly ). So it would be nice if the compiler flags a warning > there, indicating there is possible loss of data or an overflow error or a > similar appropriate warning message. This looks like much the same warning request as bug 2707; see also bug 9072. There was a volunteer working on this <http://gcc.gnu.org/ml/gcc/2004-06/msg01377.html>. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17968