[mythtv] Problems with dynamic_cast
David Hampton
mythtv at love2code.net
Tue Jan 28 23:38:52 UTC 2020
On Tue, 2020-01-28 at 22:25 +0000, john.p.harvey at btinternet.com wrote:
> 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.
Hmm. DialogCompletionEvent is defined in libmythui, and
standardsettings.cpp is in libmyth.
David
> 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 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
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
More information about the mythtv-dev
mailing list