[Mingw-w64-public] [PATCH] Cygwin fixes

2013-07-19 Thread JonY
Hi, Cygwin errno.h does not define non-Posix errno_t, neither does Cygwin stdlib.h knows about _invalid_parameter_handler. In theory, any Cygwin code should not be using libmsvcrt.a at all, but this is currently a stopgap measure while I investigate how old the libmsvcrt.a inclusion goes. The at

Re: [Mingw-w64-public] Interlocked* patches follow-up

2013-07-19 Thread Jacek Caban
On 07/18/13 23:43, dw wrote: > >> I can confirm that with GCC 4.9. In cause of our headers, it always >> chooses inline version, which is good. > > That is the best possible outcome. For this particular situation. But > it's possible that's not always the case. > > What with normal implementations

Re: [Mingw-w64-public] [PATCH] Remove reference to strnlen from msvcrt.def

2013-07-19 Thread Jacek Caban
On 07/19/13 07:43, Ozkan Sezer wrote: > On Fri, Jul 19, 2013 at 4:16 AM, Kai Tietz wrote: >> I am not able your patch the next two weeks. If Jacek, Ozkan, or dw >> confirm, then patch is oj for appkay. Looks good to me. Ideally, we should move that to libmsvcrt.a like some other functions, but t

Re: [Mingw-w64-public] Interlocked* patches follow-up

2013-07-19 Thread Václav Zeman
On 18 July 2013 23:54, dw wrote: > >> you are changing Interlocked*() calls to system DLL >> functions into inline functions > > This is true. If you are using x86, non-underscore versions (ie > InterlockedExchange vs _InterlockedExchange) of these 6 functions. > >> I hope this is disabled by defa

Re: [Mingw-w64-public] Not understanding SJLJ dependency tradeoffs

2013-07-19 Thread Ruben Van Boxem
2013/7/19 Alexpux > > 16.07.2013, в 0:44, Ruben Van Boxem написал(а): > > 2013/7/15 Earnie Boyd > >> On Mon, Jul 15, 2013 at 2:09 PM, Alexey Pavlov wrote: >> > 2013/7/15 Jon : >> >> On Mon, 15 Jul 2013 11:02:20 +0400 >> >> niXman wrote: >> >> >> >>> 2013/7/15 Jon: >> >>> > When I build C apps w

Re: [Mingw-w64-public] Not understanding SJLJ dependency tradeoffs

2013-07-19 Thread Alexpux
16.07.2013, в 0:44, Ruben Van Boxem написал(а): > 2013/7/15 Earnie Boyd > On Mon, Jul 15, 2013 at 2:09 PM, Alexey Pavlov wrote: > > 2013/7/15 Jon : > >> On Mon, 15 Jul 2013 11:02:20 +0400 > >> niXman wrote: > >> > >>> 2013/7/15 Jon: > >>> > When I build C apps with mingwbuilds 4.8.1-win32-sjlj,