On 7/21/20 2:43 PM, Jeffrey Walton wrote:
Eventually I hope even Microsoft will figure out how to do aligned allocation, and even if my hope is dashed that's OK, our code will still work.I believe Redmond has _aligned_malloc.
Unfortunately it requires that the storage be freed via _aligned_free (which is basically what the newly-introduced Gnulib module does). It's better to return a pointer that you can pass to plain 'free'.