🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2549

wchar_t

#2549
From: harkcom
Date: Fri, 15 Mar 1991 20:28
24 lines
941 bytes
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...;-)
Technical Details
Message-ID: <HARKCOM.91Mar15152817@spinach.pa.yokogawa.co.jp>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!dclsic!sjc!leia!harkcom

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!dclsic!sjc!leia!harkcom
From: harkcom@spinach.pa.yokogawa.co.jp
Newsgroups: comp.std.c
Subject: wchar_t
Message-ID: <HARKCOM.91Mar15152817@spinach.pa.yokogawa.co.jp>
Date: 15 Mar 91 20:28:17 GMT
Sender: news@leia.pa.yokogawa.co.jp
Distribution: comp
Organization: Yokogawa Electric Corporation, Tokyo, Japan
Lines: 24