2 ms·
> This is a bad default behavior I don't think so. A lot of existing C code relies on this, and removing the promotion will prime this code to be copy/pasted w
by p0nce 5y ago
> This is a bad default behavior
I don't think so.
A lot of existing C code relies on this, and removing the promotion will prime this code to be copy/pasted without fix. Who will rewrite all the C and C++ codecs code out there?
A lot of C and C++ programmers actually ignore the int promotion rule, but their code relies on it involuntarily.