Mail Archives: djgpp-workers/1998/12/18/12:35:27
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 -