Date: Tue, 28 Oct 1997 19:16:07 +0200 (IST) From: Eli Zaretskii To: Vik Heyndrickx cc: djgpp AT delorie DOT com Subject: Re: [Q]: unsigned char In-Reply-To: <34544D50.639D@rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.