The 21.cwctype.cpp test fails with the following assertions:
-----------
- ASSERTION (S7) (4 lines):
- TEXT: std::wctype (const char*) not defined
- CLAUSE: lib.c.strings
- LINE: 873
- ASSERTION (S7) (4 lines):
- TEXT: std::wctrans (const char*) not defined
- CLAUSE: lib.c.strings
- LINE: 899
- ASSERTION (S7) (4 lines):
- TEXT: std::towctrans(wint_t, wctrans_t) not defined
- CLAUSE: lib.c.strings
- LINE: 909
-----------
Also there are number of assertions like this:
----------
- ASSERTION (S7) (3 lines):
- TEXT: ' ' mask extra bits print (0x40)
- CLAUSE: lib.c.strings
----------
In the latter the test expects that iswctype() returns 0 for the characters > 127 (because in the char_mask
[256] array initialized only first 128 elements), but actually this is not true.
As for the other assertions: the C99 standard doesn't requires that iswxxx() should return the same values, as corresponding isxxx() (see this
comment in
STDCXX-660)