Re: [Mingw-w64-public] runtime difference between code compiled with VS and gcc

2020-08-27 Thread Vincent Torri
On Thu, Aug 27, 2020 at 8:51 AM Vincent Torri wrote: > > On Thu, Aug 27, 2020 at 8:45 AM Ruben Van Boxem > wrote: > > > > Op do 27 aug. 2020 om 07:18 schreef Vincent Torri : > > > > > On Thu, Aug 27, 2020 at 3:24 AM Liu Hao wrote: > > > > > > > > 在 2020/8/27 上午2:06, Vincent Torri 写道: > > > > > >

Re: [Mingw-w64-public] runtime difference between code compiled with VS and gcc

2020-08-27 Thread Liu Hao
在 2020/8/27 下午1:18, Vincent Torri 写道: >> >> In 'mingw-w64-crt/crt/crtexe.c' , `argv` is initialized by the function >> `__getmainargs()` which is imported from MSVCRT. VC >> uses new versions of runtime libraries so it'd be MSVCR100, MSVCR120, etc. >> There might be some differences in the >> afo

[Mingw-w64-public] Sanitizers and MinGW

2020-08-27 Thread Michael Hartmann
Dear all, I want to use LLVM (clang, clang++) as compiler on Windows in a MinGW environment together with sanitizers (ASAN and UB). I am using the MinGW distribution provided by winlibs.com which is based on MinGW-w64 7.0.0 - release 3 and comes with LLVM 10. Unfortunately, the runtime librari

Re: [Mingw-w64-public] Sanitizers and MinGW

2020-08-27 Thread Martin Storsjö
Hi, On Thu, 27 Aug 2020, Michael Hartmann wrote: I want to use LLVM (clang, clang++) as compiler on Windows in a MinGW environment together with sanitizers (ASAN and UB). I am using the MinGW distribution provided by winlibs.com which is based on MinGW-w64 7.0.0 - release 3 and comes with LLV