Mail Archives: djgpp/1997/10/29/12:03:17
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.
- Raw text -