Rafael Espíndola wrote:
Why does treelang defines signedness of char with flag_signed_char? IMHO it would be better if it had a fixed definition of it. I have tried to use
Signedness of char depends on the OS. If you want compatibility with C, and in particular, the standard C library, then you should use the OS default, which is obtained from flag_signed_char.
flag_signed_char can also be overriden by user options, but this is not the main reason for using it.
Did you try testing this on a system where "char" defaults to unsigned char? It is possible that the patch might work fine on a signed-char system, but fail on an unsigned-char system.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com