在 2020/3/14 17:05, Egor Pugin 写道: > Valid for you is not valid at all. > Moving timespec def. above helps and everything builds ok. > >
The only problem I have discovered so far is that in 'misc.h' `_pthread_time_in_ms_from_timespec()` is declared without `WINPTHREAD_API`, which differs from the other declaration in 'pthread.h'. If you ever define `WINPTHREAD_API` (which I think you did) yourself then the two declarations may disagree with each other. The proper solution to this will be to move `WINPTHREAD_API` from 'pthread.h' to 'pthread_compat', and to add it to function prototypes in 'misc.h'. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
