Re: Assert in test-aligned-malloc.c

2020-10-25 Thread Bruno Haible
Hi Gisle, > On Windows/MSVC, I get an abort() on line 85: > >ASSERT (((uintptr_t) aligned16_blocks[i] % 16) == 0); Works fine for me, with MSVC 14, in all possible combinations (32 bit and 64 bit, with and without -MD). > m4/malloc-align.m4 indicates that MALLOC_ALIGN should > be 8 or 16.

Assert in test-aligned-malloc.c

2020-10-19 Thread Gisle Vanem
On Windows/MSVC, I get an abort() on line 85: ASSERT (((uintptr_t) aligned16_blocks[i] % 16) == 0); m4/malloc-align.m4 indicates that MALLOC_ALIGN should be 8 or 16. But all (?) Windows targets do have the '_aligned_malloc()' [1] function which is found nowhere. So patching like this, test-al