wchar_t

harkcom at spinach.pa.yokogawa.co.jp harkcom at spinach.pa.yokogawa.co.jp
Sat Mar 16 06:28:17 AEST 1991


Two quick questions...

   I found that wchar_t on some systems is:

 	typedef unsigned char wchar_t;

while on others it is:

 	typedef unsigned int wchar_t;

and according to the (supposedly) ANSI C dictionary in the library:

	example:
 	typedef wchar_t int;

which is obviously an incorrect typedef (should be 'typedef int wchar_t').

As I don't have a copy of the standard I first ask:

	Which ones is standard?

And I then ask:

	Can you forgive me for not waiting for a copy of the standard...;-)



More information about the Comp.std.c mailing list