Re: [Mingw-w64-public] [PATCH 2/2] headers: Don't redirect _mm_malloc to _aligned_malloc

2020-12-04 Thread Liu Hao
在 2020/12/4 下午3:44, Martin Storsjö 写道: > Instead just remove the _mm_malloc redefinition and include the > compiler's mm_malloc.h header. This makes sure that regardless of > header include order, calls to _aligned_malloc and _mm_malloc will > always end up to the same function, avoiding risks of m

Re: [Mingw-w64-public] [PATCH 2/2] headers: Don't redirect _mm_malloc to _aligned_malloc

2020-12-04 Thread Martin Storsjö
On Fri, 4 Dec 2020, Ozkan Sezer wrote: On 12/4/20, Martin Storsjö wrote: The headers have a number of brittle workarounds, all trying to make the "#define _mm_malloc _aligned_malloc" redirect in malloc.h work properly. Is this https://sourceforge.net/p/mingw-w64/bugs/192/ (after 10 years) ?

Re: [Mingw-w64-public] [PATCH 2/2] headers: Don't redirect _mm_malloc to _aligned_malloc

2020-12-04 Thread Ozkan Sezer
On 12/4/20, Martin Storsjö wrote: > The headers have a number of brittle workarounds, all trying to make > the "#define _mm_malloc _aligned_malloc" redirect in malloc.h work > properly. Is this https://sourceforge.net/p/mingw-w64/bugs/192/ (after 10 years) ? > That define is problematic, because