[mythtv] Ticket #4270: MythTV on Windows (with MinGW)

Andrei Tanas andrei at tanas.ca
Tue Dec 11 16:10:16 UTC 2007


> As I general rule I try to keep these types of defines limited to
> only where they are needed so that ccache can do a better job on
> recompiles after you change a compile time option. But in this
> case it isn't really relevant since you won't enable/disable MINGW
> between compiles on the same machine. But I'm thinking forward to
> a MinGW less Windows port at some time in the future.

Well, compat.h is needed almost everywhere for the MinGW build, and we check
for USING_MINGW there. It is still restricted to mingw {} sections in the
project files, I think it's cleaner to define it in one place.

MinGW-less - as in Visual C++ build? I'd love to do that, I would very much
prefer to be able to use Visual Studio debugger, however I considered it
briefly, it just seems to be too much work. A lot of code uses posix API,
which is not exactly there.

On the other hand, it should be possible to consolidate all the missing
things in a pair of .h and .cpp files...

I might try it again when MythTV switches to QT4.



More information about the mythtv-dev mailing list