X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs Date: Fri, 18 Dec 1998 18:35:11 +0100 (MET) From: Hans-Bernhard Broeker X-Sender: broeker AT acp3bf To: djgpp-workers AT delorie DOT com Subject: Re: wchar.h #ifndef question In-Reply-To: <199812181726.RAA42540@out5.ibm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Fri, 18 Dec 1998 snowball3 AT usa DOT net wrote: > While trying to compile the libstdc++ v3 snapshot, I came across > the problem that mbstate_t wasn't defined. Turns out that that > mbstate_t isn't defined because of _POSIX_SOURCE being > defined. I was wondering why the the items in wchar.h were put in > the non-ANSI section since they are indeed ANSI and will be > needed by stdc++ v3? Briefly put: because they only became ANSI rather recently. In the original ANSI standard, there was no such thing as , at all. It was introduced by one of the amendments made to the standards, later on, but DJGPP did not really follow the standard that closely. Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.