Registered Member
|
Hi there!
I was compiling the lib for WinCE and came across something what seems to be a bug in my eyes. I dont know if this is the right place for my question but there seems to be no actual bug dealing with WinCE. In Memory.h in aligned_malloc there is in line 207 -211 #elif defined(_MSC_VER) && (!defined(_WIN32_WCE)) result = _aligned_malloc(size, 16); #else result = handmade_aligned_malloc(size); #endif which leads to "result = handmade_aligned_malloc(size);" under WinCE. In the aligned_free (line 220) I am missing the " && (!defined(_WIN32_WCE))" in line 230 which leads then to "_aligned_free(ptr);" which is not defined under WinCE. The same applies to aligned_realloc (line242). Adding && (!defined(_WIN32_WCE)) to the appropriate lines solves the compile issues. Can someone confirm this as a bug? Regards Frank |
Moderator
|
You're right, fixed:
https://bitbucket.org/eigen/eigen/commits/127a7d3346d9/ changeset: 127a7d3346d9 user: ggael date: 2013-02-13 19:09:31 summary: Fix bug in aligned_free with windows CE https://bitbucket.org/eigen/eigen/commits/86fa05446156/ changeset: 86fa05446156 branch: 3.1 user: ggael date: 2013-02-13 19:09:31 summary: Fix bug in aligned_free with windows CE (transplanted from 127a7d3346d98130bc03f3d1d44ac95c9df0e86b) |
Registered Member
|
Thanks ggael. When we will will have the next official release?
Regards Frank |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]