stdcxx-dev  

[jira] Created: (STDCXX-638) [_MSC_VER] 21.cwctype test fails

Farid Zaripov (JIRA)
Fri, 02 Nov 2007 07:49:13 -0800

[_MSC_VER] 21.cwctype test fails
--------------------------------

                 Key: STDCXX-638
                 URL: https://issues.apache.org/jira/browse/STDCXX-638
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Tests
    Affects Versions: 4.2
         Environment: MSVC, ICC/Windows
            Reporter: Farid Zaripov
            Priority: Minor


The 21.cwchar.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 text 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.