Re: [Mingw-w64-public] [PATCH] crt: Merge cfgmgr32.def and provide it for arm64

2020-03-14 Thread Liu Hao
在 2020/3/15 5:44, Martin Storsjö 写道: > Signed-off-by: Martin Storsjö > --- > .../{libarm32 => lib-common}/cfgmgr32.def | 2 + > mingw-w64-crt/lib64/cfgmgr32.def | 257 -- > mingw-w64-crt/libarm64/Makefile.am| 1 + > 3 files changed, 3 insertions(+)

[Mingw-w64-public] [PATCH] crt: Merge cfgmgr32.def and provide it for arm64

2020-03-14 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- .../{libarm32 => lib-common}/cfgmgr32.def | 2 + mingw-w64-crt/lib64/cfgmgr32.def | 257 -- mingw-w64-crt/libarm64/Makefile.am| 1 + 3 files changed, 3 insertions(+), 257 deletions(-) rename mingw-w64-crt/{libarm3

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Martin Storsjö
On Sat, 14 Mar 2020, Egor Pugin wrote: I don't agree with your conclusion that clang doesn't support __declspec in the configuration your describing. Maybe. With declspecs and current settings I see following: https://pastebin.com/L63Zj9Hn (errors) https://pastebin.com/KSDpSse5 (command line)

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Egor Pugin
> The only problem I have discovered so far is that in 'misc.h' `_pthread_time_in_ms_from_timespec()` is declared without `WINPTHREAD_API`, I did not notice that. This is another small issue. > I don't agree with your conclusion that clang doesn't support __declspec in the configuration your desc

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Martin Storsjö
On Sat, 14 Mar 2020, Egor Pugin wrote: clang --version clang version 11.0.0 (https://github.com/llvm/llvm-project 1bf5ffa164f19094ece5809a4cceeedb740b9281) Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: D:\dev\llvm\win64_ninja_release\bin "-target" "x86_64-unknown-windows" Yes

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Liu Hao
在 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 th

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Egor Pugin
Valid for you is not valid at all. Moving timespec def. above helps and everything builds ok. On Sat, 14 Mar 2020 at 11:44, Liu Hao wrote: > > 在 2020/3/14 6:35, Egor Pugin 写道: > > clang --version > > clang version 11.0.0 (https://github.com/llvm/llvm-project > > 1bf5ffa164f19094ece5809a4cceeedb74

Re: [Mingw-w64-public] [PATCH][winpthreads] Allow to use provided WINPTHREAD_API and small bugfix

2020-03-14 Thread Liu Hao
在 2020/3/14 6:35, Egor Pugin 写道: > clang --version > clang version 11.0.0 (https://github.com/llvm/llvm-project > 1bf5ffa164f19094ece5809a4cceeedb740b9281) > Target: x86_64-pc-windows-msvc > Thread model: posix > InstalledDir: D:\dev\llvm\win64_ninja_release\bin > > "-target" "x86_64-unknown-windo