------- Comment #4 from fxcoudert at gmail dot com 2005-10-20 08:53 ------- This is fixed in mingw CVS. I will add the workaround with SHRT_MAX. It might not be very efficient, but at least it's garanteed to work, and I think we'd better be on the safe side.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24383