<div dir="ltr">Hi-<div><br></div><div>I'm trying to compile VLC on windows, and at the risk of being told that anything other than Linux cross-compiling is unsupported, I have a question.  I followed the MSYS2 instructions on the wiki and after solving a bunch of other issues got to actually running the main makefile, but got a bunch of errors of the type:</div><div><br></div><div>/c/Users/scully/Downloads/vlc-3.0.8/contrib/x86_64-w64-mingw32/include/pthread.h:592:38: error: conflicting types for ‘pthread_condattr_t’<br>  592 | typedef struct pthread_condattr_t_ * pthread_condattr_t;<br>      |                                      ^~~~~~~~~~~~~~~~~~<br>In file included from /usr/include/sys/types.h:225,<br>                 from /usr/include/stdio.h:61,<br>                 from ../../extras/package/win32/../../../include/vlc_common.h:47,<br>                 from ../../extras/package/win32/../../../src/missing.c:38:<br>/usr/include/sys/_pthreadtypes.h:21:54: note: previous declaration of ‘pthread_condattr_t’ was here<br>   21 | typedef struct __pthread_condattr_t {char __dummy;} *pthread_condattr_t;<br></div><div><br></div><div>All were related to pthread types being redefined.  Any thoughts on where to hunt the solution for this?  I'm wondering if the problem is in my setup of MSYS2 / Mingw that gcc is using the posix thread model.  I'm not quite clear on how to fix that though.</div><div><br></div><div>Any advice is humbly appreciated.  I'm trying to start a new pet project while the Covid virus shuts down my workplace :)</div><div><br></div><div>Thanks</div><div>Dan Scully</div><div><br></div></div>