Re: [Mingw-w64-public] [PATCH] crt: Move the msvcrt snprintf/vsnprintf aliases into separate object files

2020-03-15 Thread Liu Hao
在 2020/3/16 5:30, Martin Storsjö 写道: > This avoids duplicate definitions, if something refers to e.g. > __ms_vsnprintf, while the inline vsnprintf also has been instantiated > in C++ mode. (In C++ mode, the inline vsnprintf function isn't marked > static.) > > This should fix https://github.com/ms

[Mingw-w64-public] [PATCH] crt: Move the msvcrt snprintf/vsnprintf aliases into separate object files

2020-03-15 Thread Martin Storsjö
This avoids duplicate definitions, if something refers to e.g. __ms_vsnprintf, while the inline vsnprintf also has been instantiated in C++ mode. (In C++ mode, the inline vsnprintf function isn't marked static.) This should fix https://github.com/msys2/MINGW-packages/issues/6271. Signed-off-by: M

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

2020-03-15 Thread Martin Storsjö
On Sun, 15 Mar 2020, Egor Pugin wrote: The problem is that someone put all attributes after return value, but windows declspec must be in front of everything. Changing void * WINPTHREAD_API pthread_timechange_handler_np(void * dummy); to WINPTHREAD_API void * pthread_timechange_handler_np(void

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

2020-03-15 Thread Egor Pugin
The problem is that someone put all attributes after return value, but windows declspec must be in front of everything. Changing void * WINPTHREAD_API pthread_timechange_handler_np(void * dummy); to WINPTHREAD_API void * pthread_timechange_handler_np(void * dummy); fixes that declspec issue. On S

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

2020-03-15 Thread Martin Storsjö
On Sun, 15 Mar 2020, Liu Hao wrote: 在 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 fi