delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/12/18/12:35:27

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 <broeker AT physik DOT rwth-aachen DOT de>
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: <Pine.LNX.3.93.981218183150.7518C-100000@acp3bf>
MIME-Version: 1.0
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 <wchar.h>, 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019