Mail Archives: djgpp/1997/10/28/12:28:29
On Mon, 27 Oct 1997, Vik Heyndrickx wrote:
> You are right. Relying on the default setting of -fsigned-char or
> -funsigned-char is dangerous. But '\xFD' should be positive when
> compiled with -funsigned-char. I tested this and it also *is*. So either
> Roman Suzi must use an older buggy compiler or he is using a defective
> pgcc or I am missing something.
I think you are missing the fact that '\xFD' is NOT a character constant,
it's an int. Therefore, -funsigned-char doesn't affect it.
- Raw text -