[Mingw-w64-public] Fix header paths

2025-06-18 Thread Egor Pugin
/mingw_snwprintf.c stdio/mingw_sprintf.cstdio/mingw_sscanf.c stdio/mingw_swscanf.c \ -- Egor Pugin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

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

2020-04-05 Thread Egor Pugin
Hi, This patch: 1) Allows to use provided WINPTHREAD_API. 2) Fixes timespec decl before first use (in pthread_delay_np decl). -- Egor Pugin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists

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

2020-03-15 Thread Egor Pugin
Sat, 14 Mar 2020 at 22:53, Martin Storsjö wrote: > > 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 decls

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

2020-03-14 Thread Egor Pugin
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) Same with x86_64-pc-windows-msvc target. On Sat, 14 Mar 2020 at 13:38, Martin Storsjö wrote: > > On Sa

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

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

2020-03-13 Thread Egor Pugin
t;x86_64-msvc-windows" or whatever. On Sat, 14 Mar 2020 at 01:16, Martin Storsjö wrote: > > On Sat, 14 Mar 2020, Egor Pugin wrote: > > >> The first hunk seems harmless. But why would you like to define > > `WINPTHREAD_API` yourself? > > > > Custom build s

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

2020-03-13 Thread Egor Pugin
Fix: with _TIMESPEC_DEFINED - 3 errors without _TIMESPEC_DEFINED - 1 error *during src/thread.c build. On Sat, 14 Mar 2020 at 00:57, Egor Pugin wrote: > > > The first hunk seems harmless. But why would you like to define > `WINPTHREAD_API` yourself? > > Custom build system. Bu

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

2020-03-13 Thread Egor Pugin
ies/winpthreads/include\pthread.h:162:24: note: previous declaration is here int WINPTHREAD_API pthread_delay_np (const struct timespec *interval); ^ 1 error generated. --- On Fri, 13 Mar 2020 at 15:21, Liu Hao wrote: > > 在 2020/3/13 0:34, Egor Pugin 写道: > > Sure

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

2020-03-12 Thread Egor Pugin
Sure. On Thu, 12 Mar 2020 at 18:51, Liu Hao wrote: > > 在 2020/3/12 23:21, Egor Pugin 写道: > > patch file > > > > > > Please substitute '.patch' extensions for '.txt' before sending, or send > the patch inline. > > > -- > Best regard

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

2020-03-12 Thread Egor Pugin
patch file ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

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

2020-03-12 Thread Egor Pugin
Hi, I'd like to propose two small changes: 1) Allows to use provided WINPTHREAD_API. 2) Fixes timespec decl before first use (in pthread_delay_np decl). -- Egor Pugin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net