stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-638) [MSVC] 21.cwctype test fails
Date Wed, 02 Apr 2008 10:48:25 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584513#action_12584513
] 

Farid Zaripov commented on STDCXX-638:
--------------------------------------

The first three assertions could be replaced with rw_warn if _RWSTD_STRICT_ANSI macro is not
defined.

As for the other assertions: the C99 standard doesn't requires that iswxxx() should return
the same values, as corresponding isxxx() (see [this|https://issues.apache.org/jira/browse/STDCXX-660?focusedCommentId=12573829#action_12573829]
comment in STDCXX-660)

> [MSVC] 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.0
>         Environment: MSVC, ICC/Windows
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>            Priority: Minor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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 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.

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


Mime
View raw message