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

2019-03-03 Thread Liu Hao
在 2019/3/3 0:35, Ruslan Garipov 写道: >>> Nifty :-) Actually I've believed that **declaration** of nested >>> structures is just a declaration, and no code/data will be generated >>> for that. But it turns out that I was wrong. >> >> This is an important difference between C and C++. > > I'm sorry

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

2019-03-03 Thread 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_VERSION__ >= 0x1400 block instead: This would als

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

2019-03-03 Thread 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 --- mingw-w64-headers/crt/sys/utime.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mingw-w64-he