[mythtv] Problems with dynamic_cast

john.p.harvey at btinternet.com john.p.harvey at btinternet.com
Tue Jan 28 22:25:11 UTC 2020


Is it failing when things are allocated in one shared library and this dynamic cast done in another library or executable? I seem to remember some issues with that on Android in the past. All works fine within the same shared library.

 

John

 

From: mythtv-dev <mythtv-dev-bounces at mythtv.org> On Behalf Of Peter Bennett
Sent: 28 January 2020 22:11
To: mythtv-dev at mythtv.org
Subject: Re: [mythtv] Problems with dynamic_cast

 

 

On 1/28/20 5:06 PM, jyavenard at gmail.com <mailto:jyavenard at gmail.com>  wrote:

What about doing
auto *dce = dynamic_cast...

 

  _____  

That syntax makes more sense to me and we did change it to *dce but it still does not work. dce always gets set to null, even when the object is of matching type.

Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20200128/a331a75d/attachment.htm>


More information about the mythtv-dev mailing list