You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/13 18:25:00 UTC
[jira] [Commented] (GEODE-5067) Failed dynamic_cast when visibility
is set to hidden on Clang
[ https://issues.apache.org/jira/browse/GEODE-5067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437701#comment-16437701 ]
ASF subversion and git services commented on GEODE-5067:
--------------------------------------------------------
Commit 3694801db067ebcf05a23c5bbe47d8dbdfac512c in geode-native's branch refs/heads/develop from [~mcmellawatt]
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=3694801 ]
GEODE-5067: Changing visibility preset to 'default' on Clang (#272)
- Changing visibility preset to 'default' on Clang to fix RTTI/dynamic_casting issues
Signed-off-by: Ryan McMahon <mc...@gmail.com>
> Failed dynamic_cast when visibility is set to hidden on Clang
> -------------------------------------------------------------
>
> Key: GEODE-5067
> URL: https://issues.apache.org/jira/browse/GEODE-5067
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Ryan McMahon
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The testThinClientBigValue test is failing due to issues with Clang and the cmake 'CXX_VISIBILITY_PRESET hidden' setting. It appears Clang does not propagate visibility attributes through using statements i.e.
> ```
> using CacheableBytes = CacheableArray<int8_t, GeodeTypeIds::CacheableBytes>;
> ```
> Despite CacheableArray and its base class Serializable being decorated with APACHE_GEODE_EXPORT, dynamic_casts appear to fail.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)