Re: [Mingw-w64-public] [PATCH] Add Microsoft OLE DB driver for SQL server

2019-03-04 Thread Ruslan Garipov
> See the following code: > (... trimmed ...) Hao, thanks for explanations. Now I understand everything. But please allow me to make some notes. > struct foo > { > struct bar > { > char one; > }; > char two; > }; > ... > // This prints 2 when compiled as C, b

Re: [Mingw-w64-public] [PATCH] make some file APIs visible to Windows Store apps

2019-03-04 Thread Liu Hao
在 2019/3/4 22:23, Steve Lhomme 写道: > This patch just moves some functions to be available on desktop AND > winstore apps. It may be simpler to remove the #if since they are > available everywhere. > > I'm not too sure wheather WINSTORECOMPATimplies compiling them in the > winstorecompat library. >

Re: [Mingw-w64-public] [PATCH] ctime inline wrapper is also needed for msvcrt 0x1200

2019-03-04 Thread Liu Hao
在 2019/3/3 21:48, Johannes Pfau 写道: > When building GCC for msvcrt120, there's a undefined reference to > ctime. It needs to be defined as a wrapper for msvcrt120 as well. > The if condition is slightly complex, but I do not know if I can > modify the if !defined(__CRT__NO_INLINE) || __MSVCRT_VERSI

Re: [Mingw-w64-public] [PATCH] Also provide _utime32 inline definition for 32 bit systems

2019-03-04 Thread Liu Hao
在 2019/3/3 21:48, Johannes Pfau 写道: > When bootstrapping GCC with msvcrt120 for 32 bit windows, the build > fails as _utime is missing. Define in the same way as for 64 bit systems. > > Best regards, > Johannes > > --- This patch looks good. Pushed. Thanks. -- Best regards, LH_Mouse signat

Re: [Mingw-w64-public] [PATCH] ctime inline wrapper is also needed for msvcrt 0x1200

2019-03-04 Thread Jacek Caban
Hi Johannes, On 3/3/19 2:48 PM, Johannes Pfau wrote: When building GCC for msvcrt120, there's a undefined reference to ctime. It needs to be defined as a wrapper for msvcrt120 as well. The if condition is slightly complex, but I do not know if I can modify the if !defined(__CRT__NO_INLINE) || __

Re: [Mingw-w64-public] [PATCH] make some file APIs visible to Windows Store apps

2019-03-04 Thread Steve Lhomme
This patch just moves some functions to be available on desktop AND winstore apps. It may be simpler to remove the #if since they are available everywhere. I'm not too sure wheather WINSTORECOMPATimplies compiling them in the winstorecompat library. On 3/4/2019 2:49 PM, Steve Lhomme wrote:

[Mingw-w64-public] [PATCH] make some file APIs visible to Windows Store apps

2019-03-04 Thread Steve Lhomme
--- mingw-w64-headers/include/fileapi.h | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/mingw-w64-headers/include/fileapi.h b/mingw-w64-headers/include/fileapi.h index eb7ccc9a..fafd6fc5 100644 --- a/mingw-w64-headers/include/fileapi.h +++ b/mingw-w64-headers