stdcxx-dev mailing list archives

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

>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-664. 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?
>

What are the thoughts on this? There was some discussion
[http://tinyurl.com/3xfdma] of enabling -qrtti=dynamiccast for the
VisualAge C++ compiler, but it petered out. 

Travis

Mime
View raw message