[mythtv] Ticket #4516: Fix broken Win32 build (circular references out of control again).

Andrei Tanas andrei at tanas.ca
Wed Jan 23 21:44:59 UTC 2008


> Unless someone can offer a solution for this, I don't see any other
> option
> but roll back 15552 and 15553.

I will elaborate on this: with this change, global variables (gContext
specifically) is "seen" as having different addresses when referenced by
code from different files. For example, when mythfrontend/main.cpp
initializes gContext, the variable will be assigned the address of the new
instance. However, when referenced by code from libmythupnp (don't know
about others, couldn't get past this one), it will think that the value of
gContext is something else (seemed random to me, don't know where it got if
from).

Again, these changesets completely broke win32 builds, and I have no idea
how to fix it without reverting them.



More information about the mythtv-dev mailing list