Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-08 Thread Nakai Yuta
Storsjö<mailto:mar...@martin.st> CC: JonY<mailto:jo...@users.sourceforge.net> 件名: Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll Hi Martin, On 07.09.2017 14:47, Martin Storsjö wrote: > With clang, there's no mechanism with spec files. For compiling, it's >

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-08 Thread Martin Storsjö
Hi, On Fri, 8 Sep 2017, Nakai Yuta wrote: I use this patch for gcc. https://raw.githubusercontent.com/nak5124/build_env/master/gcc_build/patche s/gcc/0020-MinGW-w64-Define-__MSVCRT_VERSION__.patch   with MSYS2’s patch https://raw.githubusercontent.com/Alexpux/MINGW-packages/master/mingw-w64

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-08 Thread Martin Storsjö
On Fri, 8 Sep 2017, Jacek Caban wrote: Hi Martin, On 07.09.2017 14:47, Martin Storsjö wrote: With clang, there's no mechanism with spec files. For compiling, it's easy to add the -D__MSVCRT_VERSION__ yourself, but for linking, -lmsvcrt is hardcoded. I send this patch for that yesterday: https

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-08 Thread Jacek Caban
Hi Martin, On 07.09.2017 14:47, Martin Storsjö wrote: > With clang, there's no mechanism with spec files. For compiling, it's > easy to add the -D__MSVCRT_VERSION__ yourself, but for linking, > -lmsvcrt is hardcoded. I send this patch for that yesterday: > > https://reviews.llvm.org/D37530 (adding

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-07 Thread Martin Storsjö
On Thu, 7 Sep 2017, Martin Storsjö wrote: On Thu, 7 Sep 2017, JonY via Mingw-w64-public wrote: On 09/07/2017 10:31 AM, Martin Storsjö wrote: Hi, This is a new reroll of the full patchset. Compared to the previous version, I've fixed support for clang and improved the headers to behave clos

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-07 Thread Martin Storsjö
On Thu, 7 Sep 2017, JonY via Mingw-w64-public wrote: On 09/07/2017 10:31 AM, Martin Storsjö wrote: Hi, This is a new reroll of the full patchset. Compared to the previous version, I've fixed support for clang and improved the headers to behave closer to how MSVC does (have the standard snprint

Re: [Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-07 Thread JonY via Mingw-w64-public
On 09/07/2017 10:31 AM, Martin Storsjö wrote: > Hi, > > This is a new reroll of the full patchset. Compared to the previous version, > I've fixed support for clang and improved the headers to behave closer to how > MSVC does (have the standard snprintf work as C99 standard snprintf should, > but k

[Mingw-w64-public] [PATCHv3 0/3] Initial support for ucrtbase.dll

2017-09-07 Thread Martin Storsjö
Hi, This is a new reroll of the full patchset. Compared to the previous version, I've fixed support for clang and improved the headers to behave closer to how MSVC does (have the standard snprintf work as C99 standard snprintf should, but keeping the old nonstandard _snprintf as it was), and made