Martin Wodok <m.wodok@xxxxxxxxx> writes: | Hi Gaby | hi Eljay, | | thanks for your answer! | | > Martin Wodok <m.wodok@xxxxxxxxx> writes: | > | Assigning 1000 is of course out of bounds for "unsigned char", thus the | > | > No, it is not. Unsigned integer types are modulo types; it is no overflow. | | Yes, they're modulo types, that's why this is NOT an error, The argument was that it makes sense to issue a warning when the the code is dubious -- not just an error. However, in this case, modulo arithmetic for unsigned int is a characteristic propery. Consequently, it does not make much sense to warn about it. -- Gaby