Date: Wed, 29 Oct 1997 19:01:17 +0200 (IST) From: Eli Zaretskii To: Roman Suzi cc: djgpp AT delorie DOT com Subject: Re: [Q]: unsigned char In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 29 Oct 1997, Roman Suzi wrote: > >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. > > NO!!! It has sizeof('\xFD') == 1 > > I have just checked it. > That is, it is char all right! Is it in C or in C++? I tested this in a C program, and it printed 4 for sizeof('\xFD'). Maybe you tried it in C++. These are two different languages when such subtle points are concerned.