stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-742) [IBM XLC++ 9.0/AIX 5.3] 22.locale.messages fails with assertions
Date Tue, 01 Apr 2008 20:08:24 GMT

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

Travis Vitek commented on STDCXX-742:
-------------------------------------

This is happening because we don't use the -qrtti=dynamiccast option. We internally use a
dynamic_cast to determine if the facet is of the correct derived type, but if dynamic_cast
isn't supported we use a C style cast, and that returns bad results.

This case is essentially the same as STDCXX-644. We didn't add -qrtti=dynamiccast back then,
and we just worked around the issue in the test. It seems to me that we should have added
the flag. Would this be a binary compatible change?

> [IBM XLC++ 9.0/AIX 5.3] 22.locale.messages fails with assertions
> ----------------------------------------------------------------
>
>                 Key: STDCXX-742
>                 URL: https://issues.apache.org/jira/browse/STDCXX-742
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.2.1
>            Reporter: Travis Vitek
>            Assignee: Travis Vitek
>            Priority: Minor
>             Fix For: 4.2.1
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> This is an additional set of failures that remain after fixing the catopen() failure
in STDCXX-665.
> {noformat}
> # ASSERTION (S7) (4 lines):
> # TEXT: has_fact<messages_byname<char> >(locale()) == false
> # CLAUSE: lib.category.messages
> # LINE: 320
> # ASSERTION (S7) (4 lines):
> # TEXT: use_fact<messages_byname<char> >(locale()) failed to throw
> # CLAUSE: lib.category.messages
> # LINE: 329
> # ASSERTION (S7) (4 lines):
> # TEXT: has_fact<messages_byname<char> >(locale("C")) == true
> # CLAUSE: lib.category.messages
> # LINE: 320
> # ASSERTION (S7) (4 lines):
> # TEXT: use_fact<messages_byname<char> >(locale("C")) failed to throw
> # CLAUSE: lib.category.messages
> # LINE: 329
> {noformat}

-- 
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