Problems with recent aligned_alloc/free changes under MinGW...

This forum is about all development around libVLC.
oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

Problems with recent aligned_alloc/free changes under MinGW...

Postby oviano » 20 Jun 2017 21:26

Two huge problems:

1. aligned_alloc doesn't work when compiling VLC x64 with minGW. At least in my dev environment, which has been fine until now.

2. if I add code to the bottom of aligned_alloc to call __mingw_aligned_malloc(size, align), which was what vlc_memalign was previously doing in my environment then this is no good because it is not compatible with calling free() later, it needs to be __mingw_aligned_free.

Maybe this is why the windows nightly is currently broken (https://forum.videolan.org/viewtopic.php?f=14&t=139188)

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 19 guests