On Tue, May 27, 2008 at 11:56 AM, Andriy Gapon <[EMAIL PROTECTED]> wrote: > Thank you for the explanation! I didn't realize the difference. > > OTOH, do you think that those arithmetic warnings are practical (as opposed > to being correct)?
I think so as the short int case has a defined overflow of the signed short type that is SHRT_MAX + 1 is defined while INT_MAX + 1 is not. -- Pinski