Compiling XINE under MinGW

"carlo.bramix" <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
Hello,
after two years I'm trying to compile again XINE under MinGW.
But unfortunately, I'm having some troubles.
When compiling xine-lib-1.1.10.1/src/xine-engine/xine.c I got some errors because the source code tries to compare two pthread_t items.
For an example you can see the line 135 of the above file.
The problem happens because the pthread library for Win32 (like some other implementations of libpthread) declares "pthread_t" as an 8 bytes structure.
And when it tries to do "==" operator between two structs, the compilation halts.
The solution seems to be not too difficult; it may be used an inline function for execution this comparison, perhaps it may be implemented at configure time, if sizeof(pthread_t) is different from sizeof(void *).
Or it may be always handled as is now, and leave open the chance to change the function with a platform specific code.
There are surely other roads to follow for fixing this defect, I was wondering if there is the chance to receive some feedbacks from the developers.
Perhaps it has been already fixed into the development version, I don't know, that's why I'm asking...

Thanks for your support.

Sincerely,

Carlo Bramini



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.