Originally discovered here [1]  I believe the following should "work":

$ cat go.c
#include <semaphore.h>

 ../../cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc go.c
In file included from go.c:1:0:
/Users/packrd/dev/ruby/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/semaphore.h:152:8:
error: unknown type name 'mode_t'
        mode_t mode,
        ^

(work around is to include types.h before semaphore.h but just
wondering if this is a bug or not).
Cheers!

[1] https://github.com/rdp/ffmpeg-windows-build-helpers/issues/126

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to