Issue Details (XML | Word | Printable)

Key: STDCXX-638
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Farid Zaripov
Reporter: Farid Zaripov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[MSVC] 21.cwctype test fails

Created: 02/Nov/07 03:47 PM   Updated: 17/Apr/08 10:41 AM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Original Estimate: 1h
Original Estimate - 1h
Remaining Estimate: 0h
Time Spent - 1h
Time Spent: 1h
Time Spent - 1h

File Attachments:
  Size
File Licensed for inclusion in ASF works 21.cwctype.cpp.diff 2008-04-02 11:09 AM Farid Zaripov 5 kB
Environment: MSVC, ICC/Windows
Issue Links:
Reference
 

Patch Info: Patch Available
Severity: Incorrect Behavior
Resolution Date: 04/Apr/08 07:45 AM


 Description  « Hide
The 21.cwctype.cpp test fails with the following assertions:

-----------

  1. ASSERTION (S7) (4 lines):
  2. TEXT: std::wctype (const char*) not defined
  3. CLAUSE: lib.c.strings
  4. LINE: 873
  1. ASSERTION (S7) (4 lines):
  2. TEXT: std::wctrans (const char*) not defined
  3. CLAUSE: lib.c.strings
  4. LINE: 899
  1. ASSERTION (S7) (4 lines):
  2. TEXT: std::towctrans(wint_t, wctrans_t) not defined
  3. CLAUSE: lib.c.strings
  4. LINE: 909
    -----------

Also there are number of assertions like this:
----------

  1. ASSERTION (S7) (3 lines):
  2. TEXT: ' ' mask extra bits print (0x40)
  3. 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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 03/Nov/07 12:10 AM
Field Original Value New Value
Summary [_MSC_VER] 21.cwctype test fails [MSVC] 21.cwctype test fails
Farid Zaripov made changes - 05/Nov/07 01:47 PM
Description 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.
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.
Farid Zaripov made changes - 02/Apr/08 10:44 AM
Link This issue is related to STDCXX-660 [ STDCXX-660 ]
Farid Zaripov made changes - 02/Apr/08 10:44 AM
Fix Version/s 4.2.1 [ 12312690 ]
Assignee Farid Zaripov [ farid ]
Remaining Estimate 2h [ 7200 ]
Original Estimate 2h [ 7200 ]
Farid Zaripov made changes - 02/Apr/08 10:44 AM
Status Open [ 1 ] In Progress [ 3 ]
Farid Zaripov made changes - 02/Apr/08 11:09 AM
Attachment 21.cwctype.cpp.diff [ 12379119 ]
Farid Zaripov made changes - 02/Apr/08 11:09 AM
Status In Progress [ 3 ] Open [ 1 ]
Farid Zaripov made changes - 02/Apr/08 11:10 AM
Remaining Estimate 2h [ 7200 ] 1h [ 3600 ]
Original Estimate 2h [ 7200 ] 1h [ 3600 ]
Farid Zaripov made changes - 02/Apr/08 11:10 AM
Time Spent 1h [ 3600 ]
Remaining Estimate 1h [ 3600 ] 0h [ 0 ]
Farid Zaripov made changes - 02/Apr/08 12:02 PM
Patch Info [Patch Available]
Farid Zaripov made changes - 04/Apr/08 07:45 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Farid Zaripov made changes - 09/Apr/08 03:17 PM
Description 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.
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.
Farid Zaripov made changes - 17/Apr/08 10:41 AM
Status Resolved [ 5 ] Closed [ 6 ]