Steven Schveighoffer:
> This is not a bug, and will probably not be changed (it's been this way  
> since C).  It is impossible for the compiler to know whether you wanted  
> sign extension or not, as some code depends on sign extension.

I'd like overflow errors bot at compile and run-time, to avoid such traps too.

Bye,
bearophile

Reply via email to